Discussions » Creation Requests

iweathernet rainfall accumulation map

§
Posted: 2023/07/03

https://www.iweathernet.com/total-rainfall-map-24-hours-to-72-hours

It was possible until recently to zoom in on the map to a useful level, but somehow that changed to where you can't zoom in very far at all.

https://talk.newagtalk.com/forums/thread-view.asp?tid=1112758&mid=10230152#M10230152

§
Posted: 2023/07/04
// ==UserScript==
// @name          iweathernet.com: any zoom at rainfall map
// @description   Unlocks zoom levels at rainfall map of iweathernet.com
// @namespace     https://greasyfork.org/users/424058
// @version       1
// @match         https://www.iweathernet.com/total-rainfall-map-24-hours-to-72-hours
// @icon          https://t1.gstatic.com/faviconV2?client=SOCIAL&url=http://iweathernet.com&size=32
// @run-at        document-start
// @grant         unsafeWindow
// ==/UserScript==

/* global map */

(function() {
  'use strict';

  (function main() {
    try {
      unsafeWindow.map.options.minZoom = 1;
      unsafeWindow.map.options.maxZoom = 11;
    } catch(e) {
      return setTimeout(main);
    }
  }());
})();

Post reply

Sign in to post a reply.