manara_map 1.0.0
manara_map: ^1.0.0 copied to clipboard
A Flutter package for OpenStreetMap-based maps with address search, location services, turn-by-turn directions with live rider tracking, and customizable UI.
1.0.0 #
ManaraMapWidget: OpenStreetMap-based map with device location, debounced reverse geocoding, address search with type-ahead and a customizable search field (searchFieldBuilder), and custom map markers.- Turn-by-turn directions: source/destination picker, route drawing, "Start Routing" rider
tracking, and automatic rerouting when the rider drifts off the current route
(
offRouteThresholdMeters,onRerouting/onRerouted). ManaraRouteMapWidget: a watch-only map for tracking a delivery between a fixed pickup and drop-off, with the same automatic rerouting behavior.- Customization hooks for directions UI:
directionsFieldBuilder,directionsButtonBuilder,directionsMarkerBuilder,directionsRiderMarkerBuilder. ManaraMapControllerfor programmatic pan/zoom, built onflutter_map_animations.- Both widgets take your environment's
baseUrlandtileUrl— the API host and the{z}/{x}/{y}tile template — as required parameters; neither has a built-in default. - Typed exceptions (
ApiException,NetworkException,LocationException,PermissionException) for distinguishing API, network, and location-permission failures.