This is a requestor for local collections of data. These local collections may originate from inlined code or from datasources other than a MapDotNet REST feature service.
Returns whether or not caching is enabled for vector-based requestors.
boolean
Whether or not caching is enabled.
Gets format of data returned by REST service.
string
Data format returned by the REST service.
Gets formatted endpoint using the supplied quadtile and a descriptor.
Quadtile for which to fetch the endpoint.
string
The requested URI string.
Determines whether or not this requestor returns bitmap images.
boolean
Whether or not this requestor returns bitmap images.
??? Gets the additional
Array<{}>
Gets data locally if the requestor supports it.
Quadtile for which to fetch the endpoint.
string
The requested JSON data.
Gets maximum available zoom level content that can be retrieved from the endpoint this requestor consumes.
number
The maximum available zoom level for this requestor.
Returns your source data parsed into theformat { Shapes: [], Values: [], Bounds: [] } This may be useful for doing client-side queries on the local data where all of the WKT has been parsed into points and geometry. There is also a bounds collection to do a quick spatial check for complex polygons.
{ Shapes: any[]; Values: any[]; Bounds: 'mapsjs'.envelope[]; }
Parsed data object in the form {Shapes, Values, Bounds}.
Gets the unparsed source data.
Array<{}>
Array of source data objects.
Gets requestor timeout in miliseconds.
number
Requestor timeout in miliseconds.
Determines whether or not this requestor uses an endpoint rather than local data.
boolean
Whether or not this requestor gets data from an endpoint.
Creates unique sha1 hash from this requestor and the supplied descriptor. This is useful in creating a unique key or folder for tile caching. This combined with a tile's quad-key can efficiently and uniquely identify a particular tile.
string
The generated sha1 hash.
Sets whether or not caching is enabled for vector-beased requestors.
Sets format of data that should be returned by REST service.
Name of the data format the REST service should use.
Sets whether this requestor should return bitmap images.
Whether or not this requestor should return bitmap images.
Set any key/value pairs that are attached to the ajax call (such as username and password)
Sets maximum available zoom level content that can be retrieved from the endpoint this requestor consumes. Note: This defaults to the projection's maximum available zoom level, which is 20 in spherical mercator.
The maximum available zoom level for this requestor.
Sets source data.
An array of JavaScript objects to use as the requestor source data.
Sets requestor timeout in miliseconds.
Desired requestor timeout in miliseconds.
Sets whether or not this requestor uses an endpoint rather than local data.