Zoom in on Buienrader

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: robgeerts, htilburgs

Post Reply
rgroothuis
Posts: 226
Joined: Friday 03 April 2015 17:09
Target OS: Raspberry Pi
Domoticz version:
Contact:

Zoom in on Buienrader

Post by rgroothuis » Thursday 08 November 2018 22:00

See screenshot, is it possible to zoom in on the Buienrader picture so that I only see my city and around?
Screen Shot 2018-11-08 at 20.57.55.png
Screen Shot 2018-11-08 at 20.57.55.png (361.73 KiB) Viewed 179 times

pvm
Posts: 962
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: Stable
Location: NL
Contact:

Re: Zoom in on Buienrader

Post by pvm » Friday 09 November 2018 14:20

Synology NAS, PI3, ZWave, Xiamo zigbee devices, BTLE plant sensor

renerene
Posts: 149
Joined: Wednesday 03 August 2016 11:36
Target OS: -
Domoticz version:
Contact:

Re: Zoom in on Buienrader

Post by renerene » Saturday 10 November 2018 12:22

this looks promising. Please explain further. Do I need to change this button to a frame?

Code: Select all

buttons.buienradar = {width:12, isimage:true, image: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url: 'http://www.weeronline.nl/Europa/Nederland/Son/4058667'}

pvm
Posts: 962
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: Stable
Location: NL
Contact:

Re: Zoom in on Buienrader

Post by pvm » Saturday 10 November 2018 12:36

I have a frame :

Code: Select all

frames.buienRadar = {refreshiframe:300000, width:5, height:550, frameurl:"https://gadgets.buienradar.nl/gadget/zoommap/?lat=12.34567&lng=2.3456&overname=2&zoom=8&naam=test&size=3&voor=1"}
(removed my location information)
Synology NAS, PI3, ZWave, Xiamo zigbee devices, BTLE plant sensor

rgroothuis
Posts: 226
Joined: Friday 03 April 2015 17:09
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Zoom in on Buienrader

Post by rgroothuis » Sunday 11 November 2018 23:25

I'm using the following line regarding the zoom in into my area:

Code: Select all

frames.buienradar1 = {refreshiframe:30000, width:12, height:550, frameurl:"https://gadgets.buienradar.nl/gadget/zoommap/?lat=52.05036&lng=4.37942&overname=2&zoom=8&naam=2496HX&size=2b&voor=1"}
But I'm getting an ugly with bar to the right, see screenshot. How to resolve this? I've been playing around with the various size numbers but I cannot get something nice.
Screen Shot 2018-11-11 at 22.25.32.png
Screen Shot 2018-11-11 at 22.25.32.png (351.6 KiB) Viewed 86 times

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests