#header-mark#
WKT Layer
WKTLayer is an ipyleaflet class that allows you to visualize a WKT data on the Map.
基础用法
API
属性
属性名 | 说明 | 类型 | 默认值 | 必填 | 备注 |
---|---|---|---|---|---|
path | WKT文件本地路径 | string | "" | 否 | 与wkt_string二选一 |
wkt_string | WKT格式字符串 | string | "" | 否 | 与path二选一 |
name | 图层名称 | string | '' | 否 | - |
事件
事件名 | 说明 | 参数 |
---|---|---|
- | - | - |
插槽
插槽名 | 说明 |
---|---|
- | - |
方法
方法名 | 说明 | 参数 | 返回值 |
---|---|---|---|
- | - | - | - |
ref: https://ipyleaflet.readthedocs.io/en/latest/layers/wkt_layer.html
src/examples/vleaflet/layers/WKTLayer