It seems like I have to assign an hosted image url to MarkerImage object to create custom-icons. Is there a way to allow the user to pick a color to fill in this image?
A:
We share the same question! I'm trying to find a way to do it... I'm migrating from old V2 API, after some hours of searching I couldn't find a way to change the color of the marker overlay.
Pedro Gil
2010-09-10 12:39:23
+1
A:
Look for styled markers in the http://code.google.com/p/google-maps-utility-library-v3/wiki/Libraries this looks like it could help ...
I would also look into generating the images on the fly with canvas and then producing a data url.
var dataURL = canvas.toDataURL("image/png");
Tobi Oetiker
2010-09-12 21:05:39
Thank you @Oetiker
2010-10-29 17:39:01
+1
A:
Try using the google charts api to generate markers. You can choose the colour.
http://code.google.com/apis/chart/docs/gallery/dynamic_icons.html#pins
broady
2010-10-11 15:49:03