Navigation

    Windy Community

    • Register
    • Login
    • Search
    • Unread
    • Categories
    • Groups
    • Go to windy.com

    Website widget without asking visitor to share location

    Developers
    3
    9
    739
    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
      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

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

        Anyone know how to do this?

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

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

          T 1 Reply Last reply Reply Quote 0
          • T
            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.

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

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

              T 1 Reply Last reply Reply Quote 0
              • T
                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

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

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

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    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

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

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

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
                      NodeBB & contributors, OSM & contributors, HERE maps
                      Terms and Conditions     Privacy Policy