[Script] WME Auto Reload

WAR, what is it good for, absolutely nothing…

…unless by WAR, you’re referring to WME Auto Reload, in which case it provides a partial workaround for the somewhat annoying “oops, I seem to have forgotten the street name data” bug which can be triggered by panning/zooming the map under certain conditions.

I’m hoping this will be the shortest lived script I’ve ever released, and that an official bugfix will be released s…ometime in the near future :wink: But until then, workarounds will have to suffice.

I call WAR a partial workaround because it’ll only keep the street name data present if the map is panned/zoomed when no map objects are selected - the data is maintained by performing a call to W.controller.reload() to refresh the data for all objects currently in view, but this would also deselect any objects which isn’t ideal. So the call is inhibited whenever objects are selected during a pan/zoom, which unfortunately allows a window of opportunity for the bug to surface, but as this was just a quick hack to provide some level of respite from the bug, rather than something I have any intention of putting real effort into, it’ll do for now.

https://greasyfork.org/en/scripts/389704-wme-auto-reload

Thank you so much for this!

Just pushed a minor update which stops the reload call if there are unsaved edits…

Ah! This is great, but woulda been so much more helpful about a week ago when I built similar functionality into one of my scripts because of this error.

Yours does it much more eloquently though, so thanks for that!

Don’t know how I didn’t see this script before, but thank you for once again “correcting” something that may be fixed in the future but right now is quite the pain!

Respectfully,

Sean