new ol.source.ImageSuperMapRest(options)
openlayers/mapping/ImageSuperMapRest.js, line 13
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
参数。
|
Extends
Methods
-
ol.source.ImageSuperMapRest.createTileGrid(extent, maxZoom, minZoom, tileSize, origin){ol/tilegrid/TileGrid}
openlayers/mapping/ImageSuperMapRest.js, line 236 -
创建网格切片。
Name Type Description extentnumber 长度。
maxZoomnumber 最大的放大级别。
minZoomnumber 最小的放大级别。
tileSizenumber 瓦片的尺寸。
originnumber 原点。
Returns:
Type Description ol/tilegrid/TileGrid 创建的网格切片 -
ol.source.ImageSuperMapRest.optionsFromMapJSON(url, mapJSONObj)
openlayers/mapping/ImageSuperMapRest.js, line 182 -
获取地图 JSON 信息。
Name Type Description urlstring 地址。
mapJSONObjObject 地图 JSON。
-
tileUrlFunction(tileCoord, pixelRatio, projection){string}
openlayers/mapping/ImageSuperMapRest.js, line 114 -
瓦片地址参数。
Name Type Description tileCoordObject 瓦片坐标系。
pixelRatioObject 像素密度。
projectionstring 投影参考系。
Returns:
Type Description string 返回瓦片地址参数