KitMaps class
Small helpers on top of google_maps_flutter — the plugin already does
the heavy lifting (native map surface), so KitForge only adds the
repetitive glue every app ends up writing by hand: LatLng conversion,
bounds-from-points, and a quick marker builder.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
boundsFor(
List< KitLatLng> points) → LatLngBounds -
Computes a
LatLngBoundsthat contains every point — pass toGoogleMapController.animateCamera(CameraUpdate.newLatLngBounds(...))to fit markers on screen. -
fromGoogleLatLng(
LatLng point) → KitLatLng -
marker(
{required String id, required KitLatLng position, String? title, String? snippet, VoidCallback? onTap}) → Marker -
toGoogleLatLng(
KitLatLng point) → LatLng