Replies: 2 comments
-
Hmm .Looks like deinitialize() is ran before render() could be executed. Doesn't seem like documented behaviour? |
Beta Was this translation helpful? Give feedback.
0 replies
-
We have switched to a different architecture, layers to not @stefankarschti made progress towards a custom layer that uses Drawables. See #1754 and #1810. It is not very well documented except for some sample code and there are rough edges. It should be usable on macOS too. https://github.com/maplibre/maplibre-native/blob/main/platform/darwin/app/ExampleCustomDrawableStyleLayer.mm |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been playing around with the gl native build, on the glfw platform, on macos.
The custom layer host is initialised but never rendered.
so
void render(const mbgl::style::CustomLayerRenderParameters&) override
never gets called.What my class looks like with the supporting functions.
And I simply initialise and register the custom layer in the main function like so
I assume I am missing something to render the custom layer?
Steps I've taken so far to figure out why render isn't called:
Beta Was this translation helpful? Give feedback.
All reactions