Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3323

Is it possible to put more than one UI element in Custom tile?

$
0
0

Hi,

 

Currenlty, I need to display two different kind of UI elements on tile control.

 

I tried using custom tile as below.

<CustomTile xmlns="sap.m"

  id="id"

  removable="true"

  press=""

  frameType="TwoByOne" width="100%">

  <tooltip></tooltip> <!-- sap.ui.core.TooltipBase -->

  <dependents></dependents> <!-- sap.ui.core.Control, since 1.19 -->

  <content>

 

  <vbm:GeoMap id="vbi" width="50%" height="100%" NavigationControl="false"  initialPosition="72.8258;18.9750;0" initialZoom="15" scaleVisible="false" render="render" zoom="zoom" submit="open" openWindow="open">

  <vbm:vos>

  <vbm:Spots spots="{/Spots}" >

  <vbm:Spot  position="{pos}" tooltip="{tooltip}" text="2" image="{pin}" />

  </vbm:Spots>

  <!-- <vbm:Spots spots="{/OtherSpots}" >

  <vbm:Spot position="{pos}" tooltip="{tooltip}"/>

  </vbm:Spots> -->

    </vbm:vos>

    </vbm:GeoMap>

 

<vbm:GeoMap id="vbi2" width="50%" height="100%" NavigationControl="false"  initialPosition="72.8258;18.9750;0" initialZoom="15" scaleVisible="false" render="render" zoom="zoom" submit="open" openWindow="open">

  <vbm:vos>

  <vbm:Spots spots="{/Spots}" >

  <vbm:Spot  position="{pos}" tooltip="{tooltip}" text="2" image="{pin}" />

  </vbm:Spots>

  <!-- <vbm:Spots spots="{/OtherSpots}" >

  <vbm:Spot position="{pos}" tooltip="{tooltip}"/>

  </vbm:Spots> -->

    </vbm:vos>

    </vbm:GeoMap>

 

  

  </content>

 

  <!-- sap.ui.core.Control -->

</CustomTile>

 

I tried putting 2 geomap control on custom tile, but second map is getting displayed on top of first map.

Because of which I am not able to see the first map.

 

So please let me know, Is it possible to put more than one control on custom tile in horizontal layout or vertical layout.

 

Regards,

Chandru.


Viewing all articles
Browse latest Browse all 3323

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>