Class: BaiduMap

ol.source.BaiduMap

The source of Baidu layer.

new ol.source.BaiduMap(opt_options, hidpi)

BaiduMap.js, line 3
Name Type Default Description
opt_options Object

The optional parameters.

Name Type Default Description
url string 'http://online1.map.bdimg.com/onlinelabel/?qt=tile&x={x}&y={y}&z={z}&styles={styles}&udt=20170408' optional

The URL of Baidu tiles.

tileProxy string optional

Enable managed addresses.

hidpi boolean false optional

Whether to use a high resolution map.

Extends

Methods

static defaultTileGrid(){ol.tilegrid.TileGrid}

BaiduMap.js, line 71

Get the default tileGrid.

Returns:
Type Description
ol.tilegrid.TileGrid Return the tileGrid.