VinylFox / ExtJS.ux.GMapPanel

An ExtJS Panel that displays a Google Map using the Google Maps API
http://www.vinylfox.com
64 stars 35 forks source link

(place.lat(),place.lng()) instead of (place.xa,place.za) #5

Closed tec closed 13 years ago

tec commented 13 years ago

In addAddressToMap you use:

var place = response[0].geometry.location; point = new google.maps.LatLng(place.xa,place.za);

This did not work for me. When debugging place had the values place.Ea place.Fa instead. However it is possible to just use lat() and lng() functions. This looks a bit more stable to me. Or is there another reaso I missed?

Thanks for providing this nice Ext Component!

VinylFox commented 13 years ago

sorry for the delay on closing this out, but I have made the change as suggested...i forget when :)

tec commented 13 years ago

Cool, thanks!