Skip to Content
0

how to fit sapui5 anlytical map to the panel (height and width)

Mar 11 at 09:54 AM

89

avatar image
Former Member

i want to view entire world map inside my div element

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

1 Answer

Prachi Chaskar Mar 12 at 10:49 AM
0

Use below code:-

xmlns="sap.m"

xmlns:vbm="sap.ui.vbm"

<Panel width="auto">
<headerToolbar>
<Toolbar height="3rem">
<Title text="Panel"/>
</Toolbar>
</headerToolbar>
<content>
<vbm:AnalyticMap  xmlns:l="sap.ui.layout"  initialPosition="0;10;0"></vbm:AnalyticMap>
</content>
</Panel>
Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

We need fit the complete map into 200* 300 pixels. Where initial position will bring map to set the position.

0