May I know a way to change the Google Map marker color via Javascript.. I am new at this and any help would be much appreciated, Thank you.
I used the following code
you can use the google chart api and generate any color with rgb code on the fly:
example: marker with #ffffd color:
http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=%E2%80%A2|ffffd
include as stated above with
var marker = new google.maps.Marker({
position: marker,
title: 'Hello World',
icon: 'http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=%E2%80%A2|ffffd'
});