Strangely enough there seems to be no direct support for controlling marker color in the Google Maps Javascript API.
There are of-course various projects extending the API which provide support. One is google-maps-utility-library-v3's StyledMarker which can be integrated to the demo you referred to as follows:
Add the library to your project:
Change the script embedded in the model as follows:
I Hope this provides you with the basics you need.
Regards,
David
To use the full functionality of this web site, JavaScript needs to be turned on.
For best results, use the Firefox browser..
Copyright © 2003-2017 - Tersus Software Ltd., All rights reserved. Terms of Use License Graphic design by EmaraDesign