flutter_map_location_marker library
A flutter_map plugin for displaying device current location.
Classes
- AnimatedLocationMarkerLayer
-
A layer for location marker in
FlutterMap
with animation. - CurrentLocationLayer
-
A layer for current location marker in
FlutterMap
. - DefaultLocationMarker
- The default Widget that shows the device's position. By default, it is a blue circle with a white border. The color can be changed and a child can be displayed inside the circle.
- FocalPoint
- The FocalPoint class defines a screen point to align a marker on the map during a focus event. It uses a combination of a normalized coordinate ratio and a pixel offset to determine the marker's final position on the map widget.
- HeadingSector
- A CustomPainter that draws a sector for displaying the device's heading.
- LocationMarkerDataStreamFactory
- Helper class for converting the data stream which provide data in required format from stream created by some existing plugin.
- LocationMarkerHeading
- A angle with accuracy for marker rendering.
- LocationMarkerIndicators
- An object to store indicators widget for special status of CurrentLocationLayer.
- LocationMarkerLayer
-
A layer for location marker in
FlutterMap
. - LocationMarkerPosition
- A position with accuracy for marker rendering.
- LocationMarkerStyle
- An immutable style describing how to format and paint the location marker.
Enums
- AlignOnUpdate
- Determines whether an 'align position event' or 'align direction event' should be emitted upon location or heading updates.
- MarkerDirection
- Define how should the marker rotate.
Typedefs
-
RequestPermissionCallback
= FutureOr<
LocationPermission> Function() - Signature for callbacks of permission request.
Exceptions / Errors
- IncorrectSetupException
- An exception thrown when the required platform specific setup steps have not been correctly done, such as permission definitions could not be found in the AndroidManifest.xml file on Android or in the Info.plist file on iOS.
- PermissionDeniedException
- An exception thrown when trying to access the device's location information while access is denied.
- PermissionRequestingException
- An exception thrown when requesting location permissions while an earlier request has not yet been completed.
- ServiceDisabledException
- An exception thrown when trying to access the device's location information while the location service on the device is disabled.