🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

Notice how I can pass a SVG data-uri as the icon image for a google maps marker & change its content via js. This way we retain all the behaviour for default maker but with our custom pin! Only real caveat to this technique is you have to style and position your label in the svg

Google Map

See the Pen by TheMarufm (@TheMarufm) on CodePen.


This awesome script developed by TheMarufm. Visit their official repository for more information and follow for future updates.

You May Also Like