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?
Have you registered an event listener?
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?