mapit 0.0.10 copy "mapit: ^0.0.10" to clipboard
mapit: ^0.0.10 copied to clipboard

MapIt allow you to use map in your app,It will help user to search any place on map and can place marker on map and also can move the user to current location on map.

MapIt #

MapIt package lets you add map in your app,search and place markers.

Installation #

  1. Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
  mapit: ^0.0.10
  1. Import the package and use it in your Flutter App.
import 'package:mapit/mapit.dart';

Example #

There are a number of properties that you can modify:

  • selectedLocation
  • address CallBack

class ShowMapScreen extends StatelessWidget {  
  const ShowMapScreen({Key? key}) : super(key: key);  
  
  @override  
  Widget build(BuildContext context) {  
    return Scaffold(  
      body: Center(  
        child: const GoogleMapScreen(address: (val){
          var location=val;
        },),  
      ),  
    );  
  }  
}

Next Goals #

  • Use address Callback functions. Now, you can specify the save address from GoogleMapScreen.
7
likes
130
pub points
0%
popularity

Publisher

unverified uploader

MapIt allow you to use map in your app,It will help user to search any place on map and can place marker on map and also can move the user to current location on map.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, flutter_google_places_sdk, geoflutterfire2, google_maps_flutter, http, location, permission_handler

More

Packages that depend on mapit