Description

The geo:layer directive allows you to add multiple results from multiple responses to your Geo Map.

Usage

as element:
<geo:layer
       response="{string}"
       [address-field="{string}"]
       [latitude-field="{string}"]
       [longitude-field="{string}"]
       [target="{string}"]
       [url-field="{string}"]
       [url-prefix="{string}"]
       [label-field="{string}"]
       [icon="{string}"]
       [icon-field="{string}"]>
</geo:layer>

Directive info

  • This directive creates new scope.

Parameters

ParamTypeDetails
responsestringName of the response.
address-field (optional)stringThe field containing a full address to geocode to obtain latitude and longitude values. Use this or latitudeField/longitudeField, not both.
latitude-field (optional)stringThe field containing the latitude.
longitude-field (optional)stringThe field containing the longitude.
target (optional)stringSpecify the link target to use for the map pins. Can be one of ‘_blank’, ‘_parent’, ‘_self’, ‘_top’ or the name of a window. Default value is ‘_blank’.“
url-field (optional)stringThe field containing the URL to make clickable from the map marker.
url-prefix (optional)stringUse this if the URL retrieved from the URLField needs to be prefixed with a value.
label-field (optional)stringThe field containing the label to use as tooltip for the marker.
icon (optional)stringThe location of the marker image to use for this set of coordinates.
icon-field (optional)stringThe field from the response to get the icon from.