3D polygon in oldfashioned context #1143
Replies: 2 comments
-
Hi @jbigdata-git, You say you are using the oldfashioned way.
What version of ol-cesium are you using? Regarding |
Beta Was this translation helpful? Give feedback.
-
Thanks for your return. I will try to answer your questions. I use the Oldfashioned way because it’s more efficient for me. From my experience for certain applications integrating heterogeneous components which must interact if we want to be in control of all interactions, it is uninteresting to remain low level: HTML and pure JS. My opinion is based, among other things, on the creation of this application: AirMeteo.fr. I don't know if I answered your question, but if I can give an opinion it's a real shame to eliminate this simple and efficient way of using your components which corresponds to a need. I use the openlayers-ol-cesium-d1fb3b6.zip archive that I retrieved on January 6. I see there is a new version (openlayers-ol-cesium-a64440c.zip) and those files in OFashioned way:
About ocls_extruded_base or ocls_extruded_offset. On this application you can see a use case of the desired offset, if necessary I can detail more, I have put a screenshot too. You can also access the new Cesium version currently in development for which I am trying to have the same level of functionality. If I may allow myself to seek your expertise again, I am also missing the selection at the layer for which I made a post "GeoJSON layer highlight, mousenter, mousover”. and other points which are more detailed that I will see later, for example a setting to tilt the map at the initial display. JB. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I use OLCS in an old-fashioned context : pure HTML and JS.
I encounter a first problem with the rendering. As you can see in screenshot 00 if I use two DIV to render, one 2D and one 3D, like the example, everything goes well.
On the other hand, if I delete DIV for 2D at this point no more layers are displayed (image 01). I found a workaround by "hiding" a DIV of size 1x1, I did a lot of different tests, but in the absence of the 2D DIV, nothing is displayed in the 3D DIV.
Do you have any advice for me to resolve this problem properly?
Back to the main subject
I want to make 3D renderings of geojson, everything goes well with the use of the olcs_extutded_height property. I would like to know if there is a way to offset the height of the base of the polygon (image 02). Some kind of ocls_extruded_base property: The ground is at 0, the polygon starts at the ocls_extruded_base height and stops at the olcs_extruded_height as is currently the case.
Beta Was this translation helpful? Give feedback.
All reactions