Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

google map api v3: can I use a div instead of an image to create the custom icon?

google map api v3: can I use a div instead of an image to create the custom icon?

i want to be able to hover the marker and change the icon, ven betetr if i could use a fade fx...so how can i set a div instead of an image like it is by default?

like image 513
Francesco Avatar asked Jan 28 '11 21:01

Francesco


1 Answers

Yes, You can use Custom Overlays in place of markers:

http://code.google.com/apis/maps/documentation/javascript/overlays.html#CustomOverlays

like image 75
Vlad Gurovich Avatar answered Nov 27 '22 22:11

Vlad Gurovich