Google Maps V3 drag map with right mouse button?

In a regular map, if you left-click anywhere and drag, pan the map.

My question is, can you swap the left and right buttons for panning the map? That is, left clicking and dragging does nothing, while panning occurs when right clicking and dragging?

Perhaps there is a JavaScript hacker outside of Google Maps to accomplish this?

+3


source to share


1 answer


Most other sites solve this by using different ways of using the map. For example, when you click the "draw" button, you enter "draw mode", which simply disables some of the Google Maps functionality, such as drag and drop and enable drawing functionality.



What I can think of it will work. Using the right mouse button to draw seems to be wrong, and most users would probably agree that I'm afraid.

+5


source







All Articles