map4d_map library Null safety

Classes

MFBitmap
Defines a bitmap image. For a marker, this class can be used to set the image of the marker icon. For a ground overlay, it can be used to set the image to place on the surface of the earth.
MFBuilding
Draws a Building on the Map
MFBuildingId
Uniquely identifies a MFBuilding among MFMapView buildings.
MFCameraPosition
MFCameraUpdate
MFCircle
Draws a circle on the map.
MFCircleId
Uniquely identifies a MFCircle among Map4dMap circles.
MFDirectionsPOIOptions
MFDirectionsRenderer
Draws a gon through geographical locations on the map.
MFDirectionsRendererId
Uniquely identifies a MFDirectionsRenderer among MFMapView directions renderer.
MFImageOverlay
A set of images which are displayed on top of the base map tiles.
MFImageOverlayId
Uniquely identifies a MFImageOverlay among Map4dMap image overlays.
MFInfoWindow
Text labels for a Marker info window.
MFLatLng
MFLatLngBounds
MFMapView
MFMapViewController
MFMarker
MFMarkerId
MFMinMaxZoom
MFPOI
Draws a POI on the map.
MFPOIId
Uniquely identifies a MFPOI among Map4dMap pois.
MFPolygon
Draws a gon through geographical locations on the map.
MFPolygonId
Uniquely identifies a MFPolygon among MFMapView polygons.
MFPolyline
Draws a line through geographical locations on the map.
MFPolylineId
Uniquely identifies a MFPolyline among MFMapView polylines.
MFPolylineStyle
Styles for MFPolyline.
MFScreenCoordinate
Represents a point coordinate in the Map4D's view.
MFTileOverlay
A set of images which are displayed on top of the base map tiles.
MFTileOverlayId
Uniquely identifies a MFTileOverlay among Map4dMap tile overlays.

Enums

MFMapType
Type of maps to display

Typedefs

MFCameraPositionCallback = void Function(MFCameraPosition position)
Callback that receives updates to the camera position. This is used in MFMapView.onCameraMove.
MFDirectionsCallback = void Function(int routeIndex)
MFLatLngCallback = void Function(MFLatLng coordinate)
MFMapBuildingCallback = void Function(String buildingId, String name, MFLatLng location)
MFMapCreatedCallback = void Function(MFMapViewController controller)
Pass to Map4dMap.onMapCreated to receive a MFMapViewController when the map is created.
MFMapPlaceCallback = void Function(String name, MFLatLng location)
MFMapPOICallback = void Function(String placeId, String name, MFLatLng location)
MFModeChangedCallback = void Function(bool is3DMode)
@Deprecated('This type is no longer support, which is subject to removal in a future versions.')

Exceptions / Errors

UnknownMapObjectIdError
Error thrown when an unknown map object ID is provided to a method.