Help to center geofence editing map on current main map

jmdiazlr7 years ago

I have been trying to do this change myself with no success. I would like to center the geofence editing map the same that the main map as a better behavior to the user.

I reviewed the code of MapPicketDialogController.js and related... changed GeofenceDialogController to extend this... but do not know how to call getMapState from MapPicketDialogController and receive the answer... I tried to call this.fireEvent('mapstaterequest') in GeofeceMap.initMap(), but nothing happened. I am not versed on extjs... can any body help me pleas?

Anton Tananaev7 years ago

Have you registered an event listener?