Loading...
Searching...
No Matches
DefaultNavigationView Directory Reference

Directories

 dart
 
 java
 
 kotlin
 
 objc
 
 swift
 

Detailed Description

This directory contains examples demonstrating the usage of DefaultNavigationView across all supported platforms.

Overview

DefaultNavigationView is a ready-to-use navigation view with built-in UI controls:

The view automatically hooks SDK listeners (location, sublocation, camera) and keeps widgets in sync.

Key Components

DefaultNavigationView

DefaultNavigationViewConfig (view config)

Widget Configs (passed directly to widgets)

Runtime Customization

Platform-Specific Files

Dart/Flutter

Java

Kotlin

Objective-C

Swift

Key Documentation Tags

DefaultNavigationView Constructor

Config

Widget Configs

Runtime Update

Widget Access

Common Usage Patterns

1. Basic Usage (default config)

onViewCreated: (LocationWindow window) {
locationWindow = window;
},
)

2. Custom Config (hide floor selector, custom accent — configs passed directly)

),
followMeButtonConfig: FollowMeButtonConfig(
accentColor: Color(0xFF30AAD9),
),
onViewCreated: (window) { ... },
)

3. Runtime Config Update

final configController = DefaultNavigationViewController();
configController: configController,
onViewCreated: (window) { ... },
)
// Later, in runtime:
configController.updateConfig(
followMeConfig: FollowMeButtonConfig(accentColor: Color(0xFFFF0000)),
);

4. Direct Widget Access (Android/Java/iOS)

// Get widgets for advanced customization
ZoomControls zoomControls = navigationView.getZoomControls();
FollowMeButton followMeButton = navigationView.getFollowMeButton();
FloorSelectorView floorSelector = navigationView.getFloorSelectorView();

Visibility Flags

Notes