isuede

"map.disableDoubleClickZoom()" work correctly?

Discussion created by isuede on Nov 17, 2012
Latest reply on Jun 28, 2013 by bapfingsten
I don't want double click zoom.

so, I write down my code.

dojo.addOnLoad(init);

function init() {

    m_map = new esri.Map("map", {
        logo: false,
        slider: false
    });

    m_map.disableDoubleClickZoom();
    m_map.disableShiftDoubleClickZoom();
}


but,
when double click, zooming the map. still.

how can i disable Double Click Zoom?

Outcomes