marker-query
Version compatibility
marker-query
was introduced in version 4.82.0 of the JourneyApps Runtime.
Overview
marker-query
is almost identical to marker. It differs in that the markers can be populated on the map using a query.
Basic Example
Below is an example of using capture-coordinates
along with a marker-query
.
schema.xml
main.view.xml
main.js
Standard Attributes
bind
bind
See marker > bind.
label
label
See marker > label.
latitude
and longitude
latitude
and longitude
See marker > latitude and longitude.
query
query
Required
Type: location
Default: unset
A query or array of objects containing a location
variable or field. Use latitude
and longitude
from the location
variable or field to specify a marker's location.
Advanced Attributes
color
See marker > color
icon
See marker > icon
icon-color
on-press
Last updated