Code Monkey home page Code Monkey logo

ol-plot's People

Contributors

github-actions[bot] avatar sakitam-fdd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

ol-plot's Issues

vue2,绘制完的图形不能编辑

1.vue2,node版本:16,绘制完图形,没有周围的小点,无法编辑
2.vue3.2,vite,node版本16,绘制完图形,无法拖动。
1689924142972

如何用于已经封装好的Map组件里

大佬你好,如题;我用的vue2,然后用的别人封装好的ol相关的Map组件,ol已经打包在组件里,然后组件无法修改,有暴露出map对象;我一开始直接引入ol-plot,然后把组件提供的map对象传入,结果报错“传入的不是地图对象!”,这种情况咋处理。望大佬能提点一二【抱拳】

文本标绘问题

1、新绘制一个文本时,文本框无法正常失去焦点,导致标绘的其他图形不能被选中
2、再拖动文本框时,经常出现文本框随鼠标移动的情况,且无法取消
3、标绘的文本在地图导出为图片时不显示

版本:ol-v5.3.3 ol-plot-4.1.3

v4.1.9 矩形无效、气泡框绘制异常

版本:4.1.9
问题:
1.矩形无效
2.气泡框绘制完仍然可以继续绘制
3.气泡框绘制大小最后一步单击有时候无效,需要停顿后单击或者双击才有效

绘制的线无法拖动移动位置

npm 安装的话, 线可以整体移动位置, 但鼠标的poiniter curser不是move。
如果是直接引入的dist里的js, 线会无法整体移动。 我用的master分支最新打包的dist测试的。

一个新军标的问题

博主,您好。看了您的项目,非常崇拜您。我最近再研究一个新的军标,如以下的图片。我搜索了很多的资料但是比较可惜暂时还没有解决如何绘制该曲线的问题。非常希望能和您一起交流。这是我的qq:2551935684
QQ截图20230904202126

绘制的point 点,根据getFeatures的geoJson数据不能复现图像,其他的可以

"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);
}

image
复现数据后不显示point
image

npm是否要更新下?

样列发现有些代码在npm中没有更新。如:
PlotTextBox类中
on(content, 'focus', this.handleFocus_.bind(this))
on(content, 'blur', this.handleBlur_.bind(this))
这些事件。

颜色和透明度

请问第一个example是否有开源的代码 请问怎么修改颜色 感谢

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.