Disable map movement with mouse

Asked

Viewed 33 times

0

I have a page with a map mapLink, I would like to disable the option to move (drag) the map with the mouse.

inserir a descrição da imagem aqui

UPDATE

I contacted the support of mapLink, they passed me the function disableDragging(), I asked them about the documentation, and they told me that they are updating the same, that this function is not available yet.

Example:

var map = new MMap2(divIdMap);
map.disableDragging();
  • 1

    Dude, the Maplink API is pretty bad, but take a look to see if you can find what you’re looking for: Maplink API JS. If not, contact their support.

  • I’m looking at the documentation here for a while, I’ve been able to disable the zoom, thanks for the tip.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.