Well if you no need harcode your location
It's different for different widgets, though. Yours uses Object.PersistStorage("zipcode"). Others, like ~Fairyy's, use the variable "location", and still others (Tiggz's) use the varaible "zipcode".
We should get these fixes organized into a new post.
So you think it's ok to force me to either put adware and logos in my work? I have the choice not to do that, but it means no weather apps in my themes. Because it's free, I should allow adware into my work. I disagree.
I know I'm not the only one facing this problem, but as we all know too well, I recently had to reupload my entire gallery. We are talking having to do that, all over again, only this time a few at a time. Meanwhile, all my users have themes they can't use. And if I do update them all, and Weather.com pulls this again next year, then what?
And you can call it what you will, adware is adware. The blue Weather.com logo isn't gonna match all my themes. I don't want it in my work. I guess I have a bad attitude. Bummer when I can't say what goes into my work and what don't.
I am a little irked, too. I'm going through the documentation, and they are very stringent on where/how the logo must be placed. The logo won't look good integrated with a theme (as most of your themes are), but on a separate widget, the 31 pixel logo is not so bad.
Once we have a more up-to-date, flexible, weather template, which includes the TWC requirements we should be back on track as far as new widgets are concerned.
Judging by the number of posts on this issue, it appears weather widgets are a major reason why people even use DX.