L.supermap.baiduTileLayer(url, options)
BaiduTileLayer.js, line 4
Name | Type | Default | Description | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
url |
string | 'http://online{num}.map.bdimg.com/onlinelabel/?qt=tile&x={x}&y={y}&z={z}&styles={styles}&udt=20150815&scaler=1' |
optional
The URL of Baidu tiles. |
||||||||||||||||||||||||||||
options |
Object |
The optional tile parameters.
|
Extends
Members
-
urlstring
-
The URL of Baidu tiles.
Methods
-
getTileUrl(coords){string}
BaiduTileLayer.js, line 45 -
Get URL of the tile.
Name Type Description coords
Object Ranks number.
Returns:
Type Description string The URL of the tile.