Geo-Analytics API is an API set that gives the users the power to display & style the data which is archived in Mappls pan-India database and overlay it on Mappls Interactive Maps JS API for web.
Listing API is an API that gives the users information on the different layers & attributes available within Geo-Analytics Core APIs. This API acts as an assisting API to quickly get the necessary details that are required to accurately fetch the required overlays from the core Geo-Analytics APIs.
It that provide list of attributes along with unique ID. User can get bounding box of the required feature/area as well.
MapplsGeoAnalyticsList mapplsGeoAnalyticsList = MapplsGeoAnalyticsList.builder()
.api("state")
.attributes("b_box")
.geoBound(geobound)
.geoBoundType(geoboundType)
.build();
//To call in a Foreground Thread
MapplsGeoAnalyticsListManager.newInstance(mapplsGeoAnalyticsList).call(new OnResponseCallback<GeoAnalyticsListResponse>() {
@Override
public void onSuccess(GeoAnalyticsListResponse geoAnalyticsListResponse) {
//Handle response
}
@Override
public void onError(int i, String s) {
}
});
//OR
//To call in a Background Thread
MapplsGeoAnalyticsListManager.newInstance(mapplsGeoAnalyticsList).execute();
For more info visit here: mappls-android-sdk/docs/v1.0.7/Geoanalytics.md at main · mappls-api/mappls-android-sdk · GitHub