Plotting SDK based on OpenLayer 6 (open source)

I. Introduction

The original author is based on the SDK developed by Openlayer3. I have repackaged and compiled the project with es6+rollup. Encapsulates part of the business layer. Only one main class is exposed.
The original author's blog is here. Thanks for the reference given by the original author code.

Support IE after version 1.1.2

2. Demo

Demo screenshot
Insert picture description here

Online experience:
http://61.155.169.52:8080/PlotOl/demo/index.html

Three, source code

github source code:
https://github.com/worlddai/plot_ol

Four, use method

Refer to the example under demo in the source code.

Currently only the first edition. Style settings, attribute editing and other functions will be added later, so stay tuned. If you have any questions, you can leave a message here, thank you!

Five, update records

2019-08-01 Version v1.1
1 Fully support mobile terminal
2 New graphic element level operation
3 New style, attribute editing
4 Realize serialization, you can modify the serial number code according to your own server storage format to realize saving and loading

2019-08-01 Version v1.1.1
1 Added documentation tool to generate API documentation (required to reinstall to use) npm run docs
2 Added disable and enable methods for plotting primitives
3 Added TrackingLayer class, which can be used to draw tracks. POL.TrackingLayer

2019-08-01 Version v1.1.2
1 IE supports npm run build-ie and then introduces dist/polyfill.js into the application html to support IE

Guess you like

Origin blog.csdn.net/qq_29722281/article/details/97510367