Skip to content
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

Point with altitude with ol-cesium #240

Open
remiHau opened this issue Aug 26, 2019 · 0 comments
Open

Point with altitude with ol-cesium #240

remiHau opened this issue Aug 26, 2019 · 0 comments

Comments

@remiHau
Copy link

remiHau commented Aug 26, 2019

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant