flutter_map_compass 1.0.1 copy "flutter_map_compass: ^1.0.1" to clipboard
flutter_map_compass: ^1.0.1 copied to clipboard

A simple compass for flutter_map. It shows the rotation of the map and resets the rotation back to 0 when tapped.

example/example.md

Basic usage #

@override
Widget build(BuildContext context) {
  return FlutterMap(
    options: MapOptions(),
    children: [
      TileLayer(
        urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
      ),
      const MapCompass.cupertino(),
    ],
  );
}

Need more information? #

8
likes
0
pub points
87%
popularity

Publisher

verified publisherjoscha-eckert.de

A simple compass for flutter_map. It shows the rotation of the map and resets the rotation back to 0 when tapped.

Repository (GitHub)
View/report issues

Topics

#flutter-map #map

License

unknown (license)

Dependencies

cupertino_icons, flutter, flutter_map

More

Packages that depend on flutter_map_compass