SitumMapView constructor
const
SitumMapView({
- required Key key,
- required String situmUser,
- required String situmApiKey,
- required String buildingIdentifier,
- required SitumMapViewCallback loadCallback,
- String googleMapsApiKey = "",
- SitumMapViewCallback? didUpdateCallback,
- bool useHybridComponents = true,
- TextDirection directionality = TextDirection.ltr,
- bool enablePoiClustering = true,
- String searchViewPlaceholder = "Situm Flutter Wayfinding",
- bool useDashboardTheme = true,
- bool showPoiNames = true,
- bool hasSearchView = true,
- bool lockCameraToBuilding = false,
- bool useRemoteConfig = true,
- int initialZoom = 18,
- int minZoom = 15,
- int maxZoom = 21,
- bool showFloorSelector = true,
- bool showPositioningButton = true,
- DirectionsSettings? directionsSettings,
Implementation
const SitumMapView({
required Key key,
required this.situmUser,
required this.situmApiKey,
required this.buildingIdentifier,
required this.loadCallback,
this.googleMapsApiKey = "",
this.didUpdateCallback,
this.useHybridComponents = true,
this.directionality = TextDirection.ltr,
this.enablePoiClustering = true,
this.searchViewPlaceholder = "Situm Flutter Wayfinding",
this.useDashboardTheme = true,
this.showPoiNames = true,
this.hasSearchView = true,
this.lockCameraToBuilding = false,
this.useRemoteConfig = true,
this.initialZoom = 18,
this.minZoom = 15,
this.maxZoom = 21,
this.showNavigationIndications = true,
this.showFloorSelector = true,
this.showPositioningButton = true,
this.navigationSettings,
this.directionsSettings,
}) : super(key: key);