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

Leverage Turf for Geometry in TileRegionLoadOptions #607

Open
LorenzSchueler opened this issue Jul 4, 2024 · 1 comment
Open

Leverage Turf for Geometry in TileRegionLoadOptions #607

LorenzSchueler opened this issue Jul 4, 2024 · 1 comment

Comments

@LorenzSchueler
Copy link

LorenzSchueler commented Jul 4, 2024

Most API use the Turf classes, however TileRegionLoadOptions has a field geometry which is of type Map<String?, Object?>? instead of turf.GeometryType?. Since this is defined in a pigeon generated file and the sources from which those files are generated are not public I'm unfortunately not able to submit a PR. @maios Is there any reason why the field does not use turf.GeometryType or was this just forgotten?

Map<String?, Object?>? geometry;

Also why is descriptorOptions of type List<TilesetDescriptorOptions?>? and not List<TilesetDescriptorOptions>? ?

@maios
Copy link
Contributor

maios commented Jul 4, 2024

Hi @LorenzSchueler, yes it is in our roadmap to fully support strong typed Geometry. I will keep you updated in this GH issue about the progress of this

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

2 participants