VinylFox/ExtJS.ux.GMapPanel — Issue #10: SetCenter with lat, long does not bind listeners
Author: dedalo
Created: 2012-01-05 09:38:06+00:00
State: open

If you use setCenter with geoCodeAddr, the call to addMarker is

this.geoCodeLookup(this.setCenter.geoCodeAddr, this.setCenter.marker, false, true, this.setCenter.listeners);

but if you use lat and long

this.addMarker(point, this.setCenter.marker, this.setCenter.marker.clear); not passing the listeners...

that call should be:

this.addMarker(point, this.setCenter.marker, this.setCenter.marker.clear, true, this.setCenter.listeners);