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 extentnumber 长度
maxZoomnumber 最大的放大级别
minZoomnumber 最小的放大级别
tileSizenumber 瓦片的尺寸
originnumber 原点
Returns:
Type Description ol.tilegrid.TileGrid 创建的网格切片 -
staticol.source.ImageSuperMapRest.optionsFromMapJSON(url, mapJSONObj)
openlayers/mapping/ImageSuperMapRest.js, line 151 -
获取地图JSON信息
Name Type Description urlstring 地址
mapJSONObjObject 地图JSON