How to initialize and Show geo analytics layer on map in an android application?

Follow the steps below to visualize the geo analytics layer on map :

Add the dependency

Add below dependency in app level build.gradle file

implementation 'com.mappls.sdk:geoanalytics-plugin:1.1.0'
Initialize GeoAnalytics Manager
MapplsGeoAnalyticsPlugin geoAnalyticsPlugin = new MapplsGeoAnalyticsPlugin(mapView, mapplsMap);  
Show GeoAnalytics layer
geoAnalyticsPlugin.showGeoAnalytics(MapplsGeoAnalyticsType.STATE, MapplsGeoAnalyticsRequest.builder().attribute("t_p").query(">0").geoboundType("stt_nme").geoBound("HARYANA", "KERALA")  
        .propertyNames("stt_nme", "stt_id").style(new GeoAnalyticsAppearanceOption().fillColor("42a5f4").fillOpacity(0.5).strokeColor("000000").labelSize(10).strokeWidth(0).labelColor("000000")).build());  

For info visit here : mappls-android-sdk/docs/v1.0.7/Geoanalytics.md at main · mappls-api/mappls-android-sdk · GitHub