feat(*): add layers widgets#542
Conversation
|
This seems very interesting, will be watching this! |
|
Hi @ibrierley |
|
This should do it I think... https://github.com/ibrierley/flutter_map_dragmarker/blob/master/lib/dragmarker_widget_layer.dart There's 2 files in there, dragmarker.dart for the old plugin format, and dragmarker_widget_layer.dart for the referenced one here. It would be good to hear whether this format will likely become the new standard, as I'll convert my tile layer code as well to it at some point if so. |
|
I would use that |
|
PR updated |
[BREAKING CHANGES] No more layer options definition (REMOVED) No more plugin API (REMOVED) [FEATURE] All layers become flutter widgets ! - Add shared mapState widget - Improve rebuild layers - mapState API available with MapStateInheritedWidget.of(context).mapState; - Update example with new strategy - Add simultation of user location
|
@johnpryan I updated file names on my PR, that's why the build failed |
Thanks @avioli ! |
|
Any update on this PR? |
|
@Sly2024 I need to finish my last update |
🔥 All layers become flutter widgets !
var mapState = MapStateInheritedWidget.of(context).mapState;