What is missing/needed for Windows support ? #319
-
The README indicates that
Additionally, I can see that some progress has already been made toward enabling iOS support. However, I wanted to know the specific requirements or the primary areas of development necessary for the Windows support. I am inquiring because I am interested in contributing to make this feature available, but have no clue of how will that be done. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Adding support for windows is a bit more tricky but provides big opportunities. Android and iOS are using Platform Views and use the MapLibre Native Android and iOS SDK.
Flutter has currently no support for Platform Views on Windows and Linux, and limited support on MacOS. This is the biggest blocker here and there it is no task the flutter team currently prioritizes. There are two alternatives: Use the mbgl SDKInstead of binding to the MapLibre Native Windows SDK, we could directly use the underlying SDK that written in C++. Use WebViewsA second approach could be to use PlatformViews with MapLibre GL JS. The biggest challenge here is that weviews normally use platform views as well. There are a couple of packages that try to support deskop as well but the last time I checked, they had some problems in concistency and reliability. |
Beta Was this translation helpful? Give feedback.
Adding support for windows is a bit more tricky but provides big opportunities. Android and iOS are using Platform Views and use the MapLibre Native Android and iOS SDK.
Flutter has currently no support for Platform Views on Windows and Linux, and limited support on MacOS. This is the biggest blocker here and there it is no task the flutter team currently prioritizes.
There are two alternatives:
Use the mbgl SDK
Instead of binding to the MapLibre Native Windows SDK, we could directly use the underlying SDK that written in C++.
A si…