TMap constructor
const
TMap({
- Key? key,
- LatLng? initialCoordinates,
- List<
TMapPin> pins = const [], - List<
TMapPolyline> polylines = const [], - List<
TMapPolygon> polygons = const [], - String? googleMapApiKey,
- double height = 200,
- double width = double.infinity,
- bool interactive = true,
- ValueChanged<
LatLng> ? onCoordinatesChanged, - MapTileType mapType = MapTileType.osm,
- double zoom = 15,
- double minZoom = 4.0,
- double maxZoom = 17.0,
- double borderRadius = 12,
Implementation
const TMap({
super.key,
this.initialCoordinates,
this.pins = const [],
this.polylines = const [],
this.polygons = const [],
this.googleMapApiKey,
this.height = 200,
this.width = double.infinity,
this.interactive = true,
this.onCoordinatesChanged,
this.mapType = MapTileType.osm,
this.zoom = 15,
this.minZoom = 4.0,
this.maxZoom = 17.0,
this.borderRadius = 12,
});