Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Argument Default Description preemptiveboolean <optional>
true If
truethe UTFGrid source loads the tiles based on their "visibility". This improves the speed of response, but increases traffic. Note that if set tofalse(lazy loading), you need to passtrueasopt_requestto theforDataAtCoordinateAndResolutionmethod otherwise no data will ever be loaded.jsonpboolean <optional>
false Use JSONP with callback to load the TileJSON. Useful when the server does not support CORS..
tileJSONmodule:ol/source/TileJSON~Config <optional>
TileJSON configuration for this source. If not provided,
urlmust be configured.urlstring <optional>
TileJSON endpoint that provides the configuration for this source. Request will be made through JSONP. If not provided,
tileJSONmust be configured. -
UTFGridJSON{Object}
-
Properties:
Name Type Argument Description gridArray.<string> The grid.
keysArray.<string> The keys.
dataObject.<string, Object> <optional>
Optional data.
OpenLayers