Green
Green

Reputation: 30815

How to set custom title hint on drawingControlOptions buttons?

When I do mouseover on drawingControl buttons a default title hint text appears, e.g. "Draw a shape", "Stop drawing", etc. You can see those buttons here http://googlegeodevelopers.blogspot.com/2011/11/make-your-map-interactive-with-shape.html

How to change that text to some custom text?

Upvotes: 0

Views: 164

Answers (1)

AlexB
AlexB

Reputation: 7416

Have you see this answer ?

With a little bit of jQuery, you can select your image and change attributes, like its href or its text.
Just select .gmnoprint class and, in your case, change the title attribute

Upvotes: 1

Related Questions