diff options
author | Struan Donald <struan@exo.org.uk> | 2019-08-30 15:24:33 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-09-13 09:51:21 +0100 |
commit | 1331d390ffbd28ec1bf5cbacc408eddef52cddb6 (patch) | |
tree | 6445570a9c0ca6fa51d79b5f3dea9e73536c4f63 /web/js/map-OpenStreetMap.js | |
parent | 9449e4c6628666a32dce4061b8b43141b93616d5 (diff) |
do not reproject uk wmts map if no coordinates
If the coordinates are (0,0) then return that straight back as trying to
reproject causes Geography::NationalGrid::GB to fall over as 0 lat is
outside UK
Fixes #2617
Diffstat (limited to 'web/js/map-OpenStreetMap.js')
0 files changed, 0 insertions, 0 deletions