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.

  1. i have downloaded svg image , save in folder.
  2. i have set url icon

    icon : { url : yoururl/marker.svg' }

  3. 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

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -