flutter_map_animated_marker 0.0.3 copy "flutter_map_animated_marker: ^0.0.3" to clipboard
flutter_map_animated_marker: ^0.0.3 copied to clipboard

outdated

Animated marker for flutter_mapp

flutter_map_animated_marker #

Animated Marker for flutter_map

preview

Features #

  • Animated Marker

Getting started #

dependencies:
    flutter_map_animated_marker:

Usage #

return FlutterMap(
      mapController: mapController,
      options: MapOptions(
          center: LatLng(51.509364, -0.128928),
          zoom: 9.2,
          plugins: [AnimatedMarkerPlugin()]),
      layers: [
        TileLayerOptions(
            urlTemplate: "https://tile.openstreetmap.org/{z}/{x}/{y}.png",
          ),
        AnimatedMarkerLayerOptions(
            marker: Marker(
              point: LatLng(0, 0),
              builder: (context) => FlutterLogo(),
            ),
          ),
      ],
    );