AnsweredAssumed Answered

doubleclickzoom zooming but not centering

Question asked by jeff.pace on Nov 7, 2014
Latest reply on Nov 13, 2014 by AHarshe-esristaff

Using 3.11 api


Example of non -working behavior at

Manatee County GIS Mobile Server


I am having trouble with doubleclickzoom.  it zooms properly, and makes sure where you clicked is visible, but it does not center completely.  I want the click location to become the exact center of the map.


I can override the behavior


map.on("dbl-click", lang.hitch(this, function(evt){ map.centerAndZoom(evt.mapPoint, map.getLevel()+1); }));


But then all double click events (draw end, measure end, etc..) cause zoom and center events, which I do not want.


Is there anything i can do so that




actually does a true center? the Api says it should center, but it isnt


Kelly Hutchins