website logo
Go back to WP Go Maps
⌘K
Initial Setup
WP Go Maps (v9)
πŸ‘First-time users
πŸ‘Map Features
πŸ‘Integrations
πŸ‘Importing and Exporting Data
Legacy (OIder) Layout (v9)
Frequently asked questions
Troubleshooting
Integrations
Developers
Hooks
Docs powered by
Archbee
WP Go Maps (v9)
...
Map Features
Markers

Enabling distance features

8min

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 05 Sep 2023
Did this page help you?
PREVIOUS
Marker Filtering
NEXT
Marker Gallery
Docs powered by
Archbee
TABLE OF CONTENTS
Overview
Prerequisites
Enabling Distance Display
Enabling Sort by Distance
Docs powered by
Archbee