Find My Nearest Tool

The Find My Nearest Tool allows users quickly locate the nearest features to them from various map layers.

In the example below, the tool has been configured to allow users to locate their nearest:

  • EV charging points
  • Primary and secondary schools
  • Hospitals

The search centre initially defaults to the map centre and is shown as an orange marker. The search centre can be moved at any time by dragging its marker or left-clicking on the map with the Find My Nearest tool activated.

../_images/find_my_nearest_1.png

When the user selects a layer (e.g. Primary education centres), Mappin shows the closest features on that layer to the search centre, both on the map and as a table (with their straight-line distance). The attributes displayed in search results can be configured in the same way used by the Search tool. Hovering over a search result highlights its location on the map and clicking a result will zoom to that feature and show its attributes using the Feature Info tool.

../_images/find_my_nearest_2.png

Configuration

The Find My Nearest tool has the following settings.

../_images/find_my_nearest_settings.png

Zoom

If Mappin cannot zoom to the extent of all results for some reason (for example if the maximum zoom settings defined do not allow this) then this zoom level will be used as a fall-back.

Limit

The number of results to display per page of results.

Legend

When enabled, displays layers’ legend icons in the Find My Nearest panel.

Layers

Specified which layers should be searchable with the Find My Nearest tool.