Constructor
new EmptyTerrain(optionsopt)
Parameters:
| Name | Type | Attributes | Description | |||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | IEmptyTerrainParams | <optional> | Provider options: Properties
|
- Source
Methods
handleSegmentTerrain(segment)
Loads or creates segment elevation data.
Parameters:
| Name | Type | Description |
|---|---|---|
segment | Segment | Segment to create elevation data. |
- Source
setUrlRewriteCallback(ur)
Sets url rewrite callback, used for custom url rewriting for every tile loading.
Parameters:
| Name | Type | Description |
|---|---|---|
ur | UrlRewriteFunc | The callback that returns tile custom created url. |
- Source