Set the map option "draggable" to false https://developers.google.com/maps/documentation/javascript/reference#MapOptions google.maps.MapOptions object specificationPropertiesPropertiesType Description...
draggablebooleanIf false, prevents the map from being dragged. Dragging is enabled by default. On Tuesday, April 30, 2013 9:38:52 AM UTC+2, orkun wrote: > > 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 > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
