Windy Community

    • Register
    • Login
    • Search
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    1. Home
    2. efoertsch
    3. Best
    E
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 5
    • Best 2
    • Controversial 0
    • Groups 0

    Best posts made by efoertsch

    • RE: Windy API4 - examples of succesfull use

      An Android soaring forecast app was developed to help consolidate various forecasts and information useful for soaring(aka gliding) pilots. To help with assessing soaring conditions a customized version of Windy was added via an Android webview.

      Android open source at: https://github.com/efoertsch/SoaringForecast

      App in Google Play: https://play.google.com/store/apps/details?id=org.soaringforecast.rasp (note that code in Github may be ahead of latest app release as the app is still being developed as time permits).

      posted in Windy API v4
      E
      efoertsch
    • 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?

      Thanks

      Eric

      posted in Windy API v4
      E
      efoertsch