website logo
Go back to WP Go Maps
⌘K
Atlas Novus (v9)
πŸ‘Initial Setup
πŸ‘First-time users
πŸ‘Map Features
πŸ‘Integrations
πŸ‘Importing and Exporting Data
πŸ‘Troubleshooting
πŸ‘Frequently asked questions
Legacy (v9)
πŸ‘Initial Setup
πŸ‘First-time users
πŸ‘Map Features
πŸ‘Integrations
πŸ‘Importing and Exporting Data
πŸ‘Troubleshooting
πŸ‘Frequently asked questions
Integrations
Developers
Hooks
Docs powered byΒ archbeeΒ 
8min

Using GET variables to Control your Map

Overview

This article coversΒ Linking to a Marker from Another PageΒ with theΒ WP Go Maps Pro Add-on

Setup

Prerequisites

The Following Plugin/s need to be installed and active

  • WP Go Maps
  • WP Go Maps Pro Add-on

Identifying Destination map parameters

If you’d like to link to one of your Maps, centered on a specific Marker, from another web page you can use GET variables in a link to call and control your Map. When loaded, the map will center on that marker’s location and the zoom level will be changed if you set that variable as well. Note that the receiving page must include a Map (can be either a shortcode or a widget).Β 

Destination map page
Destination map page
ο»Ώ

To create your link you’ll need theΒ Marker IDΒ for the marker you want to be centered on the Map. You can find theΒ Marker IDΒ by opening the Map containing the Marker

WP GO Maps -> Maps (edit your chosen map) -> scroll to the bottom of the map editor

Finding the Marker ID
Finding the Marker ID
ο»Ώ

Now that you have yourΒ Marker ID, you are ready to create the link to open the Map.

Map Called with GET Variables

Usage Example

Text
|
ο»Ώ
Map display with GET variables for marker and zoom
Map display with GET variables for marker and zoom
ο»Ώ

The following GET variables can be assigned:

  • markerid: The ID of the marker. Once set, the map will automatically centre on this marker’s location and the infowindow will open.
  • mzoom: The zoom level (0 – 21). Once set, the map will zoom to this level.

Updated 03 Mar 2023
Did this page help you?
Yes
No
UP NEXT
Using your map in a widget
Docs powered byΒ archbeeΒ 
TABLE OF CONTENTS
Overview
Setup
Prerequisites
Identifying Destination map parameters
Map Called with GET Variables