Skip to Content

sap.ui.vbm.AnalyticMap not able to change selection and default color region

north-america.txt

Hi all,

I am trying to show north america region as a map. But with the default constructor of sap.ui.vbm.AnalyticMap it is giving world map. Please guide how to select only map of north america.

Below is my code for the same. I have attached the north-america.json/.txt for this code.

return Controller.extend("my-proj.controller.Page3", {
onInit : function(){
this.getView().addStyleClass(this.getOwnerComponent().getContentDensityClass());
sap.ui.vbm.AnalyticMap.GeoJSONURL = "json/north-america.json";
}
}
north-america.txt (92.3 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    May 16 at 08:44 PM

    check the sample app

    Add comment
    10|10000 characters needed characters exceeded