• Resolved (lostinbits)

    (@lostinbits)


    Hi Joe,

    I was wondering if it would be possible to change the color a the marker in the map editor screen. I am making a lot of sub-maps with different point and i would like to have every sub-map a different color marker. For sure i can make many different markers in the marker setting, but perhaps there is a shorter way.

    Thanks for your time!

Viewing 1 replies (of 1 total)
  • Plugin Author Joe

    (@morehawes)

    Hi @lostinbits,

    Thanks for reaching out… an interesting question. At the moment the only way to change these colours is through the Waymark Settings > Marker Types as you mentioned.

    I like the idea of adding the ability to specify colours for individual Overlays, however this would be quite a bit of work to implement. I’ll add it to the list and I will have a think about how this could be done.

    If you are interested, the current beta of the plugin includes some changes to Markers, including the ability to style them using CSS. With the beta activated, Markers can be styled using the following CSS:

    .waymark-marker .waymark-marker-background {
      background-color: red !important;
    }
    .waymark-marker .waymark-marker-icon {
      color: white !important;
    }

    Using this you have a few options, for example you could create a stylesheet that specifies colours for individual Maps, like so:

    body.postid-[your_map_id] .waymark-marker .waymark-marker-background {
      background-color: blue !important;
    }

    You could also try installing a plugin that allows you to specify CSS for individual custom post types (in this case “waymark_map”).

    I hope that helps.

    Cheers,

    Joe

Viewing 1 replies (of 1 total)
  • The topic ‘Feature Request – marker color’ is closed to new replies.