-
Notifications
You must be signed in to change notification settings - Fork 14
MapmyIndia Interactive Layer Plugin
In the current scenario, where social distancing is paramount, technology is playing a key role in maintaining daily communication and information transfer. MapmyIndia is serving individuals, companies and the government alike, to spread critical information related to COVID-19 through deeply informative, useful and free-to-integrate geo-visualized COVID-19 Layers in your application.
Simply plug these easy-to-integrate and COVID-19 Layers into your applications, and offer a seamless information experience to your users.
To get all interactive layers:
mapmyIndiaMap.getInteractiveLayer(new MapboxMap.InteractiveLayerLoadingListener() {
@Override
public void onLayersLoaded(List<InteractiveLayer> list) {
}
});mapmyIndiaMap?.getInteractiveLayer(object: MapboxMap.InteractiveLayerLoadingListener {
override fun onLayersLoaded(list: List<InteractiveLayer>?) {
}
})To show Interactive Layers:
mapmyIndiaMap.showInteractiveLayer(interactiveLayer);mapmyIndiaMap?.showInteractiveLayer(interactiveLayer)To hide Interactive Layers:
mapmyIndiaMap.hideInteractiveLayer(interactiveLayer);mapmyIndiaMap?.hideInteractiveLayer(interactiveLayer)To Enable/Disable info window on click of Interactive Layer
mapmyIndiaMap.showInteractiveLayerInfoWindow(false);mapmyIndiaMap?.showInteractiveLayerInfoWindow(false)To get the Interactive Layer Detail when clicked on Layer
mapmyIndiaMap.setOnInteractiveLayerClickListener(new MapboxMap.OnInteractiveLayerClickListener() {
@Override
public void onInteractiveLayerClicked(InteractiveItemDetails interactiveItemDetails) {
}
});
mapmyIndiaMap?.setOnInteractiveLayerClickListener(object : MapboxMap.OnInteractiveLayerClickListener {
override fun onInteractiveLayerClicked(interactiveItemDetails: InteractiveItemDetails?) {
}
})For any queries and support, please contact:

Stack Overflow
Ask a question under the mapmyindia-api
Support
Need support? contact us!
Blog
Read about the latest updates & customer stories
© Copyright 2020. CE Info Systems Pvt. Ltd. All Rights Reserved. | Terms & Conditions.
- Map UI Settings
- Set Country Regions
- Set MapmyIndia MapStyle
- REST API Kit
- MapmyIndia GeoAnalytics
- Place Autocomple Widget
- MapmyIndia Safety Plugin
- MapmyIndia Interactive Layer
- MapmyIndia GeoFence View
- MapmyIndia Safety Strip
- MapmyIndia Place Picker
- MapmyIndia Scalebar Plugin
- ELocation Strategy
- MapmyIndia Direction Widget
- MapmyIndia Nearby Search Widget
- Version History
- Country List
