How to disable zoom / pan control?

Martynas Majeris -

To disable zoom control use this configuration line:

map.zoomControl.zoomControlEnabled = false;


Similarly, to disable pan control, go with this:

map.zoomControl.panControlEnabled = false;
Have more questions? Submit a request


  • Avatar
    David Vargas

    Hi, and how to disable this in the Wordpress plugin? Thanks!

  • Avatar
    Mikhail Andreev

    Disable panning on map with mouse:

    map.dragMap = false;

Powered by Zendesk