maplibre / flutter-maplibre-gl

Customizable, performant and vendor-free vector and raster maps, flutter wrapper for maplibre-native and maplibre-gl-js (fork of flutter-mapbox-gl/maps)
https://pub.dev/packages/maplibre_gl
Other
224 stars 124 forks source link

Windows support #295

Open felix-ht opened 1 year ago

felix-ht commented 1 year ago

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.

wipfli commented 1 year ago

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

m0nac0 commented 1 year ago

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.

felix-ht commented 1 year ago

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

m0nac0 commented 11 months ago

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

josxha commented 4 months ago

Open issue here