geocoder2 1.0.1 copy "geocoder2: ^1.0.1" to clipboard
geocoder2: ^1.0.1 copied to clipboard

outdated

Forward and reverse geocoding is Easy Now.

geocoder2 #

Forward and reverse geocodeing is easy now

Features #

  • Easy To Use
  • No Errors

Code Example #

import 'package:geocoder2/geocoder2.dart';

Get Address #

    FetchGeocoder fetchGeocoder = await Geocoder2.getAddressFromCoordinates(
        latitude: 40.714224,
        longitude: -73.961452,
        googleMapApiKey: "GOOGLE_MAP_API_KEY");
    var first = fetchGeocoder.results.first;
    print(first.formattedAddress);

Get Coordinates #

    FetchGeocoder fetchGeocoder = await Geocoder2.getCoordinatesFromAddress(
        address: "277 Bedford Ave, Brooklyn, NY 11211, USA",
        googleMapApiKey: "GOOGLE_MAP_API_KEY");
    var first = fetchGeocoder.results.first;
    print("${first.geometry.location.lat} , ${first.geometry.location.lng}");
50
likes
0
pub points
95%
popularity

Publisher

verified publisherflutterbuddy.in

Forward and reverse geocoding is Easy Now.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, http

More

Packages that depend on geocoder2