Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member182119
Active Participant
0 Kudos

Today we are pleased to announce the release of version 1.26 of the VBM library shipped as part of SAPUI5!

With this version we introduce the GeoMap control, which aims to hide the complexity of the JSON interface of the VBI control.

Using the GeoMap control you declare Visual Objects in the usual SAPUI5 syntax as aggregations including model binding support:

var oVBI = new sap.ui.vbm.GeoMap('vbi', {

    width : "100%",

    height: 512,

    vos: [ new sap.ui.vbm.Spots( "spots1", {

                             items: { path : "/Spots",

                                          template: new sap.ui.vbm.Spot(  {

                                                            text: '{key}',

                                                            position: '{pos}',

                                                            tooltip: '{tooltip}',

                                                            image: '{pin}',

                             }  )

            } } ) ]

    });

You find an editable example in the 1.26 SAPUI5 SDK - Demo Kit. This sample uses a simple JSON model, which you may edit on the fly. Of cause the control works also with other model, e.g. oData models.

The first version does not yet support all features of the VBI control, but we work hard to catch up. We hope the new control will ease the use of Visual Business in the UI5 environment.

14 Comments