sakitam-fdd / ol-plot Goto Github PK
View Code? Open in Web Editor NEW:art: | openalyers 3 / 4 / 5 / 6 / 7 扩展标绘
Home Page: https://blog.sakitam.com/ol-plot/
License: MIT License
:art: | openalyers 3 / 4 / 5 / 6 / 7 扩展标绘
Home Page: https://blog.sakitam.com/ol-plot/
License: MIT License
大佬你好,如题;我用的vue2,然后用的别人封装好的ol相关的Map组件,ol已经打包在组件里,然后组件无法修改,有暴露出map对象;我一开始直接引入ol-plot,然后把组件提供的map对象传入,结果报错“传入的不是地图对象!”,这种情况咋处理。望大佬能提点一二【抱拳】
1、新绘制一个文本时,文本框无法正常失去焦点,导致标绘的其他图形不能被选中
2、再拖动文本框时,经常出现文本框随鼠标移动的情况,且无法取消
3、标绘的文本在地图导出为图片时不显示
版本:ol-v5.3.3 ol-plot-4.1.3
请问 是否支持 ol5 ,或者什么时候能支持呢?
版本:4.1.9
问题:
1.矩形无效
2.气泡框绘制完仍然可以继续绘制
3.气泡框绘制大小最后一步单击有时候无效,需要停顿后单击或者双击才有效
例子中的颜色设置是在已绘制后,可以分别设置颜色,请问如何在绘制图形前,动态设置颜色,绘制的时候就是选择的颜色
npm 安装的话, 线可以整体移动位置, 但鼠标的poiniter curser不是move。
如果是直接引入的dist里的js, 线会无法整体移动。 我用的master分支最新打包的dist测试的。
Openlayers地图往右或者左多拖拽几次,经度超过了180了都,好像不会自动计算经纬度,然后导致绘制的经纬度都是180+的,
谢谢
"ol-plot": "^4.1.3",
function getFeatures() {
const features = plot.plotUtils.getFeatures();
console.log(JSON.stringify(features));
plot.plotUtils.removeAllFeatures();
plot.plotEdit.deactivate();
plot.plotUtils.addFeatures(features);
}
function addFeatures() {
// debugger;
// plot.plotUtils.removeAllFeatures();
// plot.plotEdit.deactivate();
plot.plotUtils.addFeatures(data);
}
样列发现有些代码在npm中没有更新。如:
PlotTextBox类中
on(content, 'focus', this.handleFocus_.bind(this))
on(content, 'blur', this.handleBlur_.bind(this))
这些事件。
I don't kow how use plot in a VUE project,and openlayers i am use 5.3.1,any can help me?
如题,感谢
如题
plotDraw.activate()能否将feature对象返回,用于删除,亦或是直接返回删除方法
请问有leaflet版本扩展标绘吗,或者后续有计划吗
请问第一个example是否有开源的代码 请问怎么修改颜色 感谢
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.