flutter_map_location_picker 0.0.8 copy "flutter_map_location_picker: ^0.0.8" to clipboard
flutter_map_location_picker: ^0.0.8 copied to clipboard

A map location picker using flutter_map with search and pick location for free and without any API key!

flutter_map_location_picker #

Flutter Package Pub Points Popularity

A flutter plugin for picking location by using flutter_map and geocoding. Completely free and highly customizable

github

Demo #

Usage #

Add dependency #

Please check the latest version before installation. If there is any problem with the new version, please use the previous version

dependencies:
  flutter:
    sdk: flutter
  # add flutter_map_location_picker
  flutter_map_location_picker: ^0.0.4

How To Use #

Add the following imports to your Dart code

import 'package:flutter_map_location_picker/flutter_map_location_picker.dart';

You can now add a MapLocationPicker widget to your widget tree. You can process the picked location by using the onPicked parameter.

MapLocationPicker(initialLatitude: null, initialLongitude: null, onPicked: (result){
  // you can get the location result here
  print(result.completeAddress);
  print(result.latitude);
  print(result.longitude);
})
11
likes
140
points
68
downloads

Publisher

verified publisherdevturea.com

Weekly Downloads

A map location picker using flutter_map with search and pick location for free and without any API key!

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_map, geocoding, latlong2

More

Packages that depend on flutter_map_location_picker