geoURI property

String get geoURI

Implementation

String get geoURI {
  final result = StringBuffer();
  result.write('geo:');
  result.write(latitude);
  result.write(',');
  result.write(longitude);
  if (altitude > 0) {
    result.write(',');
    result.write(altitude);
  }
  if (query != null) {
    result.write('?');
    result.write(query);
  }
  return result.toString();
}