flutter_map_interactive 0.1.0
flutter_map_interactive: ^0.1.0 copied to clipboard
A powerful Flutter Map plugin adding collision detection, interactive editing (drag, rotate, resize, undo/redo), and state management for markers, polylines, and image overlays.
0.1.0 #
- Initial release of
flutter_map_interactive. - Interactive Markers:
InteractiveMarkerLayerwith collision detection strategies (StickyGoldenFanStrategy,OrbitStrategy,SpiralStrategy,RadialFanStrategy,NearestStrategy).- Spatial indexing (
SpatialIndex) for fast hit testing on large marker datasets. - Interactive states: tap, hover, long press, drag-and-drop, dynamic label placement, popups, and contextual action menus (
MarkerActionMenu,TrashMarkerAction,ExpandableMarkerAction).
- Interactive Polylines:
InteractivePolylineLayerwith vertex editing handles, whole-shape drag, andPolylineHandleOptions.
- Interactive Image Overlays:
InteractiveOverlayLayerwith 4-corner repositioning (QuadLatLng), edge translation, and rotation handles.- Padded quad hit-testing for easy selection and manipulation.
- Unified State & History Management:
InteractiveController<T>with concrete implementations (MarkerController,PolylineController,OverlayController).- Full transactional undo/redo history with configurable merge delay.
- Save, discard, and abort lifecycle states.
- Reactive event stream (
InteractiveEvent) emitting interaction, CRUD, drag, and history events.
- Reactive Widgets & Pre-built Controls:
ListenableSelector&CombinedSelectorfor fine-grained rebuild optimization.EditModeToggleButton,EditModeUndoButton,EditModeRedoButton, andMapCenterButton.- Scoped inherited widgets (
InteractiveMarkerScope,InteractivePolylineScope,InteractiveOverlayScope).