Hello,
I'm overriding the DrawingManager features and wish to change the "alt"
text that appears when you hover the mouse over the circle/line/polygon in
the Drawing Manager. I don't see an option to alter this in the
documentation. For example i would expect to do something like the
following (see circleOptions):
var drawingManager = new google.maps.drawing.DrawingManager({
> drawingMode: google.maps.drawing.OverlayType.MARKER,
> drawingControl: true,
> drawingControlOptions: {
> position: google.maps.ControlPosition.TOP_CENTER,
> drawingModes: [google.maps.drawing.OverlayType.MARKER, google.maps.
> drawing.OverlayType.CIRCLE]
> },
> markerOptions: {
> icon: new google.maps.MarkerImage('http://www.example.com/icon.png')
> },
> circleOptions: {
> alt: 'Some new action based on Circle',
> fillColor: '#ffff00',
> fillOpacity: 1,
> strokeWeight: 5,
> clickable: false,
> zIndex: 1,
> editable: true
> }
> });
> drawingManager.setMap(map);
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-maps-js-api-v3/-/X9PhhOQvlqMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.