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

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);
  }
}
118
likes
150
points
8.54k
downloads

Publisher

verified publisherimanol.dev

Weekly Downloads

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

http

More

Packages that depend on geocode