canLaunch method

Future<bool> canLaunch(
  1. {String query,
  2. GeoPoint geoPoint,
  3. Zoom zoom,
  4. MapType mapType}
)

Inquires whether the map can be launched.

Implementation

Future<bool> canLaunch({
  String query,
  GeoPoint geoPoint,
  Zoom zoom,
  MapType mapType,
}) {
  return buildUrl(
    query: query,
    geoPoint: geoPoint,
    zoom: zoom,
    mapType: mapType,
  ).then((url) {
    return impl.canLaunch(url);
  });
}