ThinkGeo.com    |     Documentation    |     Premium Support

How to disable right click zoom out?

Hello,

Any body that can help on how to disable mouse click zoom? I need to popup a menu at mouse right click but I am getting map zoom out instead.

Thanks

Hi @MOHAMAD_SAIFI

Could you please make sure your question is for Desktop Edition? Because by default, our desktop edition don’t support right click to zoom out.

You can easily add right click menu like this:

ContextMenu menu = new System.Windows.Forms.ContextMenu();
menu.MenuItems.Add(new MenuItem(“test”));
winformsMap1.ContextMenu = menu;

Regards,

Don