Use markers on different maps

New home Forums Basic Version General queries Use markers on different maps

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

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #23609

    Tisdesign
    Member

    Hi,

    I would like to do the following;
    Make one page with 1 map with all the possible markers (for example 100 markers)
    Then i would like to make a detail page per marker where i show the same map but then only with the selected marker visible. Is something like this possible within 1 map or do i need to create a different map for each detail page were i want to show only the selected marker?

    Hope to hear from you.

    #23621

    Dylan
    Moderator

    Hi there,

    Thank you so much for taking the time to get in touch with us, we really appreciate it.

    It is possible to focus on a specific map using the shortcode below:

    [ wpgmza id='1' marker='5' ]
    

    Where the marker represents the ID of the marker to focus on.

    This will unfortunately not hide the rest of the markers on the map.

    I hope this helps?

    #23624

    Tisdesign
    Member

    Hi Dylan,

    Thanx for the reply.
    This solution is already great.
    Would it also be possible to set the zoom level per shortcode and per page or is this defined only once in the map settings?

    Hope to hear from you.

    #23627

    Dylan
    Moderator

    Hi there,

    My pleasure, always happy to help! 🙂

    I’m glad to hear this helps. Yes it is possible to set the zoom level via the shortcode using something like this.

    
    [ wpgmza id='1' marker='5' zoom='13' ]
    

    I hope this helps?

    #23630

    Tisdesign
    Member

    Thanx!

    #23648

    Dylan
    Moderator

    Only a pleasure, have a great day! 🙂

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

You must be logged in to reply to this topic.