sets the locale and reloads the layer the if the URL is a locale aware Object.
sets the locale and clears the Cache if the URL is a locale aware Object.
use setTileCacheSize to change
Staticclassreturns the features intersecting this coordinate. Depending on the resolution a buffer around the coordinate is requested. The Buffer has the size of the resolution.
in mercator
in m per pixel
Optionalheaders: Record<string, string>optional request headers to be sent with the server request
Retrieves all features which intersect the given extent. Will load all intersecting tiles.
Optionallevel: numberOptional level to request. Will use highest level if omitted. If the provided level is not a base level, will use the closest match.
Optionalheaders: Record<string, string>Optional request headers to be sent with the server request
returns features for the requested Tile.
if the level is not a base level, will use the closest match
Optionalheaders: Record<string, string>optional request headers to be sent with the server request
Public API to load features from a source (for example a rest API, or WfsLayer)
Can be used to write custom TileProvider to provide an interface to a "feature Source" Can also be used to manipulate the features, for example setting an ID Prefix or filter the features.
Optionalheaders: Record<string, string>to request Geojson from a rest API:
const rectangle = this.tilingScheme.tileXYToRectangle(x, y, z);
const southwest = Rectangle.southwest(rectangle);
const northeast = Rectangle.northeast(rectangle);
const minx = CesiumMath.toDegrees(southwest.longitude);
const miny = CesiumMath.toDegrees(southwest.latitude);
const maxx = CesiumMath.toDegrees(northeast.longitude);
const maxy = CesiumMath.toDegrees(northeast.latitude);
const url = `http://myFeatureSource/layer/getFeatures?minx=${minx}&miny=${miny}&maxx=${maxx}&maxy=${maxy}`
return fetch.get(url)
 .then(response => response.json())
 .then((data) => {
    const { features } = parseGeoJSON(data.data, { dynamicStyle: true });
    return features;
  });
StaticgetOptional[moduleReadonlybasesorted baseLevels, maximumLevel first example: [18,17,16]
cache of tiles for each baseLevel
Readonlyfeatureset of currently loaded featureIds with the corresponding tileIds
Readonlynameunique Name
Caches the loaded rTrees for quick Access to all features.
ReadonlytileReadonlytilingCesium Webmercator TilingScheme
Readonlytrack
TileProvider loads GeojsonLayer from the provided URL. The URL has placeholders: the extent in latitude/longitude via: {minx}, {miny}, {maxx}, {maxy} tile Coordinates in x, y, z(level) via: {x}, {y}, {z} {locale} can be used to request locale aware content.