FmMap constructor

const FmMap({
  1. Key? key,
  2. MapController? mapController,
  3. FmPolylineOptions? polylineOptions,
  4. TextStyle? attributionStyle,
  5. List<Marker> markers = const [],
  6. MapOptions mapOptions = const MapOptions(),
  7. Alignment attributionAlignment = Alignment.bottomLeft,
  8. String urlTemplate = 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
})

Creates an interactive geographical map

Implementation

const FmMap({
  super.key,
  this.mapController,
  this.polylineOptions,
  this.attributionStyle,
  this.markers = const [],
  this.mapOptions = const MapOptions(),
  this.attributionAlignment = Alignment.bottomLeft,
  this.urlTemplate = 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
});