This is how I did it:
drawingManager.setOptions({drawingControlOptions: {drawingModes: new
Array()}});
Is that the correct way?
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js
How can I set the ooptions to an empty array? Can you give me an
example?
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this grou
http://code.google.com/apis/maps/documentation/javascript/reference.html#DrawingControlOptions
You could set the drawing modes visible on the control to be an empty
array; that way, the only control visible is the 'hand', that lets them pan
the map.
Enoch
--
You received this message because