Resize windy to fit Android WebView height

  • Hello

    (I am an Android programmer, not html/javascript programmer, so my apologies if the answer is really straightforward.)

    Currently I am using the Windy Hello World example to set the height of Windy in Android WebView.

    #windy {
    width: 100%;
    height: 400px;

    I arbitrarily chose 400px above for the height to get started.

    But Android devices (and desktops and laptops) have different device heights, and also the area allocated for displaying the Windy map in the Webview may vary in height on the screen. Is there a way to dynamically set the height parm either at initialization or at some later point so that Windy properly fills the allocated screen area?

    I have tried a number of 'solutions', mainly from StackOverflow related to leaflet but with no luck.

    Any ideas?



  • i think if you put
    it will fit itself into all allocated area

Log in to reply

Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
NodeBB & contributors, OSM & contributors, HERE maps
Terms and Conditions     Privacy Policy