直接跳到内容
本页目录

Zoom Control

A control which contains buttons for zooming in/out the Map.

基础用法

API

属性

属性名说明类型默认值
position控件位置enum 'topleft'
zoom_in_text放大按钮文本string '+'
zoom_in_title放大按钮标题string '放大'
zoom_out_text缩小按钮文本string '-'
zoom_out_title缩小按钮标题string '缩小'

Events

事件名说明类型

Slots

插槽名说明

方法

方法名说明类型

src/examples/vleaflet/controls/Zoom

Zoom Control已经加载完毕