Customizable, performant and vendor-free vector and raster maps, flutter wrapper for maplibre-native and maplibre-gl-js (fork of flutter-mapbox-gl/maps)
Hey! I needed to use the map in widget tests. But as it uses platform views those are not working properly during widget tests. So I made some classes visible and added a method to provide fake MethodChannelMaplibreGl to MapLibreGlPlatform.
Usage
class FakeMethodChannelMaplibreGl implements MethodChannelMaplibreGl {
...
}
MapLibreGlPlatform.instance = FakeMethodChannelMaplibreGl();
Hey! I needed to use the map in widget tests. But as it uses platform views those are not working properly during widget tests. So I made some classes visible and added a method to provide fake
MethodChannelMaplibreGl
toMapLibreGlPlatform
.Usage