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

    Website widget without asking visitor to share location

    Scheduled Pinned Locked Moved Developers
    9 Posts 3 Posters 3.7k 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.
    • B Offline
      Brezentrager
      last edited by

      Hi,
      I'm using your website widget with the code below.

      Is there a way to avoid that the widget asks the user to share their location? In my case the widget is anyway centered around my weather station, so asking the user for their location is pointless.

      iframe width="650" height="360" src="https://embed.windy.com/embed2.html?lat=48&lon=11&zoom=8&level=surface&overlay=radar&menu=&message=false&marker=true&calendar=&pressure=&type=map&location=coordinates&detail=&detailLat=48&detailLon=11&metricWind=&metricTemp=&radarRange=-1" frameborder="0">

      Thanks!
      Manfred

      KorinaK 1 Reply Last reply Reply Quote 0
      • T Offline
        treaves2
        last edited by

        Anyone know how to do this?

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

          @brezentrager Hello, where do you please use the widget?

          Korina

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

            @korina The widget - the iframe link created - is used in Weewx weather station software. So when I load my webpage I'm always asked if windy.com can use my location.

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

              @treaves2 Hello, could you please share the website with us?

              Korina

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

                @korina Yes. The configuration information is at : https://github.com/poblabs/weewx-belchertown

                And my site is at:
                https://silverfields.duckdns.org

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

                  @treaves2 Hello, if I visit your website, I am not asked to share my location. Is it still hapenning?

                  Korina

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

                    @korina it is, and if I respond 'no', then the display still shows, just no location marker.

                    Screen Shot 2021-01-04 at 9.48.15 AM.png

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

                      @treaves2 Hello, layer Radar will always ask for user's location. You will not have this problem with other layers.

                      Korina

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