aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-wmts-zurich.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-04-13 16:48:57 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-04-13 20:55:22 +0100
commitef6ffbdbfa562dca1825a0abc06afb0e52509737 (patch)
treeff79293070071a32e3b783e060bd04de0147853a /web/js/map-wmts-zurich.js
parent112ab20142f7f79d4ffff557b95c53406ad79bd9 (diff)
On /reports maps, only include reports in view.
Update the reports with a bounding box, similar to on around pages. This is made slightly trickier because we don't want to do anything on page load (we already have the pins), we need to reload when the zoom changes, and we don't want the strategy to get confused by its first redraw, e.g. on pin hover, We also need to turn off the zoom- to-bounds if we've got a bounding box in the URL.
Diffstat (limited to 'web/js/map-wmts-zurich.js')
0 files changed, 0 insertions, 0 deletions