new ol.source.Tianditu(opt_options)
openlayers/mapping/Tianditu.js, line 3
Name | Type | Description |
---|---|---|
opt_options |
Object |
参数。
url - {string} 服务地址。 |
Extends
Methods
-
staticol.source.Tianditu.default3857TileGrid(){ol.tilegrid.WMTS}
openlayers/mapping/Tianditu.js, line 102 -
获取默认3857网格瓦片
Returns:
Type Description ol.tilegrid.WMTS 返回默认3857网格瓦片对象 -
staticol.source.Tianditu.default4326TileGrid(){ol.tilegrid.WMTS}
openlayers/mapping/Tianditu.js, line 80 -
获取默认4326网格瓦片
Returns:
Type Description ol.tilegrid.WMTS 返回默认4326网格瓦片对象 -
staticol.source.Tianditu.getTileGrid(projection){ol.tilegrid.WMTS}
openlayers/mapping/Tianditu.js, line 56 -
获取瓦片网格
Name Type Description projection
Object 投影参考对象
Returns:
Type Description ol.tilegrid.WMTS 返回瓦片网格对象