Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 974

Problem in displaying google maps in icontabbar

$
0
0

I have problem in displaying the google maps in icontabbar.

 

 

I have to icontabfilter,

1) Map

Default selected google map is displayed using hbox control.

2) Attachments

attachment icontabfilter(2nd tab) uses hbox control with sap.m.table. The table is bound to one of the child entity in the oData model. below is the code to declare & bind the table to one of the child entity

<Table noDataText="No Report Found" id="__table0" items="{path:'FieldReport'}" style="{height:100%', width:'100%'}">

 

 

The problem is as soon as i bound the table to the child entity the google maps do not appear. As soon as i remove the code items="{path:'FieldReport'} the google maps works fine.

 

 

I did the debug in chrome, the google map loading code works fine in both the scenario where the table is bound to an entity or it is not bound to an entity.

 

 

I did lot of search on the internet and it has been mentioned that the height of parent div tag should be 100%, i tried setting height and width 100% for all parent control in xml view however problem still remains.

 

 

I even tried hardcoding the height of the hbox control for google maps to 400px however, as soon as the table is bound to the child entity google maps doesnt appear.

 

 

Any help would be highly appreciated. Thanks


Viewing all articles
Browse latest Browse all 974

Trending Articles



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