Skip to Content

new to UI5, unable to highlight a region on AnalyticMap

my code:-

jQuery.sap.require( "sap.ui.vbm.AnalyticMap");
    var oMap = new sap.ui.vbm.AnalyticMap({
            width:"100%",
            height: '100%',
            plugin: false,
            regions: {
                template: new sap.ui.vbm.Region({
                    code: 'NA',
                    color: '#fff',
                })
            } 
        });
        return new sap.m.Page({
            title: "Maps",
            content: [oMap]
        });

I am trying to highlight a region on the map, but may be I am not following the API properly, any help is appreciated

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers