Creates a new HybridTerrainProvider instance.
A new HybridTerrainProvider instance.
Private Optional_Private_Private_Private_Private_Private_Private_Private_Private_Private_Gets an object that can be used to determine availability of terrain from this provider.
Gets all the credits to display from registered providers when this terrain provider is active. Typically this is used to credit the source of the terrain.
Gets the default terrain provider.
Gets an event that is raised when the terrain provider encounters an asynchronous error. By subscribing
to the event, you will be notified of the error and can potentially recover from it. Event listeners
are passed an instance of TileProviderError.
Gets a value indicating whether or not the requested tiles include vertex normals.
Gets a value indicating whether or not the provider includes a water mask. The water mask indicates which areas of the globe are water rather than land, so they can be rendered as a reflective surface with animated waves.
Gets a value indicating whether or not the provider is ready for use, or a promise that resolves when the provider becomes ready.
Gets the list of terrain regions managed by this provider.
Gets the tiling scheme used by this provider.
Cleans up resources used in the HybridTerrainProvider.
This method only releases additional resources used to instantiate the HybridTerrainProvider.
Gets the maximum geometric error allowed in a tile at a given level, taken as the worst case across the default provider and all region providers. Because the hybrid provider's coverage is a composition of multiple sources, the reported error reflects the highest error any source could contribute at this level, ensuring the LOD system refines conservatively enough for all sources.
The tile level for which to get the maximum geometric error.
The maximum geometric error across all providers.
Determines whether data for a tile is available to be loaded. Checks the specified terrain regions first.
The X coordinate of the tile for which to request geometry.
The Y coordinate of the tile for which to request geometry.
The level of the tile for which to request geometry.
Undefined if not supported by the terrain provider, otherwise true or false.
Makes sure we load availability data for a tile
The X coordinate of the tile for which to request geometry.
The Y coordinate of the tile for which to request geometry.
The level of the tile for which to request geometry.
Undefined if nothing need to be loaded or a Promise that resolves when all required tiles are loaded
Requests the terrain for a given tile coordinate.
The X coordinate of the tile.
The Y coordinate of the tile.
The zoom level of the tile.
Optionalrequest: RequestThe request.
A promise for the requested terrain.
Provides terrain by delegating requests to different terrain providers based on geographic regions and zoom levels. This allows combining multiple terrain sources into a single seamless terrain.
Example