to make a map not moving

273 views
Skip to first unread message

orkun

unread,
Apr 30, 2013, 3:38:52 AM4/30/13
to google-map...@googlegroups.com
hello

I want my map not moving. I mean Is there any option
to make a map "undraggable" for some action.

what is the code ?

regards

Fred Janon

unread,
Apr 30, 2013, 10:35:57 AM4/30/13
to google-map...@googlegroups.com
Set the map option "draggable" to false

google.maps.MapOptions object specification

Properties

PropertiesTypeDescription
...

draggablebooleanIf false, prevents the map from being dragged. Dragging is enabled by default.
Reply all
Reply to author
Forward
0 new messages