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
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.