ThinkGeo.com    |     Documentation    |     Premium Support

Disable panning with right mouse

When you hold down the left or right mouse button and move the mouse over the map, the map will be panned. I want to disable the right mouse button in this regard, so that you can only pan the map while holding the left mouse button.

I have looked for this setting, but have not found it. Does it exist?

I found a different post here saying that I can write my own ExtentInteractiveOverlay and apply it as the maps ExtentOverlay - is that a good idea?

Thanks
Jonas

Hi Jonas,

Yes the post you found provide the correct solution.

Please try attached sample.

8893.zip (101.1 KB)

Regards,

Ethan