Hi,
I'm just trying to do something pretty simple. I am grabbing a bunch
of locations from a database and placing them on a map. One of the
locations is a reference point (eg: a postal or zip code). I'd like
the marker for the reference location to be different than the others.
I notice that by default I get a little red placemark marker for my
locations. Is there a way to just tell the marker to be a different
color?
I can see the markers are being placed in my documents like this:
marker = new google.maps.Marker(new google.maps.LatLng
(43.6618,-79.3798));google.maps.Event.addListener
(marker,"click",function(){this.openInfoWindowHtml('<b>Maple Leaf
Gardens</b><br/>\n60 Carlton St.<br/>\nToronto, ON<br/>
\nCanada')});map.addOverlay(marker);
I'd just like to get an idea of how that code would look different in
order to declare a marker a different color. I'm actually not
outputting the Google API code directly, I'm using a plugin.
Btw, I did a search on this topic and the only similar post I found
was about 2 years old and the API objects have changed a lot since
then.
Thanks,
Steve
--
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-api?hl=en.