map_launcher_ohos 1.0.0 copy "map_launcher_ohos: ^1.0.0" to clipboard
map_launcher_ohos: ^1.0.0 copied to clipboard

Map Launcher is a flutter plugin to find available maps installed on a device and launch them with a marker or show directions.

map_launcher_ohos #

Flutter插件,用于根据经纬度信息打开已安装的地图应用,起掉定位和导航功能

Usage #

dependencies:
    map_launcher: any
    map_launcher_ohos: any

Example #

import 'package:map_launcher_ohos/map_launcher.dart';

static Future<List<AvailableMap>> get installedMaps async {
    final maps = await _channel.invokeMethod('getInstalledMaps');
    return List<AvailableMap>.from(
      maps.map((map) => AvailableMap.fromJson(map)),
    );
  }

Future<dynamic> showMarker({});
Future<dynamic> showDirections({});
0
likes
130
points
12
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Map Launcher is a flutter plugin to find available maps installed on a device and launch them with a marker or show directions.

Homepage

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on map_launcher_ohos

Packages that implement map_launcher_ohos