Overview
A Flutter plugin extending flutter_map with a tappable Polyline class that supports onTap events, enabling interactive map routes. It allows users to detect when a polyline on a map is tapped, enhancing user engagement for navigation or route visualization. Built for compatibility across Android, iOS, Web, macOS, Windows, and Linux, it integrates seamlessly into existing flutter_map projects. The package is lightweight and focused, providing only the essential functionality for touch interaction on polylines.
Use cases
- Interactive route selection
- Map-based navigation highlights
- User-triggered polyline actions
- Visualizing dynamic paths with feedback
- Enhancing map UX with tap interactions
Key features
- OnTap event support for polylines
- Seamless integration with flutter_map
- Cross-platform compatibility
- Lightweight and focused design
- Supports all major Flutter platforms
Suitable for
- Developers building interactive maps
- Apps requiring user input on map lines
- Navigation or routing applications
- Projects using flutter_map with enhanced interactivity
Considerations
- Requires flutter_map to be installed
- Limited to polyline tap detection
- No built-in styling customization
- May require additional handling for complex tap logic
- Depends on upstream flutter_map updates