Skip to content

Interface: LocationsRequest ​

The location attributes of a trace (see locationsOf).

Properties ​

PropertyModifierTypeDescription
featureidkeyreadonlystringThe path of the id in a feature of geojson, e.g. 'properties.name'.
geojson?readonlyunknownThe trace's geojson: an object, or the URL of one. Read with 'geojson-id' only.
label?readonlystringWhat to call the trace in the warning about locations that match nothing.
locationmodereadonlyLocationMode-
locationsreadonlyArrayLike<unknown>The trace's locations. Results are cached by this array, so keep it between passes.

Released under the MIT License.