One map with various ‘focus points’ (POI)

New home Forums Gold Add-on Pre-sale questions One map with various ‘focus points’ (POI)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #59458
    tillin
    Participant

    Hi,
    for a “city-guide like” website I would like to know if it’s possible to have one “global” map that would be visible on a number of pages, each featuring a different point of interest.
    Ideally I would like to have a tree-like access to information and adjust the map accordingly. So on a parent page visitors would first see the map with all POIs – on sub-pages the map would then only show a specific neighborhood with the related POIs. On child pages visitors would find information about each POI with the map zomed-in accordingly.
    Would this scenariou be possible with mainatining just one map instance – or would I have to provide one instance per page?
    Thanks!
    Cheers!
    t…

    #59487

    Hi there,

    Thanks for getting in touch and apologies for the delay over the weekend.

    This is possible and can be done using GET variables to control the map and to set which marker is shown.

    To do this, you can simply add the ‘?markerid=YOUR_MARKER_ID’ string the the url with the ‘YOUR_MARKER_ID’ part being the ID of the marker you want to focus on. Additionally, you can also set the zoom by adding ‘mzoom’ to the URL.
    As an example, here is a link that will focus on marker ID 83 and set the initial zoom to 12:
    http://www.yoursite.com/test-get-variables/?markerid=83&mzoom=12

    You can find more information on using GET variables here as well: https://www.wpgmaps.com/documentation/using-get-variables-to-control-your-map-linking-to-a-marker-from-another-page/

    Please let me know if this helps and works as expected for your requirements.

    Thanks again for your time.

    Best regards,
    Dylan

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