Open Map with Specific Marker Window Open

New home Forums Basic Version General queries Open Map with Specific Marker Window Open

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #35560
    atlasws
    Member

    I know it’s possible to open a map focused on a specific marker like this:

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

    Is there a way to open the map with a specific marker info window opened?

    #35567
    SupportTeam
    Moderator

    Hi there Michael,

    Thank you so much for getting in touch.

    Just to confirm, would you like only a single infoWIndow to be open, while the others remain closed?

    #35573
    atlasws
    Member

    Yes, that’s exactly what I’m trying to do.

    #35575

    Hi Michael,

    Thanks for the response.

    You can go about this by going to the map editor and editing or creating the marker you want to be open by default and then enabling the option ‘Open InfoWindow by default’ from the marker editor.

    You can also do it via the shortcode you mentioned:
    `wpgmza id=’1′ marker=’5′ zoom=’13’`

    Alternatively, this can also be done using GET variables as shown below:
    http://www.yoursite.com/?markerid=83&mzoom=12

    Please let me know if this helps.

    Kind regards,
    Dylan

    #35614
    atlasws
    Member

    That’s going to make the marker open everywhere I’m using the map. I want to be able to tell it to open one specific marker on one specific post, and keep it closed everywhere else.

    #35631

    Hi Michael,

    Thanks. For this, the shortcode option should work correctly:

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

    This will only open the marker on the post you added it on.

    Does this help?

    Kind regards,
    Dylan

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.