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

Improve createInfoWindow anchor #9

Open dedalo opened 12 years ago

dedalo commented 12 years ago

if you pass the marker as a parameter when opening an infowindow, it position is calculated automatically AND if you later setposition() to the marker moving it, the infowindow moves with the marker.

infoWindow.open(me.getMap(),marker);

thanks