geocode 0.1.1 copy "geocode: ^0.1.1" to clipboard
geocode: ^0.1.1 copied to clipboard

outdated

Package to make Geocode requests. It exposes two methods to translate coordinates into locations and addresses into coordinates.

example/main.dart

import 'package:geocode/geocode.dart';

void main() async {
  GeoCode geoCode = GeoCode();

  try {
    Coordinates coordinates = await geoCode.forwardGeocoding(
        address: "532 S Olive St, Los Angeles, CA 90013");

    print("Latitude: ${coordinates.latitude}");
    print("Longitude: ${coordinates.longitude}");
  } catch (e) {
    print(e);
  }
}
114
likes
0
pub points
97%
popularity

Publisher

verified publisherimanol.dev

Package to make Geocode requests. It exposes two methods to translate coordinates into locations and addresses into coordinates.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http

More

Packages that depend on geocode