Skip to Content
0

new to UI5, unable to highlight a region on AnalyticMap

Mar 23, 2017 at 05:53 AM

23

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers