Creates an instance of APIScope.
The instance of Vue R4MP application controlled by this InstanceAPI.
This is just a shorthand for this.$iApi.$vApp
.
Helper method for extracting binary-encoded file source from a layer config.
a ramp layer config. Should be layer type that is a binary format.
Extracts fields from the first feature in the feature collection
Fetch file data from remote URL.
the URL to get the data from
the type of the file layer (csv, shape, or geoJson)
Convert GeoJSON to Esri json, a format that can be read by a feature layer constructor
{Object} a GeoJSON object
{GeoJsonOptions} any options for the transformation
feature layer constructor object
Will property convert json-based raw data (on a layer config) to a json object while respecting caching considerations.
json-compatible payload from config
Optional
caching: boolean = falseif layer is concerned about caching the payload
data as a Json object
A base class for anything requiring access to the InstanceApi and instance of Vue app controlled by it.
Export
APIScope