L.supermap.cloudTileLayer(url, options)
CloudTileLayer.js, line 5
Name | Type | Default | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
url |
string | 'http://t2.dituhui.com/FileService/image?map={mapName}&type={type}&x={x}&y={y}&z={z}' |
optional
The url of the service. |
||||||||||||||||||||||||
options |
Object |
The optional parameters.
|
Extends
Members
-
optionsstring
-
The map name. It defaults to be: quanguo。
- Default Value: 'quanguo'
typestring
The map projection
Methods
-
getTileUrl(coords){string}
CloudTileLayer.js, line 45 -
Get URL of the tile.
Name Type Description coords
Object Ranks number.
Returns:
Type Description string The URL of the tile.