0.0.1 • Published 1 year ago

mappls-insight-sdk v0.0.1

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

Alt text

MapmyIndia Insight : Unleash the full potential of your data

“Most dashboarding tools generate garbage wrapped around colorful graphs and charts.” This was the sentiment shared by a senior executive evaluating the impact of data driven ABI solutions. What lies underneath such evaluation is a fundamental problem with such tools that require specialists to perform data analysis in silos leading to low collaboration between analysts and business. This problem is compounded by lack of deep integration of location intelligence which makes it difficult to ensure its actionability to drive targeted business action.

Mappls Insight has been envisioned to bridge the gap between data and action by making location intelligence a critical enabler for targeted action where business users can design dashboards and communicate business decisions to intended stakeholders.

Insight, by Mappls, is a SaaS platform that allows users to bring together all their data, as well as real-world geospatial data from MapmyIndia and Mappls, to derive and drive insights in easy to consume and communicate dynamic, interactive and intelligent dashboards. Users can build widgets based on data and the type of visualizations that they like, assemble & layout them into dashboards. The real-time filtering and complex geospatial analytics capabilities can help different decision makers and stakeholders see dashboards and widgets based on their roles and rights in the organization to gain enriched contextualized data insights.

This library is MapmyIndia’s Insight Library which helps you to use Widgets and Dashboard already created in MapmyIndia Insight.

To get started, explore Insight.

Setup

We use your Client ID to identify your account details.

To get your Outh2 Rest API Client ID and Client Secret please login to Mappls API Dashboard

Please contact apisupport@mapmyindia.com to get Insight SDK access to your Client ID

After getting the access, you can start with the Insight, or Integrate the Insight SDK in your app.

Getting Started

Install the below mentioned library in your project.

npm install mappls-insight-sdk

Steps to use SDK into your project

Step 1: Import Insight SDK

import { InsightModule } from @mappls-insight-sdk

Step 2: Add InsightModule to the imports in AppModule

    @NgModule({
      declarations: [
       ...
      ],
      imports: [
        ...
        InsightModule
      ],
      providers: []
    })
    export class AppModule { }

Step 3: Import ComponentFactoryResolver in AppComponent

import { ComponentFactoryResolver } from "@angular/core";

Step 4: Inject Dependency of ComponentFactoryResolver in AppComponent

constructor(private componentFactory: ComponentFactoryResolver) { }

Step 5: Initialise InsightComponent in AppComponent

ngOnInit(){
   this.insight = await InsightComponent.initialize(this.clientId, this.clientSecret, this.componentFactory);
}

Step 6: Initialise InsightComponent in AppComponent

<lib-widget [AssetId]='widgetId' [InsightObject]="insight"></lib-widget>

Output

Alt text