Skip to content

Point with altitude with ol-cesium #240

@remiHau

Description

@remiHau

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 :

  • Add a z-input to the coordinate component to avoid changes in other application
  • Allow the use of collection-coordinates component in the point but i am not really sure that makes sense.
  • Change the x and y input by a OlCoordinate input but that's a breaking change

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions