Google Maps API 3 - Custom marker color using SVG (easy) -
i've seen lots of other questions similar. after, have tried many ways, have found solution easy implementation.
- i have downloaded svg image , save in folder.
i have set url icon
icon : { url : yoururl/marker.svg' }
open svg file (sublime text) set fill property.
<style type="text/css"> .st1{fill:#0a2b82;} </style> <ellipse class="st1" cx="23.5" cy="44.7" rx="10.4" ry="3.3"/>
Comments
Post a Comment