mapbox-npm
v0.0.6
Published
mapbox 测试框架
Downloads
1
Readme
UGIS 框架
目录结构
-- index.js 入口文件
-- map
-- api 后台接口请求封装
-- popup 所有内部地图弹框
-- layer 图层封装
-- libs 预留目录
-- proj 坐标转换
-- symbol 样式封装
-- tool 工具封装
-- control 带图形界面的控件
注意事项
mapbox 只支持 3857 坐标系。 坐标纠偏需在框架内部处理,坐标默认统一数据规范为:EPSG:4326 定义变量 map.epsg 存储现有底图坐标。目前支持:EPSG:4326,EPSG:3857,EPSG:GJC02,EPSG:BD09
图层快速加载,通过配置文件管理
状态管理问题 弹框 选中项 悬浮项 命令项
消息事件管理 通知、接收