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

feature: Expose OLCesiumOptions #1245

Conversation

ejn
Copy link
Contributor

@ejn ejn commented Nov 5, 2024

Downstream projects find it helpful to be able to reuse the type definition of the constructor options for the main OLCesium object.

I also corrected the type of the sceneOptions option: The canvas and scene3DOnly options are set internally and so should not be passed as part of the sceneOptions. Previously canvas strictly had to be passed as it is defined as a non-optional member of SceneOptions.

Downstream projects find it helpful to be able to reuse the type
definition of the constructor options for the main OLCesium object.
@ejn ejn force-pushed the feature/export-olcesium-constructor-options-as-type branch from e0d7a0b to c88ea4a Compare November 5, 2024 14:48
@gberaudo
Copy link
Member

gberaudo commented Dec 3, 2024

Looks sensible, thanks @ejn.

@gberaudo gberaudo merged commit d8846f2 into openlayers:master Dec 3, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants