Skip to content

Documentation / @geoverse/core-libre / BaseLayerConfig

Interface: BaseLayerConfig

Defined in: packages/core-libre/src/layers/baseLayer.ts:22

Properties

attribution?

ts
optional attribution?: string;

Defined in: packages/core-libre/src/layers/baseLayer.ts:28

覆盖预设的版权信息


datum?

ts
optional datum?: Datum;

Defined in: packages/core-libre/src/layers/baseLayer.ts:38

显式声明底图基准面(datum)。预设底图已自带 datum;当 base 为原始 StyleSpecification / style URL 且其瓦片为国内偏移坐标时,可用此项告知 GMap 做数据边界变换(缺省 'WGS84')。


glyphs?

ts
optional glyphs?: string;

Defined in: packages/core-libre/src/layers/baseLayer.ts:24

自定义 glyphs(字体)服务地址


maxzoom?

ts
optional maxzoom?: number;

Defined in: packages/core-libre/src/layers/baseLayer.ts:30

覆盖预设的最大层级


tiles?

ts
optional tiles?: string[];

Defined in: packages/core-libre/src/layers/baseLayer.ts:26

覆盖预设的瓦片地址模板


token?

ts
optional token?: string;

Defined in: packages/core-libre/src/layers/baseLayer.ts:32

天地图等需要的访问密钥,注入瓦片地址的 {tk} 占位