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

Support for vector tiles rendering in SceneKit #276

Open
6cesco opened this issue Jan 4, 2023 · 4 comments
Open

Support for vector tiles rendering in SceneKit #276

6cesco opened this issue Jan 4, 2023 · 4 comments
Labels
enhancement New feature or request ios

Comments

@6cesco
Copy link

6cesco commented Jan 4, 2023

Do you plan to add support for vector tiles rendering using SceneKit? If not, do you have any recommendations on where to start with adding this support to your project (I'm considering to start contributing)? Maybe you investigated it in the past and have some useful tips.

The reason why this support would be beneficial is for Apple Watch usecases. The newest Apple Watch releases (especially the Ultra model) have large screens and good CPUs suitable for map displaying. There are countless outdoor applications which could be implemented with the help of your library. Unfortunately there's no support for Metal and Open GL on watchOS and SceneKit seems to be the only feasible alternative.

It would be also great if you support reading from vector tiles saved offline (e.g. in .mbtiles format). Do you have this on your roadmap?

@stmitt
Copy link
Contributor

stmitt commented Jan 9, 2023

This feature is not on our roadmap.
I think a SceneKit rendering engine could work. Maybe it would be best if you start by implementing the shader_factory_interface and graphics_object_factory_interface.
maps-core is build in a modular architecture and all modules are injectable.
Unfortunately I don't have helpful tip how to implement this feature in detail since im not aware how SceneKit works exactly.

@maerki maerki added enhancement New feature or request ios labels May 1, 2023
@mauron85
Copy link

mauron85 commented Oct 7, 2024

@6cesco any updates? Did you managed to implement SceneKit?

@maerki
Copy link
Contributor

maerki commented Oct 7, 2024

We hope that watchOS will support Metal at some point. The vector style specification contains so many rendering details, that a high level framework like SceneKit is not suitable to implement everything.

@maerki
Copy link
Contributor

maerki commented Oct 7, 2024

Having that said, GraphicsFactory.swift might be a point to start. A SceneKit implementation would need to be able to create instances of all those types with correct behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ios
Projects
None yet
Development

No branches or pull requests

4 participants