Search packages, repositories and app categories

Package detailsv0.3.4

animated_marker

Animate Google Maps markers smoothly between location updates.

AndroidiOSWeb
30-day downloads
3.9K
Likes
32
Pub points
160

Install package

flutter pub add animated_marker

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The animated_marker package enhances Google Maps integration in Flutter by enabling smooth, animated transitions between marker positions. It automatically handles location updates with fluid movement, improving user experience during real-time tracking or navigation scenarios. Designed for developers seeking polished map interactions without complex custom animation logic, it works seamlessly across Android, iOS, and web platforms. The package is lightweight and easy to integrate, making it ideal for apps requiring dynamic marker behavior.

Use cases

  • Real-time GPS tracking
  • Navigation apps
  • Ride-sharing applications
  • Live location sharing
  • Map-based dashboards

Key features

  • Smooth marker animations
  • Automatic position interpolation
  • Cross-platform support (Android, iOS, Web)
  • Simple API integration
  • Lightweight and efficient

Suitable for

  • Developers building real-time tracking features
  • Apps requiring visual feedback on location changes
  • Flutter projects using Google Maps
  • Teams prioritizing UX in map interfaces

Considerations

  • Requires Google Maps SDK setup
  • Limited to marker-specific animations
  • Not suitable for non-geolocation use cases
  • Dependent on accurate location data input

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Animated Marker

AnimatedMarker smoothly animates google_maps_flutter markers whenever their position or rotation changes.

Features

  • Animate marker movement and rotation automatically.
  • Keep non-moving markers separate via staticMarkers.
  • Tune motion with duration, curve, and fps.
  • Plug into any GoogleMap via a simple builder.

Installation

dependencies:
  animated_marker: ^0.2.0

Usage

AnimatedMarker(
  staticMarkers: staticMarkers,
  animatedMarkers: animatedMarkers,
  duration: const Duration(seconds: 3),
  fps: 30,
  curve: Curves.easeOut,
  builder: (context, markers) {
    return GoogleMap(
      initialCameraPosition: const CameraPosition(
        target: LatLng(37.77483, -122.41942),
        zoom: 13,
      ),
      markers: markers,
    );
  },
);

Use this widget when your marker set is driven by live updates (vehicles, delivery tracking, moving assets, etc.) and you want smooth transitions instead of marker jumps.

Categories

Dependencies

Dependency list 1 items

  • google_maps_flutter_platform_interface^2.17.0

Source repository

Projects using this package

No data available yet.