I need to put a button on a map built using Google Maps API v3.

I've seen this sample https://developers.google.com/maps/documentation/javascript/examples/control-custom

and that's good for me but I'd like to put an image (like this one http://www.freepngimg.com/png/15500-click-png-picture), in the button instead of the text "Center Map".

How may I modify the code sample to obtain it (sorry for the entry level question .... )?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.