]> git.mxchange.org Git - friendica-addons.git/commitdiff
OpenWeatherMap
authorAdam Magness <adam.magness@gmail.com>
Sat, 18 Nov 2017 16:11:09 +0000 (11:11 -0500)
committerAdam Magness <adam.magness@gmail.com>
Sat, 18 Nov 2017 16:11:09 +0000 (11:11 -0500)
The Show on map link was not working properly.

curweather/templates/widget.tpl

index b893eef666a42f04fe4add6687066d897757c2f9..f772d44568c21e3343f4f0421f37b3aa4c20085a 100644 (file)
@@ -11,7 +11,7 @@
            <li>{{$wind['caption']}}: {{$wind['val']}}</li>
        </ul></p>
        <p class="curweather-footer">
-               {{$databy}}: <a href="http://openweathermap.org">OpenWeatherMap</a>. <a href="http://openweathermap.org/Maps?zoom=7&lat={{$lat}}&lon={{$lon}}&layers=B0FTTFF">{{$showonmap}}</a>
+               {{$databy}}: <a href="http://openweathermap.org">OpenWeatherMap</a>. <a href="http://openweathermap.org/weathermap?basemap=map&cities=true&layer=temperature&lat={{$lat}}&lon={{$lon}}&zoom=9">{{$showonmap}}</a>
        </p>
 </div>
 <div class="clear"></div>