PackageTrack
Sign in Get early access

any_map

Unified map abstraction for Flutter. One API to swap Google Maps, MapLibre, or OSM. Routing, traffic, geofencing, clustering, analytics, and 30+ features.

1.0.0 50 downloads/mo #4400 most downloaded on pub.dev ramprasad090/any_map

What this package is like to depend on

Last release 4 months ago

29 Mar 2026

Too new to tell

only 2 dated releases

Nearly every release is documented

notes for 2 of 2 stable releases

Nothing withdrawn

no release was ever pulled

5 months old

2 releases · first in 2026

2 releases in the last 12 months

see the full history below

Release timeline

2 releases · Mar 2026 to Mar 2026
Release Pre-release

Releases

latest 2
  1. 1.0.0 29 Mar 2026
    Release notes

    New features

    • Reactive streamscameraPositionStream and visibleBoundsStream on AnyMapController for live camera updates
    • User location layerAnyUserLocationLayer widget with pulsing accuracy ring, heading wedge, and blue dot
    • Marker popupAnyMarkerPopup widget that tracks camera movement and floats above any marker
    • Animated polyline drawinganimatePolyline() progressively reveals a route over a configurable duration
    • Bounds with insetsfitBoundsWithInsets() supports per-edge padding (top/right/bottom/left)
    • GeoJSON improvementsAnyGeoJsonLayer.fromString() factory and fromAsset() async loader
    • Tile cachingAnyCachingTileProvider with LRU in-memory cache, optional AnyTileStore for durable storage, TTL expiry, and hit/miss stats
    • Snapshot / screenshottakeSnapshot() returns a dart:ui Image of the current map view
    • Error handlingAnyMapError typed errors with AnyMapErrorType enum; onError callback on AnyMapWidget
    • Fake adapter for testingAnyMapFakeAdapter and AnyMapFakeController record all calls for widget tests without a real map view
    • Distance matrixAnyDistanceMatrix computes travel time and distance for multiple origin→destination pairs via OSRM Table API (free, no API key)
    • Map matching / GPS snappingAnyMapMatcher snaps noisy GPS traces to the road network via OSRM Match API
    • Route optimizationAnyRouteOptimizer solves multi-stop TSP via OSRM Trip API and returns the optimal stop order
    • Nearby POI searchAnyPlaces.search() queries Overpass API for restaurants, hospitals, ATMs, parks, and more (free, no API key)
    • Photon geocoding providerPhotonSearchProvider backed by Komoot's free public Photon server (no API key, self-hostable)
    • Pelias geocoding providerPeliasSearchProvider for self-hosted Pelias instances (free and open-source)
    • OpenCage geocoding providerOpenCageSearchProvider with 2,500 requests/day free tier
    • Places search field widgetAnyPlacesSearchField drop-in search bar with debounce, loading indicator, overlay dropdown, clear button, and custom item builder

    Breaking changes

    • AnyMapController now declares five new abstract members that all adapters must implement: cameraPositionStream, visibleBoundsStream, fitBoundsWithInsets(), animatePolyline(), takeSnapshot()

    Testing

    • 85 unit tests covering AnyLatLng, AnyLatLngBounds, PolylineCodec, AnyClusterEngine, AnyMatrixCell, AnyOptimizedRoute, AnyMapMatchResult, AnyRoute, AnySpeedLimit, AnyFuelConfig, AnyTripLogger, AnyTripSummary, AnyGeofence, AnyGeofenceEngine, AnyCachingTileProvider, AnyGeoJsonLayer, and AnyCacheStats

    Open source →
  2. 0.1.0 25 Mar 2026
    Release notes
    • Initial release
    • Unified map abstraction — one API for Google Maps, MapLibre, and OSM
    • Core models: AnyLatLng, AnyLatLngBounds, AnyCameraPosition, AnyMapStyle
    • Overlay models: AnyMarker, AnyPolyline, AnyPolygon, AnyCircle
    • AnyMapController interface with camera, overlays, conversion, style methods
    • AnyMapWidget with full gesture and callback support
    • Marker clustering: AnyClusterEngine (grid-based) and AnyClusterLayer widget
    • Routing: AnyRoute, AnyRouteStep with turn-by-turn navigation
    • Route options: avoidTolls, avoidHighways, avoidFerries, departure time
    • Lane guidance: AnyLaneInfo with active/inactive lane directions
    • Speed limits: AnySpeedLimit with km/h and mph
    • Road annotations: bridge/flyover, tunnel, toll, ferry, motorway detection
    • Traffic-colored routes: per-segment congestion coloring (green/yellow/red)
    • Traffic models: AnyTrafficIncident, AnyTrafficFlow, AnyTrafficProvider
    • Routing providers: OsrmRoutingProvider, ValhallaRoutingProvider, GraphHopperRoutingProvider
    • Polyline codec: encode/decode Google polyline format (precision 5 and 6)
    • Places search: NominatimSearchProvider (free, no API key)
    • Reverse geocoding support
    • Place details model: hours, rating, phone, website, photos, price level
    • Geofencing: circular and polygon geofences with enter/exit/dwell events
    • Heatmap layer: weighted points with configurable gradient
    • GeoJSON layer: parse FeatureCollections to markers, polylines, polygons
    • Animated polylines: progressive draw animation with progress control
    • Gradient polylines: color interpolation along path
    • Voice guidance: TTS abstraction with pre-announcement and instruction generation
    • Automatic rerouting: deviation detection with configurable threshold
    • Location tracking: AnyUserLocation model with heading, accuracy, altitude, speed
    • Follow modes: none, followLocation, followLocationWithBearing
    • Offline maps: AnyOfflineManager interface with region download and cache config
    • Isochrone: reachability contours with ValhallaIsochroneProvider
    • Trip analytics: distance, duration, fuel, CO2, eco score, harsh event detection
    • Fuel estimation: petrol, diesel, electric, hybrid, CNG, LPG
    • Crowdsourced reports: Waze-style incident reporting (jam, accident, police, hazard)
    • Indoor maps: venue, floor, and POI models with provider interface
    • EV routing: battery level, capacity, consumption in route requests
    • Truck routing: height, weight, width, length restrictions
    • Vehicle types: car, truck, bicycle, pedestrian, electric vehicle
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive