Force Marker to 'top position'.

New home Forums Pro Add-on Force Marker to 'top position'.

Tagged: 

This topic contains 0 replies, has 1 voice, and was last updated by  rob.fedarm 6 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #49754

    rob.fedarm
    Member

    I wonder if someone might could help, I have several markers on a global map. (fsaap.com) We have a main location with a custom marker, but it’s hidden by all the surrounding google style pin markers. I’d like it to be forced to the front so its easily seen.

    I thought maybe I could just add it as the last marker, but it doesn’t seem to be ID based.

    Attached a capture, you can see the google markers hiding the black bit behind them.

    Attachments:
    You must be logged in to view attached files.
    #49757

    SupportTeam
    Moderator

    Hi there,

    Thank you so much for getting in touch with us.

    Please try the following JavaScript in Maps -> Settings -> Advanced in the Custom JS field, this should order the z-index of the markers by their IDs:

    https://gist.github.com/andtrev/ae78e7bc85c3a77a64f5d195636222f4

    Thanks so much,

    Kind Regards,
    Trevor Anderson

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.