PHP Classes

Bug in function addMarkerByAddress

Recommend this page to a friend!

      Simple GMap API  >  All threads  >  Bug in function addMarkerByAddress  >  (Un) Subscribe thread alerts  
Subject:Bug in function addMarkerByAddress
Summary:Fix of bug
Messages:2
Author:Jaroslav
Date:2010-11-02 10:56:24
Update:2010-11-03 16:23:25
 

  1. Bug in function addMarkerByAddress   Reply   Report abuse  
Picture of Jaroslav Jaroslav - 2010-11-02 10:56:24
Hi,
thanks for your nice class.
I found and fixed bug in function addMarkerByAddress:

bug - $this->adjustCenterCoords($lat, $lng);
because $lat and $lng are not defined

fix - $this->adjustCenterCoords($result['lat'], $result['lng']);

  2. Re: Bug in function addMarkerByAddress   Reply   Report abuse  
Picture of Heiko Holtkamp Heiko Holtkamp - 2010-11-03 16:23:31 - In reply to message 1 from Jaroslav
Many thanks Jaroslav,

I've fixed the bug in the source code and uploaded a new version of the class (also with some new extensions).

Cheers


 
For more information send a message to info at phpclasses dot org.