Did you know that Mapline offers several different URL variables to help you navigate your maps even faster?
If you embed maps on your website, or even if you just want to know some quick hacks that’ll wow your team, buckle up. This is about to get interesting!
First, we’ll go over which URL variables are available, then we’ll dive into how to use them.
Check it out!
Replace the # symbol with a number to automatically zoom in or out on your map. For example, adding ?zoom=8 to the end of your URL will zoom your map in to a level of 8.
The higher the number, the more zoomed in your map appears. Here are some examples of what to expect with each zoom level:
Quickly search your map by replacing address with an address of your choice. For example, adding ?search=260 S 2500 W Ste 201, Pleasant Grove, UT 84062 zoopms your map right in on Mapline’s headquarters.
Keep the spaces in your address, or the search will not work correctly. (Your browser will automatically adjust your URL to account for the spaces).
If you intend to use this variable to quickly navigate your maps, it’s a good idea to include each location’s full address in your pin bubbles.
Similar to the address search, replace city,state with a city and state of your choice to pan the map to that city on your map. For example, you could use ?search=PleasantGrove,UT or ?search=NewYork,NY.
This variable will not, however, zoom in on the city you specify unless you add the zoom URL variable.
A finished URL might look something like this: https://app.mapline.com/map/map_12345678?search=PleasantGrove,UT?zoom=15
This variable works with and without spaces.
This URL variable places a coverage circle around your desired location in seconds! Be sure to type in the ?search=address variable first.
Next, replace #mi/km with the diameter of your radius circle in miles or kilometers.
A finished URL might look something like this:app.mapline.com/map/map_12345678?search=260%20S%202500%20W%20Ste%20201,%20Pleasant%20Grove,%20UT%2084062?coveragecircle=20mi
This variable does not work with spaces, and the address must precede the coverage circle specifications.
You might be reading this and wondering how to best apply these shortcuts.
Here are some fantastic ways to leverage URL variables on your maps!
Do you embed maps on your website? URL variables empower you to add a store locator to your website, allow users to search by city and state, or ensure that your maps always load zoomed in on the right location(s).
This is a powerful way to ensure that the maps you share are incredibly useful to your users.
URL variables are incredibly useful for quick, temporary, ad-hoc visualizations. So, the next time your CEO asks whether your distribution center services any stores more than 50 miles away, just use the coverage circles variable to get an answer in seconds.
What a cool shortcut!
Did you know URL variables can also be leveraged in Mapline’s Filters?
Just set up your filter as usual, but for the value field, click the URL tab and enter the URL variable you’d like to filter by.
This is a fantastic way to ensure your maps always load exactly how you need them!