flutter_map_picker 0.1.2 flutter_map_picker: ^0.1.2 copied to clipboard
This package allows you to pick a point, a circle or a custom area in Google Maps
flutter_map_picker #
Pick an area or a place on google maps
Getting Started #
Follow the steps to integrate Google Maps (https://pub.dev/packages/google_maps_flutter)
Pick area #
AreaPickerResult pickerResult = await Navigator.push(context, MaterialPageRoute(builder: (context) => AreaPickerScreen(
googlePlacesApiKey: GOOGLE_PLACES_API_KEY,
initialPosition: DEFAULT_LAT_LNG,
mainColor: Colors.purple,
mapStrings: MapPickerStrings.spanish(),
placeAutoCompleteLanguage: 'es',
markerAsset: 'assets/images/icon_look_area.png',
)));
Pick address #
PlacePickerResult pickerResult = await Navigator.push(context, MaterialPageRoute(builder: (context) => PlacePickerScreen(
googlePlacesApiKey: GOOGLE_PLACES_API_KEY,
initialPosition: DEFAULT_LAT_LNG,
mainColor: Colors.purple,
mapStrings: MapPickerStrings.spanish(),
placeAutoCompleteLanguage: 'es',
)));