Configure Map Visualizations
You can enable the Map visualizer to display the location data for results documents. When you enable this functionality, the Find user interface includes a Map View results visualizer tab.
NOTE: The default configuration uses the IDOL fields LAT
and LON
to retrieve location information from your documents. If you want to use different fields, or multiple location field sets, you must configure them in the Find config.json
configuration file. See Change or Add Location Field Names.
To enable map visualizations
- Click the cog in the top right corner of the application, and then click Settings.
-
In the Mapping section, specify the following settings:
- Tile Server Url Template. The full Slippy Map Tilenames (SXYZ) URL for requesting a tile from an accessible tile server, with the
x
,y
, andz
coordinates and S server replaced with curly brace variables. For example,https://{s}maps.example.com/tiles/{z}/{x}/{y}.png
. - Attribution. An optional string to display in the bottom right corner of the map (for example, a copyright statement).
- Tile Server Url Template. The full Slippy Map Tilenames (SXYZ) URL for requesting a tile from an accessible tile server, with the
-
In the Results to load each time section, choose the maximum number of location points that you want to be able to render on your map view.
NOTE: Setting this to a high number makes the map slow to render.
-
Click Enable Mapping.
-
Click Save Changes, and then confirm your changes.
You can use any image file type that your browser supports.
There are many compatible tile servers available as a service over the internet, including Mapbox (https://www.mapbox.com), MapQuest (http://www.mapquest.com/), and most OpenStreetMap servers.
CAUTION: Ensure that you check the terms of use before you use these services.
You can also implement your own Tile Map Service to work with the Map Visualizer, as long as you use an accepted format for the tile names. For more information, see http://leafletjs.com/reference.html#url-template.