MFBuilding constructor
const
MFBuilding({
- required MFBuildingId buildingId,
- bool consumeTapEvents = false,
- String name = '',
- MFLatLng position = const MFLatLng(0, 0),
- List<
MFLatLng> coordinates = const <MFLatLng>[], - String modelUrl = '',
- String textureUrl = '',
- double height = 1,
- double scale = 1,
- double bearing = 0,
- double elevation = 0,
- bool selected = false,
- bool visible = true,
- VoidCallback? onTap,
Creates an immutable representation of a MFPOI to draw on Map4dMap
.
Implementation
const MFBuilding(
{required this.buildingId,
this.consumeTapEvents = false,
this.name = '',
this.position = const MFLatLng(0, 0),
this.coordinates = const <MFLatLng>[],
this.modelUrl = '',
this.textureUrl = '',
this.height = 1,
this.scale = 1,
this.bearing = 0,
this.elevation = 0,
this.selected = false,
this.visible = true,
this.onTap});