Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login

    Avoid automatic zoom-out when refreshing with KML-file added

    Scheduled Pinned Locked Moved General Discussion
    9 Posts 4 Posters 1.9k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      Thor Almighty
      last edited by

      I have uploaded and activated a KML-file that covers a large geographical area. Since I'm only interested in a small section of this area I zoom in. However, each time I refresh the page to get the current weather, I get zoomed out such that my window fits the KML layer and I have to zoom in again to my area of interest. Unfortunately, changing the content of the KML-file to cover only the small geographical section is not an option.
      So, is there a way to avoid the automaitc zoom-out when I refresh the page, even though I have added a KML-file that covers a larger area?

      Thanks

      1 Reply Last reply Reply Quote 0
      • D Offline
        daniella846
        last edited by

        Ok, thanks

        T 1 Reply Last reply Reply Quote 0
        • T Offline
          Thor Almighty @daniella846
          last edited by

          @daniella846 think you replied in the wrong topic?

          KorinaK 1 Reply Last reply Reply Quote 0
          • KorinaK Offline
            Korina @Thor Almighty
            last edited by

            @Thor-Almighty Hello, you can set the zoom level in the URL and then the position won't change.

            Korina

            T 1 Reply Last reply Reply Quote 0
            • T Offline
              Thor Almighty @Korina
              last edited by Thor Almighty

              @Korina How? My URL looks like this: https://www.windy.com/nb/-Vindkast-gust?ukv,gust,60.643,9.324,6

              KorinaK 1 Reply Last reply Reply Quote 0
              • KorinaK Offline
                Korina @Thor Almighty
                last edited by

                @Thor-Almighty said in Avoid automatic zoom-out when refreshing with KML-file added:

                s://www.windy.com/nb/-Vindkast-gust?ukv,gust,60.643,9.324,6

                You need to open the kml file, so it's included in the URL.

                Korina

                T 1 Reply Last reply Reply Quote 0
                • T Offline
                  Thor Almighty @Korina
                  last edited by

                  @Korina Allright so I need to write a code line inside the KML file that specifies the zoom level? How would such a code line be, could you write an example?

                  Thanks

                  SutyS 1 Reply Last reply Reply Quote 0
                  • SutyS Online
                    Suty Windy Staff @Thor Almighty
                    last edited by

                    Hi @Thor-Almighty, unfortunately, changing the URL to keep the zoom level is not possible now. So basically, I am afraid the KML file will always return to the default zoom level after refreshing the page.

                    I already forwarded this issue to our colleagues from the product team. However, I cannot clearly say when this will be done.

                    T 1 Reply Last reply Reply Quote 0
                    • T Offline
                      Thor Almighty @Suty
                      last edited by

                      @Ondřej-Šutera Okay, I see. Thank you!

                      1 Reply Last reply Reply Quote 1
                      • First post
                        Last post
                      Windy Community  |  Powered by excellent NodeBB
                      Terms of Use     Privacy Policy     Windy.com