Hi, I have tried to change the coordinates of js.setting.
But it will still forward Ekeby on the map,
(it’s coordinates from clientraw file 56, 13).
// Location name override; iWDL normally uses the coordinates from clientraw.txt.
// In case you want another location to show up in the map screen, remove // in the following line:
settings["location"] = "Stenestad, SE";
// Next settings only needed if lat/long is not in your clientraw.txt; below are coordinates in Netherlands
// Negative values for east of Greenich and southern hempisphere
settings["longitude"] = "-13.1019";
settings["latitude"] = "53.0532";
Good afternoon Sietse,
Upgraded to 0.8a last night with little issues. The wife and I really appreciate the hard work your doing with iWDL as it’s now becoming a regular (sudo) app she uses on her new iPhone. Is there a way you can pull the Radar and WebCam from Live Weather page and move it to the main page as option to turn on on/off there instead? The reason is we have “Live Weather” page configured to fit perfectly for a quick view without having to any scrolling. I got the Forecast to work with yr.no; however I’d prefer to use a url. I’m having an issue in screen size to fit the iPod with NWS as an iframe using:
settings[“forecast_url”] = “http://forecast.weather.gov/MapClick.php?site=mlb&smap=1&textField1=28.7892&textField2=-81.2757&TextType=2”;
Any suggestions in sizing the iframe? That would also help me with using WUnder Radar as it too is to big with:
Any luck in changing the Wind Direction Graph from degrees to “abbr” values coming soon as a fix/enhancement?
Also is there a way to turn on/off iPhone rotate page in your coding abilities? I ask as sometimes it shifts when you rally don’t want it to and all your coding looks GREAT in portrait.
I also have a problem with setting the correct coordinats in WD, some how the values change a bit and it misses my location with about 70 km. I have the correct coordinates in the iwdl_settings.js why can
[quote author=Norwegian Wood link=topic=43872.msg357486#msg357486 date=1263666963]
I also have a problem with setting the correct coordinats in WD, some how the values change a bit and it misses my location with about 70 km. I have the correct coordinates in the iwdl_settings.js why can
I am just providing the means to put some url in the radar / webcam / forecast screen - the content is up to you.
So, either find a PDA / iPhone friendly url to put in the iframe, or create your own html file that fits the size of the iPhone screen.
For example, in iWDL the iframe contains the http://buienradar.mobi url that is optimized for PDA / smartphone usage.
For your radar info, either find a PDA/smartphone friendly URL, or create a html file that downsizes the picture.
In your case, for example, create a file called wuradar.html with the following content:
and put that file in your iwdl directory.
Then set settings[“radar”] = http://www.lakemaryweather.com/iwdl/wuradar.html and you should be fine.
The trick is to set the image width to 300 - about the width of the iphone screen (it is 320 to be exact).
I will emphesize again: I provide the means to load other content in the iframes, it is up to the user to fill it with something that makes sense.
Hope this helps.
Sietse
PS. If somebody is willing to provide html and/or php pages that transforms popular sites to something that can be used in iWDL iframes, I am willing to incorporate it in iWDL as some kind of ‘plugin’.
I am doing some minor rearranging and moved my radar and webcam under the “forecast” icon. How can I delete the buttons on the “live weather” page. See my example here…
Sietse,
That worked perfectly for Radar. Thanks for explaining how to use ifame with iWDL.
If anyone is interested I found a good iWDL Forecast by using the National Weather Service Cell Phone (WAP) page at http://mobile.weather.gov. Once you search and find your local weather just take the URL from “Detailed 7-day Forecast” and put it in settings[“forecast_url”] within iwdl_settings (don’t forget to change settings[“forecast”] to “url”). It fits the iPhone iWDL Forecast screen perfectly!!!
Well it’s in my clientraw.txt but shows 53.06667 and 1.08 which is wrong
Should be 53.4 N and 1.5 west
The settings are right in weather display but wrong in clientraw
This explains why it’s wrong on the map.
Okay doke2 after firing up my gps and finding it doesn’t work after the firmware upgrade I went back to internet.
Putting the my location in gave a different set of co-orindates so bingo it’s now right.