mapsindoors_mapbox 4.0.1 mapsindoors_mapbox: ^4.0.1 copied to clipboard
A MapsIndoors flutter plugin using the Mapbox platform for Android and iOS app usage.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add mapsindoors_mapbox
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
mapsindoors_mapbox: ^4.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:mapsindoors_mapbox/core/mapsindoors.dart';
import 'package:mapsindoors_mapbox/core/mapsindoors_widget.dart';
import 'package:mapsindoors_mapbox/core/mp_default_floor_selector.dart';
import 'package:mapsindoors_mapbox/core/mp_directions_renderer.dart';
import 'package:mapsindoors_mapbox/core/mp_directions_service.dart';
import 'package:mapsindoors_mapbox/core/mp_floor_selector.dart';
import 'package:mapsindoors_mapbox/core/mp_map_label_font.dart';
import 'package:mapsindoors_mapbox/mapsindoors.dart';