Docs
Integrations

Map Settings

Lunr's map feature uses document metadata and geospatial data to provide location-based document discovery, while allowing administrators to configure map display settings, default views, document layers, and external GIS integrations such as Esri feature services.

Overview

The Lunr map feature provides a visual, geospatial way to locate and interact with documents, enhancing traditional search with location-based context.

The map view displays documents that have been tagged with GPS coordinates, allowing users to explore document locations directly on an interactive map. Documents appear as clustered markers that expand into individual points as users zoom in, making it easy to navigate large volumes of geographically distributed data.

Users can further refine results using location search, metadata filters, or polygon selection to isolate documents within a specific area.

The feature also supports integration with external geospatial layers, such as Esri feature services and KML data, enabling organisations to overlay asset information and retrieve documents in context, such as selecting a physical asset on the map to access associated drawings. Esri feature services are configured on this page, below; KML overlays are a map viewing feature rather than a setting configured here. This makes the map feature particularly valuable for field-based workflows, where fast, intuitive access to location-specific documents improves efficiency and reduces the risk of selecting incorrect information.

General

Configure the options for displaying the map to users.

Map Settings page showing the General fields from Starting Coordinates to Geo-boundary, the Asset Shapes section, and the Document Layers section with Add Layers From Lookup List and Add Layer

Starting Coordinates

Enter the starting coordinates in longitude, latitude format. This coordinate will be the centre of your map.

Zoom Level

Zoom Level is the default amount that the map is zoomed in from the satellite image. This is a range from 1 to 20, with 1 being the furthest away and 20 being almost close enough to count the blades of grass on the football field.

Country Code

Country Code narrows location search to a specific country, entered as its two-letter code, for example au for Australia.

Region Name

Region Name further narrows location search to a named region within that country, for example New South Wales.

Geo-boundary

Geo-boundary sets a bounding polygon that further restricts location search to within that area. Enter it as west, south, east, north coordinates, for example 139.965, -38.03, 155.258, -27.839.

Asset Shapes

Draws the stored linework and polygons for documents in view on the map search page, beneath the existing document pins.

Select the Show asset shapes on map search option to draw shapes on the map. It is disabled by default; while disabled, the map behaves exactly as it always has.

Shape Zoom Level

Shape Zoom Level is the zoom level a user must reach before shapes are requested. Shapes are only requested once a user has zoomed in past this level, and the server limits how many documents it will draw geometry for, so a high value keeps requests light on a busy map.

Document Layers

Document Layers sets the layers listed in the Documents section of the map search Layers panel. Each layer shows the located documents that carry particular tag values, such as a document category, in its own colour. The built-in All Documents layer shows every located document and is always listed first.

Layers can sit on their own or in named groups. Use the Move Up and Move Down arrows to set the order of layers and groups, which is the order users see in the Layers panel.

Adding a Layer

  1. Select Add Layer.
  2. Enter a Name and a Colour.
  3. Optionally enter a Group. Leave it blank to show the layer on its own.
  4. Under Tag Values, choose a tag and a value. Add more rows as needed. Values of the same tag match any of them, and values of different tags must all match.
  5. Select Add Layer.

Each layer row shows its tag values. Use the Edit and Delete icons on a row to change or remove the layer, and the Rename Group icon on a group to rename it. Every layer in the group moves to the new name. A layer whose value has been removed from its lookup list is marked Not in lookup list. Edit the layer to choose a current value, or keep it if documents still carry the old value.

Adding Layers From a Lookup List

To turn the values of a lookup list into layers in one step:

  1. Select Add Layers From Lookup List.
  2. Choose the Tag. Values that already have a layer are left out.
  3. Select the values you want, or use Tick All and Clear.
  4. Optionally enter a Group for Ticked Values and select Apply To Ticked, or enter a group on each value's row.
  5. Select Add Layers.

Each new layer is given its own colour, and colours repeat after a set number of layers. Where values in a lookup list behind a layer's tag have no layer, the page shows a hint naming them. Select Add From List to add them, or Dismiss to hide the hint.

Esri

Esri feature services can be configured to display extra layers, such as boundaries, on the Lunr map.

Only public ArcGIS Online feature services are supported. Lunr validates the URL against an allow list of ArcGIS Online endpoints, services.arcgisonline.com, services.arcgis.com, and basemaps.arcgis.com; a self-hosted or on-premises ArcGIS Server is not supported, and any other URL is rejected.

Esri feature services make anonymous requests only. There is no field anywhere for a credential, token, or API key.

Adding a Feature Service

  1. Select New Feature Service.
  2. Enter a Name and Description, then enter the feature service's URL.
  3. Select Create.

Lunr fetches the feature service's layers immediately when you create it. If a layer fails to load during this discovery, it is silently skipped, so a service can end up with fewer layers than it actually has, with no warning shown.

A feature service's layers can never be refreshed by editing it. To pick up new or changed layers, delete the feature service and add it again; there is no other way to make Lunr recheck ArcGIS for changes.

Feature Service Details

Select a feature service from the list to open its details. Select Edit to change its Name, Description, or URL, then Save. The Active checkbox is an administrator-set switch that adds or removes the feature service from the Lunr map; it is not a live indicator of whether ArcGIS is currently reachable. Select Remove service to delete the feature service from Lunr's map.

Layers

Each layer discovered when a feature service is registered has its own display settings, which save immediately as you change them; there is no separate Save button for the layers list.

Each layer shows its ArcGIS name, the name it is shown under on the map where that differs, and whether it is Active or Inactive. Its controls sit in a row beneath it.

ControlWhat it controls
ColourThe colour markers for this layer are drawn in on the map. Defaults to #00cfc4.
Display NameA friendly name to show for the layer on the map in place of its ArcGIS name. Leave it blank to use the ArcGIS name. Two layers in the same group cannot show the same name.
GroupGroups this layer with others under a common heading in the map's Layers panel. Leave it blank to group the layer under the feature service's name. Group names keep their spaces.
Is enabledWhether the layer is drawn on the map at all.
Min ZoomThe zoom level a user must reach before this layer is drawn.
Label AttributeWhich of the layer's fields is shown as a label on the map, for example SHEET_NO.

On this page