Replies: 2 comments 1 reply
-
I discussed this shortly with somebody in a wgpu channel on matrix. Right now there is ready-to-go solution for both approaches. Pro "Handling in Rust":
Pro "Handling in Platform SDK":
Right now we use |
Beta Was this translation helpful? Give feedback.
-
The actual control is just a default example and both, renderer and control are called by app examples. |
Beta Was this translation helpful? Give feedback.
-
The map is currently controlled by handling the user inputs with Rust (e.g. pan, pinch, shift, tilt and zoom handlers). Would it make sense to provide an api to control the map (moveTo, zoomTo, etc.) and delegate the control of the inputs to higher level languages (i.e. js, swift, kotlin, etc.)? The expectations in terms of user experience may vary a lot from one environment to the other (e.g. mobile, desktop, web, embed, navigation system, etc.).
Beta Was this translation helpful? Give feedback.
All reactions