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

Enabling distance features

Overview

This article coversΒ enabling distance features for WP Go Maps. The following distances features can be enabled:

  • Sort by Distance
  • Show distance from location

Please see ο»Ώthis demoΒ showcasing these features working together

Prerequisites

The Following Plugin/s need to be installed and active

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

Please noteΒ that virtually all major browsers nowΒ requireΒ that your site is secured (https://) in order for the users location to be used.Β This feature will not workΒ with the users location on unsecure (http://) sites.

Enabling Distance Display

To enable the feature please navigate to:

WP Go Maps -> Maps (edit your chosen map) -> Settings -> Behaviour -> User Location

Enable the "Show distance from location?" toggle

Enable the Show distance from location toggle
Enable the Show distance from location toggle
ο»Ώ

Please remember to save your map.

Enabling this feature will show the distance to the user (or to the searched location) inside InfoWindows and in the Marker Listing (when the sort by distance feature is enabled)

Distance displayed in InfoWindow
Distance displayed in InfoWindow
ο»Ώ

Enabling Sort by Distance

To enable this setting please navigate to

WP Go Maps -> Maps (edit your chosen map) -> Settings -> Marker Listing -> General

Enabling order by Distance
Enabling order by Distance
ο»Ώ

Please remember to save your map.

Please noteΒ that if your site is unsecure (http://) or the user declines location sharing, this feature will only work once a Store Locator search has been performed.

ο»Ώ

Updated 03 Mar 2023
Did this page help you?
Yes
No
UP NEXT
Marker Gallery
Docs powered byΒ archbeeΒ 
TABLE OF CONTENTS
Overview
Prerequisites
Enabling Distance Display
Enabling Sort by Distance