launchCoordinates static method

Future<bool> launchCoordinates(
  1. double latitude,
  2. double longitude, [
  3. String? label
])

Launches the maps application for this platform. The maps application will show the specified coordinates. Returns a Future that resolves to true if the maps application was launched successfully, false otherwise.

Implementation

static Future<bool> launchCoordinates(double latitude, double longitude,
    [String? label]) {
  return launchUrl(createCoordinatesUri(latitude, longitude, label));
}