MapmyIndia APIs

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

Email us at apisupport@mapmyindia.com

Stack Overflow

Ask a question under the mapmyindia-api

Support

Need support? contact us!

Blog

Read about the latest updates & customer stories

© Copyright 2022. CE Info Systems Ltd. All Rights Reserved. | Terms & Conditions.