mapmyindia_nearby_plugin 0.2.0
mapmyindia_nearby_plugin: ^0.2.0 copied to clipboard
A Flutter plugin for integrating MapmyIndia Nearby widget in a Flutter application on Android and iOS platfroms.
Flutter MapmyIndia Nearby Widget #
The MapmyIndia Nearby Widget makes it easy to integrate the functionality to search nearby POIs for selected categories in your Flutter application. The Nearby Search widget provided as a means to enable radially search for Nearby Places on MapmyIndia Maps. The widget offers the following basic functionalities:
- Ability to search for nearby places directly with MapmyIndia Maps visual interface.
- A single method to initiate nearby search across all categories of places available on MapmyIndia.
- Ability to get information from MapmyIndia Nearby Search widget through a callback.
This can be done by following simple steps.
Getting Started #
To work with MapmyIndia nearby Widget in flutter add these to your package's pubspec.yaml file:
dependencies:
mapmyindia_nearby_plugin: ^0.2.0
Now in your dart code you need to import this package:
import 'package:mapmyindia_nearby_plugin/mapmyindia_nearby_plugin.dart';
Adding MapmyIndia Keys #
You must provide your keys through the MapmyIndiaAccountManager
class.(click here)
Nearby Widget #
Use method openPlaceAutocomplete
to open Place Autocomplete Widget:
// Platform messages may fail, so we use a try/catch PlatformException.
try {
NearbyResult nearbyResult = await openNearbyWidget();
} on PlatformException {
}
Email us at apisupport@mapmyindia.com
Ask a question under the mapmyindia-api
Need support? contact us!
Read about the latest updates & customer stories
© Copyright 2022. CE Info Systems Ltd. All Rights Reserved. | Terms & Conditions.