jasper07 / openui5-googlemaps

Openui5 Googlemaps library
MIT License
65 stars 43 forks source link

Setting height to 100% #18

Closed gepparta closed 8 years ago

gepparta commented 8 years ago

Hi jasper07,

I was about to write you an issue. Actually I have solved it viewing the demo "directionstestwaypoints".

Maybe it is a word worth in your README.file that to achive a 100% responsive map it is needed a special css config for ma1-map. :-)

Kind regards, Alex

jasper07 commented 8 years ago

contributions welcome

Prateek057 commented 7 years ago

Hi @gepparta & @gepparta ,

I have tried adding css for 100% height, but the map disappears if I use the below css code.

#__xmlview4--map-map, #__xmlview4--map{
    height: 100% !important;
}

can you tell me how to override the element style height of 20em, so that I can fit it in a VBox.

Thanks Prateek