Coder Social home page Coder Social logo

antvis / l7editor Goto Github PK

View Code? Open in Web Editor NEW
29.0 13.0 8.0 73.93 MB

Geographic data editing tool based on L7

Home Page: https://l7editor.antv.antgroup.com/

License: MIT License

TypeScript 99.61% JavaScript 0.33% Shell 0.06%
antd editor geojson l7 react larkmap

l7editor's Introduction

L7Editor

🌍 基于 L7 的地理数据编辑工具

npm Version npm License Percentage of issues still open Average time to resolve an issue

主页使用文档组件

📦 组件

npm install @antv/l7-editor -S
import { L7Editor } from '@antv/l7-editor';

export default () => {
  return <L7Editor autoFitBounds activeTab="geojson" theme="dark" />;
};

⌨️ 本地开发

# 安装依赖
npm install

# 工具页面运行页面
npm run start

# 工具页面打包
npm run build

📖 许可证

MIT@AntV.

l7editor's People

Contributors

heiyexing avatar websybin avatar zhaoqianci avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

l7editor's Issues

首页报错回不去

我在首页粘贴了一份multipolygon的GeoJson数据,然后我把type改成polygon,结果就报错了,然后我关闭页面再次打开,发现首页依旧报错并且无法返回到编辑的页面
7050d839c75c445fa07baaa9a81cc37c

添加距离测量功能

希望添加测量两个坐标点之间的直线距离的功能,目前无法判断多个polygon图形的距离是否是正确的值,如果想知道一个polygon扩大100米后的几何图形是否正确,还需要在高德地图再测量一遍,非常不方便

🐛 [BUG]折线编辑器删除的异常行为

折线编辑器移动后,点击删除按钮未删除图层

https://l7editor.antv.antgroup.com/

📷 Step to reproduce

1、使用折现编辑器绘制折线

2、移动折线

3、点击删除按钮(确认)

4、GeoJSON编辑器内的数据清空了,但是地图中的图层未清除

5、再次点击地图,GeoJSON编辑器内的数据又恢复了

6、此时折线图层无法编辑/移动了

7、点击删除按钮(确认),可以删除数据和图层了

🏞 Expected result

上述描述中的步骤3 应该直接到 步骤7,才是对的。

🚑 Any additional [like screenshots]

  • L7Editor Version: v1.1.5
  • Platform: macos Ventura 13.5.2 (Apple M1 Pro)

期待vue版本~🥰 [FEATURE]

💻 Features description [Please make everyone to understand it]

期待官方出一个vue版本~

🏞 What problem does this feature solve

🧐 What does the proposed API look like

🚑 Any additional [like screenshots]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.