flutter-maplibre-gl icon indicating copy to clipboard operation
flutter-maplibre-gl copied to clipboard

Windows support

Open felix-ht opened this issue 1 year ago • 5 comments

What are the chances that we could implement Desktop/Windows support for this package. https://github.com/maplibre/maplibre-native Seems to have a build option for windows. But the binding code seems to be missing/lacking.

What would it take to get a plugin going for flutter? I would be willing to pay a bounty for this task.

felix-ht avatar Sep 07 '23 14:09 felix-ht

Hi Felix. Thanks for the suggestion. Not sure, but maybe I can put you in touch with some people who might be interested in working on this. Can you text me in the MapLibre slack? My username there is @wipfli

wipfli avatar Sep 13 '23 15:09 wipfli

I think we would first need support for platform-views on desktop platforms in Flutter. I have been tracking this for quite some time, but I don't know how close the Flutter team is to implementing this. It is on their roadmap for 2023: https://github.com/flutter/flutter/wiki/Roadmap#features

For Windows specifically the Flutter issue is https://github.com/flutter/flutter/issues/31713 There were PRs in the past for macOS and Linux, but if I remember correctly they were abandoned for the time being to rethink the API design or something like that. You should be able to find them with the GitHub search in the flutter repo.

m0nac0 avatar Sep 13 '23 15:09 m0nac0

thanks for the details @m0nac0 This certainly is a blocker for before any work can be done here.

@wipfli thanks for the proposal - but as we rely on flutter we probably will have to wait until something moves on that side

felix-ht avatar Sep 14 '23 11:09 felix-ht

There now seems to be a design doc for Windows platform views: https://docs.google.com/document/d/10nVF2f-QTQ5o2HMEZ1fUlBJzK4dEmhuPHTVFEgW-JRs/edit?resourcekey=0-J-Lsp7xfA-Nr5EMr1av-Xg

m0nac0 avatar Dec 10 '23 10:12 m0nac0