[Google Maps API v3] Re: How to disable drawing tools

2012-01-26 Thread JML
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

[Google Maps API v3] Re: How to disable drawing tools

2012-01-26 Thread JML
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

[Google Maps API v3] Re: How to disable drawing tools

2012-01-24 Thread Enoch Lau (Google Employee)
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