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',
      )));

Screenshot

Screenshot

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',
      )));

Screenshot

Screenshot

Libraries

flutter_map_picker