Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Argument Default Description preemptive
boolean <optional>
true If
true
the UTFGrid source loads the tiles based on their "visibility". This improves the speed of response, but increases traffic. Note that if set tofalse
, you need to passtrue
asopt_request
to theforDataAtCoordinateAndResolution
method otherwise no data will ever be loaded.jsonp
boolean <optional>
false Use JSONP with callback to load the TileJSON. Useful when the server does not support CORS..
tileJSON
module:ol/source/TileJSON~Config <optional>
TileJSON configuration for this source. If not provided,
url
must be configured.url
string <optional>
TileJSON endpoint that provides the configuration for this source. Request will be made through JSONP. If not provided,
tileJSON
must be configured. -
UTFGridJSON{Object}
-
Properties:
Name Type Argument Description grid
Array.<string> The grid.
keys
Array.<string> The keys.
data
Object.<string, Object> <optional>
Optional data.