Page 1 of 1

Buienradar op iPad not displaying correctly?

Posted: Sat Oct 02, 2010 3:39 pm
by DJF3
Hi,

Buienradar on my iPad is not showing correctly

URL used: http://gratisweerdata.buienradar.nl/buienradar.php
This works fine in the designer, safari but on the iPad the map is VERY small, surrounded by white space.
Buienradar probleem iPad
Buienradar probleem iPad
problem_buienradar.png (23.45 KiB) Viewed 10012 times
Has anyone used this buienradar data on their iPad?

Thank you
DJ

Re: Buienradar op iPad not displaying correctly?

Posted: Wed Dec 08, 2010 1:42 pm
by DJF3
Anyone?

Re: Buienradar op iPad not displaying correctly?

Posted: Wed Dec 08, 2010 6:51 pm
by korsteed
If you use a different URL, you can get a bigger image from buienrader. For example:
http://www2.buienradar.nl/display.php?w ... opacity=75

Note: unless you tell it otherwise, Safari iPhone (and iPad) assumes your page is 980px wide.
You can also change this behaviour by adding a meta tag to your html-header. For example this one:
<meta name="viewport" content="user-scalable=no, width=device-width" />

Re: Buienradar op iPad not displaying correctly?

Posted: Thu Dec 09, 2010 7:16 pm
by DJF3
Thank you very much.. It's working now.
It has been a long time since I worked on OSX/Safari based browsers ;-)

Now the following source also works, providing that you point to this HTML file you have to host somewhere:

Code: Select all

<meta http-equiv="refresh" content="300" />
<meta name="viewport" content="user-scalable=no, width=300" />
<html> <IFRAME SRC="http://gratisweerdata.buienradar.nl/buienradar.php" NORESIZE SCROLLING=NO HSPACE=0 VSPACE=0 FRAMEBORDER=0 MARGINHEIGHT=0 MARGINWIDTH=0 WIDTH=256 HEIGHT=406></IFRAME> </html>
You probably have to tweak back-ground colors and sizes, but it gives you some extra information.

DJ

Re: Buienradar op iPad not displaying correctly?

Posted: Fri Dec 10, 2010 9:20 pm
by Snelvuur
DJ: is it fixed now for the initial url you had? since i have the exact same issue for some time already.. but only recently started to continue.. http://board.homeseer.com/showthread.php?t=145241

Re: Buienradar op iPad not displaying correctly?

Posted: Fri Dec 10, 2010 9:52 pm
by DJF3
I only got the original URL working with the html code listed above, not with a single url to the buienradar website.

So I'm pointing to this html file that's running on my HS server.

Re: Buienradar op iPad not displaying correctly?

Posted: Fri Dec 10, 2010 11:34 pm
by Snelvuur
The thing , that original html part is referring to a transparent picture which is used as a overlay which has a smaller width. Thats why it fails... o well i'll use the other one..

Re: Buienradar op iPad not displaying correctly?

Posted: Fri Dec 10, 2010 11:58 pm
by Snelvuur
driving me a bit crazy here..

i found this one:

http://www2.buienradar.nl/display/nl-300-300.gif

So i thought, let take a image and place that on the background locked. Then place a text field with (http://www2.buienradar.nl/radar.php?type=display) inside it, which is the rain. (then select stretch) then it will fit.

Then i place them exactly on top of eachother and what happens then? I cannot select it anymore, those 2 become 1 object which is not any of the 2 objects anymore.. must be some sort of bug.