How to change Gmap markers color?

Posted by user191687 on Stack Overflow See other posts from Stack Overflow or by user191687
Published on 2009-11-15T08:49:36Z Indexed on 2010/03/14 18:55 UTC
Read the original article Hit count: 252

Filed under:
|
|
|

Hi! I've a custom google map with different points:

Markers[0] = new Array(new GMarker(new GLatLng(45.0, 9.0)), "Location1", "<strong>Address Line</strong><br/>Some information");
Markers[1] = new Array(new GMarker(new GLatLng(45.0, 12.0)), "Location2", "<strong>Address Line</strong><br/>Some information");

etc.

Simply I want to change the color of the markers from the default red. I.E. the 2nd blue.

How to do this?

© Stack Overflow or respective owner

Related posts about google

Related posts about map