new Supermap3D.TiandituTerrainProvider(options)
Through Tianditu 3D terrain service class, you can add the 3D terrain service published by the Tianditu server.
Name |
Type |
Description |
options |
Object
|
The options object has the following properties:
Name |
Type |
Description |
token |
String
|
The key of Tiantu terrain service. |
minimumLevel |
Number
|
The smallest data level. |
maximumLevel |
Number
|
Maximum data level. |
url |
String
|
The service address. |
subdomains |
Array or String
|
Multiple subdomains of Tianditu. When the input parameter is an Array, it supports loading multiple subdomains. When the input parameter is a String, it only supports loading a single subdomain. |
|