直接跳到内容
本页目录

Scale Control

A control which shows the Map scale.

基础用法

API

属性

属性名说明类型默认值
position控件位置enum 'bottomleft'
max_width最大宽度number 100
metric是否使用公制单位boolean true
imperial是否使用英制单位boolean false

Events

事件名说明类型

Slots

插槽名说明

方法

方法名说明类型

src/examples/vleaflet/controls/Scale

Scale Control已经加载完毕