I suggest you ...

Add custom marker icon / graphic

There should be a way to upload a custom icon / graphic for the map marker(s). I know this is possible through the google maps API using var image = 'customimage.png';

I believe adding this functionality to the snazzymaps web interface would be incredibly useful for custom styles. OR, This functionality should at least be added to the wordpress plugin, so a custom marker can be set alongside the styled maps.

18 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    EricEric shared this idea  ·   ·  Admin →

    7 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • AlanAlan commented  · 

        can we mark some areas on the map by RANDOM colors ? for example poland by red, vietnam by gold etc.?

      • GeorgesGeorges commented  · 

        Hey guys,

        Just did this

        var customMarker = '../path/to/your/custom/icon.png';

        var marker = new google.maps.Marker({
        position: new google.maps.LatLng(-36.8705484, 174.7435102),
        icon: customMarker,
        map: map,
        title: 'yo'
        });

        working pretty fine

      • Adam KroghAdminAdam Krogh (Admin, SnazzyMaps) commented  · 

        Hi,

        We would really like to add something to make it easier for people to add markers to the map. We will be looking into some solutions in the future but if anyone has any suggestions, please comment here.

        Thanks!

      • NSNS commented  · 

        Hi! Have there been any updates to this?

      • MelkiadesMelkiades commented  · 

        Hi there,

        Has this been addressed? I find it a bit odd that your logo is a marker but we can't use them on maps.

        Regards

      • EricEric commented  · 

        I understand that. In my situation, I have maps that are automatically created for each event on my website (usually 70 - 100 or so at a time). So the snazzymaps plugin is great b/c it will automatically add the styling to all those maps. The icing on the cake would be a custom marker.

        Most of the plugins that allow for a custom marker, require each individual map to be created manually, versus automatically applying styles to maps that are already created. At least that is what I have found so far.

        Anyhow, I thought it would be a cool feature. Another possibility would be if a developer with an API key was able to edit the javascript array that get's created for the map styles. Then we could just insert a few more lines of code to add the custom marker ourselves.

      Feedback and Knowledge Base