flutter_map_location_picker 0.0.6 copy "flutter_map_location_picker: ^0.0.6" to clipboard
flutter_map_location_picker: ^0.0.6 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(onPicked: (result){
    // you can get the location result here
    print(result.address);
    print(result.latitude);
    print(result.longitude);
})
3
likes
140
pub points
73%
popularity

Publisher

unverified uploader

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