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.cyan,
        markerAsset: 'assets/images/icon_look_area.png',
        enableFreeDraw: true,
      )));

Pick address

PlacePickerResult pickerResult = await Navigator.push(context, MaterialPageRoute(builder: (context) =>  PlacePickerScreen(
        googlePlacesApiKey: GOOGLE_PLACES_API_KEY,
        initialPosition: DEFAULT_LAT_LNG,
        mainColor: Colors.cyan,
      )));

Libraries

map_area_picker
map_place_picker