new TiandituImageryProvider(options)
Provide Tianditu image slicing service
Name |
Type |
Description |
options |
Object
|
The parameter object contains the following properties��
Name |
Type |
Default |
Description |
mapStyle |
String
|
'img_w'
|
optional
Image style, the default is Tianditu global image map service (Mercator projection) |
credit |
String
|
''
|
optional
Description of Tianditu service |
|
Example:
var provider = new TiandituImageryProvider({
mapStyle �� TiandituMapsStyle.IMG_C,
credit : '���ͼȫ��Ӱ�����'
});
var layer = viewer.scene.imageryLayers.addImageryProvider(labelImagery);