new ol.source.ImageSuperMapRest(options)
openlayers/mapping/ImageSuperMapRest.js, line 7
Name | Type | Description |
---|---|---|
options |
Object |
服务参数: |
Extends
Methods
-
staticol.source.ImageSuperMapRest.createTileGrid(extent, maxZoom, minZoom, tileSize, origin){ol.tilegrid.TileGrid}
openlayers/mapping/ImageSuperMapRest.js, line 203 -
创建网格切片
Name Type Description extent
number 长度
maxZoom
number 最大的放大级别
minZoom
number 最小的放大级别
tileSize
number 瓦片的尺寸
origin
number 原点
Returns:
Type Description ol.tilegrid.TileGrid 创建的网格切片 -
staticol.source.ImageSuperMapRest.optionsFromMapJSON(url, mapJSONObj)
openlayers/mapping/ImageSuperMapRest.js, line 151 -
获取地图JSON信息
Name Type Description url
string 地址
mapJSONObj
Object 地图JSON