1. To create a new query, fill in the below details in the dialogue window. Click continue.
Query name: The name that will appear at the top of your query in the popup panel.
Layer: This drop-down lists the layers registered as services in LocalMaps. Select the layer you would like to display information from.
2. Select the fields you wish to display in the feature query.
3. Reorder how the fields are presented in the popup by clicking the dotted icon and dragging the field to a new position.
4. Hyperlinks can be added to a field by checking the Create hyperlink checkbox
If the field contains a hyperlink, eg the value of the field is https://www.myawesomesite.com then simply enter the fieldname textbox between two $.
E.g if you have a field called link in the database, then you would enter $link$ in the hyperlink textbox.
The alias then becomes the name of the link, so if the alias is Click Me, then this would appear as the text which when clicked would send me to https://www.awesomesite.com. Eg Click Me
If you want to use the value from the field as part of a url, then enter the url in to the textbox, but replace the part where the value should be with the fieldname between two $.
4. Click Save. This will then be added to the main table.
Assign to a map
Once created, spatial feature queries must be assigned to a layer. This will allow the information to be displayed in the layers popup. To see how to add a feature feature to a layer in your map, head toConfigure Widgets.