open_street_map_search_and_pick library
Classes
- LatLong
- Represents a Latitude and Longitude coordinate pair.
- OpenStreetMapSearchAndPick
- OSMdata
- Represents a search result from the Nominatim API.
- PickedData
- Data returned when a location is picked.
- PinData
- Represents a pin to be drawn on the map.
- RouteData
- Represents a polyline route to be drawn on the map.
- RouteResult
- The full result from an OSRM route request.
- RouteStep
- A single turn-by-turn instruction.
- RoutingManager
- Manages all routing logic separately from the main widget. Keeps OpenStreetMapSearchAndPick clean.
- RoutingPanelStyle
- Defines the style of the bottom sheet routing panel.
- RoutingState
- State for a single routing session.
- RoutingStyle
- Defines the style of the routing path and markers drawn on the map.
- ZoneData
- Represents a zone to be drawn on the map as a circle.
Enums
- TravelMode
- Travel mode for OSRM routing.
Functions
-
boundsFromPoints(
List< LatLng> points) → LatLngBounds -
Computes a bounding box around a set of
LatLngpoints. Used to auto-fit the map camera to the route.