What is Google Maps Markers
Well I was pretty annoyed that while working with Google Maps, everytime you need a marker of a different color fill, different color stroke or a different label you have to go in Photoshop to make a new image. Now there exist some solutions on the web to do so programaticaly, but they are all complicated or they required you download something.
Now this website provide a simple API to generate a majority of the markers / icon you might need without having to download something or put a file on your server.
How does it work
Fill ColorIf you just want the usual Google Marker but with a different color, here is how you do it.
As the source of you're image use the following url:
Where COLOR is the color you want as a RGB hexadecimal number. Example :
http://www.googlemapsmarkers.com/v1/009900/ will give
Label and Fill ColorIf you want add a Label to your marker and change the color here is the url you would use as source
Where LABEL is the text you want on your marker (gives better results with just one letter or number) and COLOR is your color:
http://www.googlemapsmarkers.com/v1/A/0099FF/ will give
Label, Fill Color, Stroke Color and Label ColorThis is the most complicated option but it is still pretty easy to do, you just add two parameters to the url.
http://www.googlemapsmarkers.com/v1/LABEL/FILL COLOR/LABEL COLOR/STROKE COLOR/
Here is an example: http://www.googlemapsmarkers.com/v1/A/0099FF/FFFFFF/FF0000/ will give
If you have any questions or comments, just leave them below: