This topic contains 2 replies, has 2 voices, and was last updated by  kangaaa 7 years, 10 months ago.

SVG Marker instead of PNG

  • User Level

    Hey there :)

    I was able to use .SVG for my marker-clusterer. Now i was wondering if there is a way to achieve this also for the Map Pins (the Default one as well as the one you can set for each store manually).
    Could you tell me, where in the code you define the link to the map-pin and map-pin-active png? :)

    THX alot in advance!

    If anyone is looking for how to change the Marker Cluster:
    Go to wp-content / uploads / ssf-wp-uploads / addons / ssf-marker-cluster-wp / mega-superstorefinder.js

    and change the links under: /* Marker Clusterer */

    Sofia Moss
    StaffSuper ContributorUser Level

    Hi there,

    Great that you’re able to change the marker clusterer icon.

    As for standard icon, you can upload map markers via admin settings page.

    If you’re using SVG icon, you can try this method. Firstly, use the default marker

    The default marker source image is as below

    /uploads/ssf-wp-uploads/images/icons/map-pin-active.png
    /uploads/ssf-wp-uploads/images/icons/map-pin.png

    You can try to edit {plugin_folder}/ssf-wp-functions.php and search for keywords below and change to your filenames

    1. map-pin-active.png
    2. map-pin.png

    * Try to upload the svg files into the same folder i.e

    /uploads/ssf-wp-uploads/images/icons/map-pin-active.svg
    /uploads/ssf-wp-uploads/images/icons/map-pin.svg

    Detailed solutions: http://superstorefinder.net/support/knowledgebase/use-svg-map-markers/

    Cheers,
    Sofia

    User Level

    You guys are awesome fast! THX

The topic ‘SVG Marker instead of PNG’ is closed to new replies.