flutter_overpass 1.2.0 copy "flutter_overpass: ^1.2.0" to clipboard
flutter_overpass: ^1.2.0 copied to clipboard

Flutter plugin to use overpass api with flutter. Support both Android and iOS.

Flutter Overpass Plugin #

A Flutter plugin to get data from overpass api https://overpass-turbo.eu and https://nominatim.openstreetmap.org. Support Android and iOS. Feel free to contribute.

Features #

  • ✅ Get nearby places by coordinate and radius.
  • ✅ Use raw Overpass QL to get result
  • ✅ Fetch place by coordinates given
  • ✅ Search by address

How to use #

final flutterOverpass = FlutterOverpass();

// Fetch nearby nodes by coordinates and radius given.
final nearbyPlaces = await flutterOverpass.getNearbyNodes(
          latitude: -122.3838801383972,
          longitude: 37.79396544487583,
          radius: 200,
        );

// Fetch data by executing Overpass QL.
final rawResults = await flutterOverpass.rawOverpassQL('node(around:200,37.79396544487583,-122.3838801383972);');

// Fetch place by coordinates given.
final places = await flutterOverpass.getPlaceFromCoordinate(
          latitude: -122.3838801383972,
          longitude: 37.79396544487583,
        );

// Search by address.
final places = await flutterOverpass.searchAddress(
          address: 'Rihanna Drive',
        );

For more queries you can visit here: Overpass QL

4
likes
110
points
692
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin to use overpass api with flutter. Support both Android and iOS.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio, equatable, flutter, json_annotation, plugin_platform_interface

More

Packages that depend on flutter_overpass