-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with Open Layers Draw #655
Comments
At the moment there is no support for interactions in 3d.
|
Hi. Could I make a pull request and try to add 3d map interactions? |
Can you explain what the set function does? Is this the ol-cesium preferred method of adding Cesium specific properties to to objects? |
Sure @bbehling-trimble, if you can come up with a PR I will look at it. The OpenLayers |
We too are facing issues with the vector features not reflecting on Cesium like how it used to happen earlier. |
@SCKgithub I was able to draw a feature in 2D mode. When I switched to 3D mode and loaded the Cesium viewer, the polygon was visible and clamped to the terrain. Are you saying you were able to draw in 3D mode at some earlier point? |
I am using olcesium 2.2 with angular 6
The issue I am facing is to sync vector from 2 D to 3D
If I place any feature on vector layer or add a kml in ol 2D and switch to cesium 3D, in 3D I should be able to see those features
But in my case this is not happening on 3 D
Another issue is, if I load kml in 3 D it is not draping on terrain
With Warm Regards,
Sowjanya Kiran kumar
… On 17-Oct-2018, at 9:03 PM, bbehling-trimble ***@***.***> wrote:
@SCKgithub I was able to draw a feature in 2D mode. When I switched to 3D mode and loaded the Cesium viewer, the polygon was visible and clamped to the terrain. Are you saying you were able to draw in 3D mode at some earlier point?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@SCKgithub I noticed in native Cesium there are issues with KMLs clamping to terrain. |
In earlier version of ol3 cesium I didn’t have any issues with kml or vector sync from ol to cesium
As well kml was getting draped on terrain in cesium
All issues started with olcesium 2.2
Can you atleast help me with vector sync
Thanks in advance
With Warm Regards,
Sowjanya Kiran kumar
… On 18-Oct-2018, at 4:04 AM, bbehling-trimble ***@***.***> wrote:
@SCKgithub I noticed in native Cesium there are issues with KMLs clamping to terrain.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@SCKgithub Well, keep in mind that olcesium uses native Cesium behind the scenes. The version of olcesium you are using, could be implementing a version of native Cesium that contains a KML bug. https://github.com/AnalyticalGraphicsInc/cesium/issues/873 With overlaying vectors, I just followed the OL draw tools example. I drew a polygon in 2D mode, then switched to 3D mode and the drawn vector overlaid without an issue. I haven't tried adding vectors without the drawing tools though. https://openlayers.org/en/latest/examples/draw-features.html |
Hello, I want to ask you a question: because cesium can load models and implement movements such as airplane flight. Can olcesium achieve the same functionality?Thank you very much! |
@kk1625846601, OL-Cesium is just a wrapper around OpenLayers and Cesium. You can get the Cesium scene using https://github.com/openlayers/ol-cesium/blob/master/src/olcs/OLCesium.js#L461and then use any functionality from Cesium. |
thank you very much.
…---Original---
From: "gberaudo"<notifications@github.com>
Date: Mon, Nov 18, 2019 16:27 PM
To: "openlayers/ol-cesium"<ol-cesium@noreply.github.com>;
Cc: "Mention"<mention@noreply.github.com>;"kk1625846601"<1625846601@qq.com>;
Subject: Re: [openlayers/ol-cesium] Issues with Open Layers Draw (#655)
@kk1625846601, OL-Cesium is just a wrapper around OpenLayers and Cesium. You can get the Cesium scene using https://github.com/openlayers/ol-cesium/blob/master/src/olcs/OLCesium.js#L461and then use any functionality from Cesium.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@gberaudo Excuse me, my boss asks me to realize the function of flight by using olcesium now, but I still have no idea about it. In cesium,this function needs clockViewModel ,clock and timeline which belong to viewer. In olcesium,I try to create the three objects and add them to the map,but it doesn't work. Now how can I do by using the scene of olcesium? Thank you very very much. |
@kk1625846601, you should open a new issue for unrelated discussions. Do you mean https://cesium.com/docs/cesiumjs-ref-doc/Camera.html#flyTo ? |
Sorry,i dont't know how to do this. Last week ,i have finished this function by using camera. But i still can't make it by adding a model.Thanks for your writing .
…------------------ 原始邮件 ------------------
发件人: "gberaudo"<notifications@github.com>;
发送时间: 2020年2月24日(星期一) 下午5:58
收件人: "openlayers/ol-cesium"<ol-cesium@noreply.github.com>;
抄送: "请失掉记忆"<1625846601@qq.com>;"Mention"<mention@noreply.github.com>;
主题: Re: [openlayers/ol-cesium] Issues with Open Layers Draw (#655)
@kk1625846601, you should open a new issue for unrelated discussions.
Do you mean https://cesium.com/docs/cesiumjs-ref-doc/Camera.html#flyTo ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Trying to use OL Draw, two issues I noticed so far.
Can we draw in 3D mode and can the position of the drawn vector be placed on the map correctly?
The text was updated successfully, but these errors were encountered: