nakarte

Source code of https://map.sikmir.ru (fork)
git clone git://git.sikmir.ru/nakarte
Log | Files | Refs | LICENSE

commit a9dff57dd56eb77eb634967f731383606fdaed6a
parent 18f4ba03dec662f237a126ac67c1da9394ca952c
Author: Sergey Orlov <wladimirych@gmail.com>
Date:   Tue,  8 Dec 2020 20:38:10 +0100

layers: add cutline for Great Britain topo map

Diffstat:
Msrc/layers.js | 8+++++---
Asrc/lib/layers-cutlines/great_britain.json | 4++++
2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/layers.js b/src/layers.js @@ -889,16 +889,18 @@ import {getCutline} from '~/lib/layers-cutlines'; type: 'OrdnanceSurvey', minZoom: 12, maxNativeZoom: 16, - bounds: [[49.85171, -7.74708], [60.86949, 1.80382]], + bounds: [[49.83793, -7.75643], [60.87164, 1.82356]], code: 'Gbt', isOverlay: true, isOverlayTransparent: false, scaleDependent: false, print: true, jnx: true, - shortName: 'england_topo' + shortName: 'england_topo', + cutline: getCutline('great_britain'), } - ) + ), + }, { title: 'Waymarked Cycling Trails', diff --git a/src/lib/layers-cutlines/great_britain.json b/src/lib/layers-cutlines/great_britain.json @@ -0,0 +1,3 @@ +{"cutline": +[[[-4.7131,53.46591],[-4.11125,53.47801],[-3.20725,53.49061],[-3.22283,54.02979],[-3.5279,54.02638],[-3.54137,54.38567],[-3.84899,54.38156],[-3.86556,54.74063],[-4.17592,54.73537],[-4.13824,54.017],[-5.05277,53.99728],[-5.06599,54.1767],[-4.76017,54.18414],[-4.7842,54.54319],[-5.09294,54.53563],[-5.1065,54.71515],[-5.41643,54.70677],[-5.44681,55.06559],[-5.13426,55.07402],[-5.16272,55.43298],[-5.47819,55.42441],[-5.46252,55.24498],[-6.09012,55.22555],[-6.10857,55.4047],[-5.79353,55.415],[-5.81082,55.5943],[-6.12743,55.58408],[-6.10874,55.4047],[-6.42348,55.39383],[-6.4437,55.57294],[-6.75977,55.56112],[-6.8038,55.9192],[-6.48464,55.93125],[-6.54798,56.46868],[-6.87152,56.4564],[-6.84871,56.27732],[-7.1703,56.26423],[-7.21913,56.6221],[-6.89454,56.63539],[-6.94147,56.99344],[-7.26943,56.97998],[-7.24437,56.80107],[-7.5701,56.78689],[-7.54375,56.60807],[-7.75626,56.59839],[-7.75635,56.95836],[-7.59692,56.96573],[-7.67897,57.50206],[-7.75088,57.49886],[-7.75643,57.85863],[-7.39994,57.87432],[-7.45427,58.23204],[-7.11494,58.24604],[-7.14103,58.425],[-6.45837,58.45065],[-6.48099,58.6297],[-6.13792,58.64104],[-6.05493,57.92447],[-5.71791,57.93483],[-5.73658,58.11398],[-5.39776,58.12359],[-5.44991,58.66154],[-5.00874,58.67247],[-4.52019,58.6831],[-4.07181,58.69103],[-3.72711,58.69616],[-3.74514,59.05521],[-3.39671,59.05949],[-3.41108,59.41862],[-2.35442,59.42565],[-2.34901,58.88673],[-2.69646,58.88567],[-2.6889,58.52597],[-3.03326,58.52418],[-3.02158,58.16491],[-3.36285,58.1611],[-3.35495,57.98208],[-3.69209,57.97807],[-3.6842,57.79868],[-1.66546,57.8091],[-1.67009,57.27018],[-2.00166,57.27064],[-2.00157,56.73163],[-2.3285,56.73121],[-2.32241,56.01244],[-2.00174,56.01283],[-2.00157,55.8333],[-1.68228,55.83277],[-1.68365,55.65319],[-1.36608,55.65198],[-1.37449,55.11265],[-1.06087,55.11098],[-1.06928,54.75128],[-0.75857,54.7487],[-0.76458,54.56908],[-0.14574,54.56101],[-0.1617,54.20161],[0.1442,54.19669],[0.126,53.83713],[0.43018,53.83166],[0.38864,53.11319],[1.58225,53.08307],[1.56718,52.90388],[1.82356,52.8957],[1.78631,51.99735],[1.49556,52.00655],[1.46775,51.64772],[1.1791,51.65573],[1.16665,51.47617],[1.74151,51.45911],[1.72691,51.27996],[1.44058,51.28855],[1.41389,50.9296],[1.12987,50.93723],[1.11794,50.75791],[0.55146,50.77175],[0.54159,50.59196],[-0.02283,50.60318],[-0.01547,50.78274],[-0.58288,50.79096],[-0.5882,50.61113],[-1.15331,50.61663],[-1.15683,50.43673],[-1.43784,50.43827],[-1.43595,50.61843],[-1.71859,50.6193],[-1.71988,50.43958],[-2.56466,50.43854],[-2.56672,50.61829],[-3.13213,50.61418],[-3.12784,50.43438],[-3.40919,50.43127],[-3.39872,50.07163],[-3.95731,50.06364],[-3.96461,50.24325],[-4.2451,50.23831],[-4.23686,50.05846],[-4.79485,50.04645],[-4.78446,49.86676],[-5.34013,49.85215],[-5.35259,50.03169],[-5.63139,50.02335],[-5.61796,49.8438],[-5.79829,49.83793],[-5.89537,49.83798],[-5.92446,50.19349],[-5.64491,50.20284],[-5.65865,50.38214],[-5.37781,50.39071],[-5.39068,50.57026],[-5.10877,50.57817],[-5.121,50.75774],[-4.83742,50.76535],[-4.8484,50.94458],[-4.56413,50.95129],[-4.57366,51.13105],[-4.28836,51.13687],[-4.29737,51.31667],[-4.01053,51.32176],[-4.01816,51.50169],[-5.16967,51.47604],[-5.18211,51.65573],[-5.75903,51.63853],[-5.77366,51.81817],[-5.48458,51.82687],[-5.49831,52.00581],[-5.20786,52.01511],[-5.22022,52.19393],[-4.63589,52.20908],[-4.64653,52.38838],[-4.3529,52.39456],[-4.3723,52.75388],[-4.96427,52.74071],[-4.97629,52.92008],[-4.67923,52.92712],[-4.71307,53.46584]],[[-7.46806,58.32137],[-7.45429,58.23203],[-7.75083,58.21899],[-7.75085,58.30898],[-7.46806,58.32141]],[[-6.18084,58.99956],[-6.2026,59.17861],[-5.50415,59.19923],[-5.48595,59.02006],[-5.86018,59.00937],[-6.17955,58.99956]],[[-4.78995,59.03693],[-4.44208,59.04398],[-4.42929,58.86451],[-4.77553,58.85758],[-4.78987,59.03671]],[[-4.45453,59.22331],[-4.10442,59.22945],[-4.0937,59.05009],[-4.44191,59.04399],[-4.45478,59.22269]],[[-2.36369,60.32355],[-2.00183,60.3241],[-2.00183,60.50361],[-1.63776,60.50317],[-1.63559,60.68268],[-1.26965,60.68125],[-1.26532,60.86071],[-0.89736,60.85825],[-0.89693,60.87164],[-0.52889,60.86702],[-0.55369,60.3162],[-0.91564,60.31972],[-0.93315,59.78103],[-1.64537,59.78483],[-1.64177,60.14403],[-2.002,60.14454],[-2.00191,59.96489],[-2.35991,59.96451],[-2.36378,60.32338]],[[-2.00131,59.60574],[-1.29313,59.60383],[-1.2969,59.4243],[-2.00166,59.42622],[-2.00174,59.60535]],[[-6.46657,49.99406],[-6.18831,50.00444],[-6.17481,49.84861],[-6.45307,49.84861],[-6.46653,49.99384]],[[-4.87029,51.30379],[-4.58422,51.31055],[-4.57402,51.13096],[-4.8593,51.12437],[-4.87038,51.30352]]] +} +\ No newline at end of file