Configure Maps
Map Widgets
There are 16 widgets available with a base LocalMaps installation (see LocalMaps User Guide for details on each). This section allows you to configure which widgets should and should not appear in the map. By default, all widgets are enabled for a map. To disable a widget for a specific map, simply click on the widget you wish to disable. The widget icon will turn grey. Should you wish to include the widget in the webmap again, clicking on the widget icon will enable it once more. The widget icon will appear bold again.
You also have the option to open a specific widget automatically when an viewer starts. To enable this feature, click the Open this widget automatically when the app starts button on the widget, which turns it bright green. To reorder how the widgets appear in the map toolbar, click on the move icon then drag and drop widget into another position.
Additional Configuration
Select widget
The select widget also includes additional options to Show results in Attribute table after the selection, define what layers will show in the widget when it is opened and from those, what layers will be selectable to the user by default. To set these:
- Click the Configure Icon on the Select widget.
2. Tick to Show Attribute Table after selection if desired. By default, this will not be ticked and results will how in the side popup panel.
3. Tick layers under Show in Select to make these available in the Select widget. Those not ticked will not be available.
4. For those layers elected in the above step, tick what ones will be Selectable by default when the widget is used. Those not checked can still be made selectable, but the user will need to do this manually.
5. Hit Save.
Note that when first configured, all layers will be set to Show in Select and be Selectable by default.
Advanced Select Widget
The LocalMaps Select widget can optionally include advanced selection options. When turning this on for map, first ensure that the Select widget is enabled then check the Use Advanced Select Options box situated below the widget icons. More information on the Advanced Select tools can be found in the Select Widget help.
Configure Workflow widget
Organisations using the Geocortex Workflow 5 by Latitude Geographics have the option to run Workflows from within the LocalMaps Viewer. Geocortex Workflow 5 is a solution offering that provides an easy way to automate business processes and use them with web mapping applications - like Esri Web AppBuilder or LocalMaps.
To enable a workflow to be used in a map, ensure that the Workflow is shared to your ArcGIS Online or Portal. See the Geocortex Documentation for more specific instructions on how to build a workflow in the Designer and share it. Follow the steps below to configure your workflow.
1. Select a map from the drop down. Ensure the map contains the layer the workflow was built to run against.
2. Click the Configure Icon on the Workflow widget.
3. The Configure window lists all Workflows shared with your organisation. Select one. This populates the Workflow Source name. This can be modified if necessary.
4. If the Workflow includes parameters, click on the Parameters tab.
5. Enter the Parameter Name and Value.
6. Click Save.
7. Optionally, you click Design a new workflow to launch the Workflow Designer directly from LocalMaps.
For more detail on the widget itself see the Workflow 5 Widget help.
Assign Map Prints
The LocalMaps Print widget uses an ArcGIS Server Geoprocessing service. By default, all templates and layouts are enabled for each map. The administrator can turn the availability of different templates and layouts by ticking or unticking the relevant checkboxes for different templates. Templates and Layouts with ticked checkboxes will be available to use with the Print Widget in that map.
Note
When a new map is first added to the LocalMaps Gallery, the Print Layouts and Templates may be blank in the viewer. To enable the Print Widget for new maps, open the administrator tools, go to the Map Prints and tick a layout off and on again. Then hit save. This will initiate the tool in the viewer.
Assign Map Searches
Once a Search Source is created in LocalMaps, it can then be assigned to a specific map in the Maps & Apps section. This is done under the Search Tab. To assign a search complete the following:
1. Configure the following general details for the search widget:
- Placeholder: The placeholder text in the viewer search bar.
- Zoom scale: The extent to which the map zooms when a search is made.
- Auto navigate: Automatically zoom to the feature once a search has been conducted.
2. Select a Search from the Sources drop-down and click Add. Multiple search sources can be added to a map by selecting another and adding.
3. If you have configured default searches, then click Add Default. This will then add all default searches to the chosen map.
Assign Reports
Under the Reports tab, you can assign one or several Reports to a map in LocalMaps. A report will be available in the drop down only if the report layer is present in the map chosen. Click Add to assign it to the map.
If the map does not contain a report layer, a message will appear to check the layer is present.
Assign Feature Queries
If you have Feature queries set up in LocalMaps, you can assign them to a particular layer. This will allow the feature query to be displayed in the layers popup. To get started, ensure you have selected a map from the drop-down that contains a layer you want to surface the feature query information on. The Feature Queries tab lists all the layers in that map that have popups enabled.
1. Ensure that the layer you are adding the feature query to is registered as a datasource in LocalMaps.
2. Tick the boxes next to a feature query to add them to a layer.
- Database queries will require you to Set the fields for Layer. This is what the query will be based on e.g. Parcel ID
- Spatial queries will require you to set the Spatial Relationship. Supported relationships are Intersects, Contains, Envelope Intersects, Overlaps, Touches, Within. You can optionally Use a buffer to select features. Define buffer distance and units.
3. Hit Save to add the Feature Query to the layer.
To check that the feature query in visible in the popup, click the thumbnail for the map to launch that viewer.