Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Description projectionProjectionLike
(defaults to 'EPSG:3857')可选投影。
tileGridTileGrid | undefined 瓦片网格。
wrapXboolean
(defaults to true)是否水平环绕世界。
zDirectionnumber | NearestDirection函数
(defaults to 0)使用默认配置调试
VectorTile数据源时设置为1。选择在整数缩放级别之间使用更高还是更低缩放级别的瓦片。参见getZForResolution。sourceTileSource | undefined 瓦片数据源。这允许从另一个数据源复制
projection、tileGrid、wrapX和zDirection。如果同时指定了source和单独的选项,单独的选项将优先。templatestring
(defaults to 'z:{z} x:{x} y:{y}')瓦片标注模板。应包含
{x}、{y}或{-y},以及{z}占位符。colorstring
(defaults to 'grey')用于填充文本和描边每个瓦片网格线的 CSS 颜色。