quentinlampin / ngx-openlayers

Angular2+ components for Openlayers 4.x
Mozilla Public License 2.0
137 stars 98 forks source link

Point with altitude with ol-cesium #240

Open remiHau opened 5 years ago

remiHau commented 5 years ago

Hi,

We are using ngx-openlayers with ol-cesium to display a 3D view. I have managed to display feature with altitude for all the geometry except the point because the point use the coordinate component while the other geometry use the collection-coordinates component. The coordinate component has 2 input x and y. The collection-coordinates has an array of coordinates. So if I set an altitude as the 3rd value of my coordinate, it will be store for the collection of coordinate but not for the coordinate component.

I am going to do a merge request for fix it but I am wondering what is the best thing to do :

What do you think?