Alternate Alt Tags for DrawingManager Options

118 views
Skip to first unread message

John Deck

unread,
Jan 16, 2012, 9:06:09 PM1/16/12
to google-map...@googlegroups.com
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);

Enoch Lau (Google Employee)

unread,
Jan 16, 2012, 10:01:52 PM1/16/12
to google-map...@googlegroups.com
No, this is currently not possible with DrawingManager. If this is something you'd like to see, please file a feature request so that others may star it and we can judge how many people want it too: http://code.google.com/p/gmaps-api-issues/issues/list

Enoch
Reply all
Reply to author
Forward
0 new messages