Appearance
Documentation / @geoverse/core-libre / datumOf
Function: datumOf()
ts
function datumOf(base, config?): Datum;Defined in: packages/core-libre/src/layers/baseLayer.ts:97
解析底图的基准面(datum)。预设栅格底图取其声明值;其余(矢量切片预设、 blank、原始 style/URL)取 config.datum ?? 'WGS84'。供 GMap 在初始化/切底图时确定数据边界变换。
Parameters
base
string | false | StyleSpecification
config?
BaseLayerConfig = {}
