]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/assets/iD/imagery.js
Make capitalisation of user menu entries consistent
[rails.git] / vendor / assets / iD / imagery.js
index a76c6c50276b01e45a9ca93ab5a0d97c29e680fb..d1b6c68898665ed08dad052f5d821dfc112dec36 100644 (file)
@@ -254,6 +254,314 @@ iD.data.imagery = [
         ],
         "terms_text": "AGRI"
     },
+    {
+        "name": "Belgium AGIV Orthophoto Flanders",
+        "type": "tms",
+        "template": "http://tile.informatievlaanderen.be/ws/raadpleegdiensten/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=omwrgbmrvl&STYLE=&FORMAT=image/png&tileMatrixSet=GoogleMapsVL&tileMatrix={zoom}&tileRow={y}&tileCol={x}",
+        "scaleExtent": [
+            0,
+            21
+        ],
+        "polygon": [
+            [
+                [
+                    2.522393220658428,
+                    51.101723961331
+                ],
+                [
+                    3.1260610915867457,
+                    51.34117672029327
+                ],
+                [
+                    3.174929443042849,
+                    51.382459567439525
+                ],
+                [
+                    3.3761520666856217,
+                    51.38784154353026
+                ],
+                [
+                    3.410647373595811,
+                    51.33040116175589
+                ],
+                [
+                    3.4020235468682634,
+                    51.28547573497245
+                ],
+                [
+                    3.4911364230529203,
+                    51.256700377228974
+                ],
+                [
+                    3.4825125963253734,
+                    51.30345118353617
+                ],
+                [
+                    3.5773746903283947,
+                    51.323216048914524
+                ],
+                [
+                    3.813092620881357,
+                    51.27288873325703
+                ],
+                [
+                    3.8217164476089045,
+                    51.236906864834886
+                ],
+                [
+                    3.9309515861578386,
+                    51.236906864834886
+                ],
+                [
+                    4.054559769252684,
+                    51.27468708752057
+                ],
+                [
+                    4.20116482362099,
+                    51.35194974615148
+                ],
+                [
+                    4.169544125619984,
+                    51.38066543475199
+                ],
+                [
+                    4.342020660170932,
+                    51.395016527087456
+                ],
+                [
+                    4.3650175314443915,
+                    51.46491366130351
+                ],
+                [
+                    4.5374940659953396,
+                    51.50071687469512
+                ],
+                [
+                    4.571989372905529,
+                    51.479238319799464
+                ],
+                [
+                    4.560490937268798,
+                    51.44879304380801
+                ],
+                [
+                    4.638105377816725,
+                    51.45058450468522
+                ],
+                [
+                    4.750215125274841,
+                    51.5239738914927
+                ],
+                [
+                    4.8364533925503155,
+                    51.507874144493115
+                ],
+                [
+                    5.080795149830825,
+                    51.49892738159079
+                ],
+                [
+                    5.135412719105292,
+                    51.447001512638565
+                ],
+                [
+                    5.106666630013469,
+                    51.391429175957505
+                ],
+                [
+                    5.264770120018504,
+                    51.31782647548482
+                ],
+                [
+                    5.264770120018504,
+                    51.28727359653538
+                ],
+                [
+                    5.4085005654776275,
+                    51.292666758936925
+                ],
+                [
+                    5.486115006025553,
+                    51.325012432665545
+                ],
+                [
+                    5.5809771000285755,
+                    51.28367780302667
+                ],
+                [
+                    5.583851708937758,
+                    51.23510703218069
+                ],
+                [
+                    5.767826679125435,
+                    51.20449910348059
+                ],
+                [
+                    5.8770618176743685,
+                    51.161253258857485
+                ],
+                [
+                    5.704585283123422,
+                    50.80292546633848
+                ],
+                [
+                    5.905807906766195,
+                    50.7865720955422
+                ],
+                [
+                    5.9374286047672005,
+                    50.732019528192964
+                ],
+                [
+                    5.902933297857012,
+                    50.70107817444857
+                ],
+                [
+                    5.8138204216723555,
+                    50.69379488717487
+                ],
+                [
+                    5.615472406938765,
+                    50.761122144578216
+                ],
+                [
+                    5.500488050571466,
+                    50.71200098472672
+                ],
+                [
+                    5.204403332925673,
+                    50.70289881954383
+                ],
+                [
+                    5.164158808197117,
+                    50.67558172042608
+                ],
+                [
+                    5.037676016193088,
+                    50.70107817444857
+                ],
+                [
+                    4.988807664736986,
+                    50.750210783384084
+                ],
+                [
+                    4.916942442007425,
+                    50.72656077355532
+                ],
+                [
+                    4.790459650003396,
+                    50.766576871275696
+                ],
+                [
+                    4.681224511454462,
+                    50.77021300246129
+                ],
+                [
+                    4.6697260758177315,
+                    50.73565834458533
+                ],
+                [
+                    4.287403090896464,
+                    50.67922491935501
+                ],
+                [
+                    3.91082932379356,
+                    50.677403355240585
+                ],
+                [
+                    3.718230526878334,
+                    50.752029520237265
+                ],
+                [
+                    3.6549891308763196,
+                    50.71200098472672
+                ],
+                [
+                    3.5342555566906557,
+                    50.710180693059606
+                ],
+                [
+                    3.514133294326379,
+                    50.741116039142966
+                ],
+                [
+                    3.45664111614273,
+                    50.74384464791457
+                ],
+                [
+                    3.373277457776438,
+                    50.69561581502901
+                ],
+                [
+                    3.310036061774423,
+                    50.70745012302645
+                ],
+                [
+                    3.2899137994101473,
+                    50.7365680045137
+                ],
+                [
+                    3.1648683118607086,
+                    50.742935129324266
+                ],
+                [
+                    3.1318103094051106,
+                    50.77203096207303
+                ],
+                [
+                    3.080067349039826,
+                    50.76021296163662
+                ],
+                [
+                    2.8745328120332805,
+                    50.73929687829333
+                ],
+                [
+                    2.8960923788521487,
+                    50.71109084772858
+                ],
+                [
+                    2.8745328120332805,
+                    50.69561581502901
+                ],
+                [
+                    2.796918371485353,
+                    50.70289881954383
+                ],
+                [
+                    2.699181668573149,
+                    50.80020030189157
+                ],
+                [
+                    2.6201299235706315,
+                    50.79747497850781
+                ],
+                [
+                    2.5698242676599374,
+                    50.85830267681076
+                ],
+                [
+                    2.5669496587507554,
+                    50.923581424665855
+                ],
+                [
+                    2.6028822701155367,
+                    50.94984841176044
+                ],
+                [
+                    2.549702005295661,
+                    50.996006093918574
+                ],
+                [
+                    2.522393220658428,
+                    51.101723961331
+                ]
+            ]
+        ],
+        "terms_text": "Orthophoto Flanders most recent (c) AGIV",
+        "overlay": true,
+        "best": true
+    },
     {
         "name": "Bing aerial imagery",
         "type": "bing",
@@ -2625,405 +2933,1059 @@ iD.data.imagery = [
         "terms_text": "Ortofoto public domain ÚHUL, year 2000"
     },
     {
-        "name": "Freemap.sk Car",
+        "name": "FR-BAN",
         "type": "tms",
-        "template": "http://t{switch:1,2,3,4}.freemap.sk/A/{zoom}/{x}/{y}.jpeg",
+        "description": "French address registry or Base Adresses Nationale",
+        "template": "http://{switch:a,b,c}.layers.openstreetmap.fr/bano/{zoom}/{x}/{y}.png",
         "scaleExtent": [
-            8,
-            16
+            12,
+            20
         ],
         "polygon": [
             [
                 [
-                    19.83682,
-                    49.25529
+                    8.3247852,
+                    49.0891892
                 ],
                 [
-                    19.80075,
-                    49.42385
+                    6.1566882,
+                    49.6167369
                 ],
                 [
-                    19.60437,
-                    49.48058
+                    4.8666714,
+                    50.2126152
                 ],
                 [
-                    19.49179,
-                    49.63961
+                    2.4937064,
+                    51.1761675
                 ],
                 [
-                    19.21831,
-                    49.52604
+                    1.3121526,
+                    50.9324682
                 ],
                 [
-                    19.16778,
-                    49.42521
+                    1.2659981,
+                    50.1877492
                 ],
                 [
-                    19.00308,
-                    49.42236
+                    0.1121369,
+                    49.8258592
                 ],
                 [
-                    18.97611,
-                    49.5308
+                    -0.3494075,
+                    49.4312336
                 ],
                 [
-                    18.54685,
-                    49.51425
+                    -1.0232625,
+                    49.4852345
                 ],
                 [
-                    18.31432,
-                    49.33818
+                    -1.3278818,
+                    49.7901162
                 ],
                 [
-                    18.15913,
-                    49.2961
+                    -2.1032765,
+                    49.7901162
                 ],
                 [
-                    18.05564,
-                    49.11134
+                    -1.6232703,
+                    48.7420657
                 ],
                 [
-                    17.56396,
-                    48.84938
+                    -3.1002126,
+                    48.9728514
                 ],
                 [
-                    17.17929,
-                    48.88816
+                    -5.1125465,
+                    48.6811558
                 ],
                 [
-                    17.058,
-                    48.81105
+                    -5.3525496,
+                    48.4367783
                 ],
                 [
-                    16.90426,
-                    48.61947
+                    -4.5984193,
+                    47.7194959
                 ],
                 [
-                    16.79685,
-                    48.38561
+                    -2.555398,
+                    47.0232784
                 ],
                 [
-                    17.06762,
-                    48.01116
+                    -2.4738077,
+                    46.6638823
                 ],
                 [
-                    17.32787,
-                    47.97749
+                    -1.6676954,
+                    46.1055717
                 ],
                 [
-                    17.51699,
-                    47.82535
+                    -1.334807,
+                    45.5141125
                 ],
                 [
-                    17.74776,
-                    47.73093
+                    -1.4914604,
+                    44.1627003
                 ],
                 [
-                    18.29515,
-                    47.72075
+                    -1.9940567,
+                    43.3708146
                 ],
                 [
-                    18.67959,
-                    47.75541
+                    -0.956228,
+                    42.7364747
                 ],
                 [
-                    18.89755,
-                    47.81203
+                    2.2029487,
+                    42.2841894
                 ],
                 [
-                    18.79463,
-                    47.88245
+                    3.2342502,
+                    42.5444129
                 ],
                 [
-                    18.84318,
-                    48.04046
+                    3.2407774,
+                    43.1140543
                 ],
                 [
-                    19.46212,
-                    48.05333
+                    4.0436261,
+                    43.3280964
                 ],
                 [
-                    19.62064,
-                    48.22938
+                    6.4325902,
+                    42.808345
                 ],
                 [
-                    19.89585,
-                    48.09387
+                    7.6270723,
+                    43.5934102
                 ],
                 [
-                    20.33766,
-                    48.2643
+                    7.8163619,
+                    44.1720643
                 ],
                 [
-                    20.55395,
-                    48.52358
+                    7.0396221,
+                    44.41967
                 ],
                 [
-                    20.82335,
-                    48.55714
+                    7.268075,
+                    45.4958141
                 ],
                 [
-                    21.10271,
-                    48.47096
+                    7.1244761,
+                    46.2140775
                 ],
                 [
-                    21.45863,
-                    48.55513
+                    6.5631347,
+                    46.771283
                 ],
                 [
-                    21.74536,
-                    48.31435
+                    7.6571492,
+                    47.59128
                 ],
                 [
-                    22.15293,
-                    48.37179
+                    7.6527839,
+                    47.5941813
                 ],
                 [
-                    22.61255,
-                    49.08914
+                    7.6224698,
+                    47.5776739
                 ],
                 [
-                    22.09997,
-                    49.23814
+                    7.6047297,
+                    47.578221
                 ],
                 [
-                    21.9686,
-                    49.36363
+                    7.5877054,
+                    47.5901532
                 ],
                 [
-                    21.6244,
-                    49.46989
+                    7.521558,
+                    47.65161
                 ],
                 [
-                    21.06873,
-                    49.46402
+                    7.503992,
+                    47.70235
                 ],
                 [
-                    20.94336,
-                    49.31088
+                    7.520958,
+                    47.77685
                 ],
                 [
-                    20.73052,
-                    49.44006
+                    7.557124,
+                    47.84839
                 ],
                 [
-                    20.22804,
-                    49.41714
+                    7.549463,
+                    47.879205
                 ],
                 [
-                    20.05234,
-                    49.23052
+                    7.574615,
+                    47.93028
                 ],
                 [
-                    19.83682,
-                    49.25529
+                    7.613179,
+                    47.96804
+                ],
+                [
+                    7.611904,
+                    47.9871
+                ],
+                [
+                    7.5612401,
+                    48.0383618
+                ],
+                [
+                    7.574915,
+                    48.1258
+                ],
+                [
+                    7.595338,
+                    48.15977
+                ],
+                [
+                    7.633047,
+                    48.19717
+                ],
+                [
+                    7.662748,
+                    48.22473
+                ],
+                [
+                    7.684659,
+                    48.30305
+                ],
+                [
+                    7.763463,
+                    48.49158
+                ],
+                [
+                    7.8004602,
+                    48.5125977
+                ],
+                [
+                    7.799582,
+                    48.5878
+                ],
+                [
+                    7.834088,
+                    48.64439
+                ],
+                [
+                    7.9121073,
+                    48.6889897
+                ],
+                [
+                    7.9672295,
+                    48.7571585
+                ],
+                [
+                    8.020692,
+                    48.78879
+                ],
+                [
+                    8.043024,
+                    48.7956
+                ],
+                [
+                    8.0864658,
+                    48.8130551
+                ],
+                [
+                    8.1364418,
+                    48.8978239
+                ],
+                [
+                    8.1970586,
+                    48.96021
+                ],
+                [
+                    8.2816129,
+                    48.9948995
+                ],
+                [
+                    8.2996723,
+                    49.025966
+                ],
+                [
+                    8.3124269,
+                    49.0599642
+                ],
+                [
+                    8.3247852,
+                    49.0891892
+                ]
+            ],
+            [
+                [
+                    9.3609615,
+                    43.1345098
+                ],
+                [
+                    8.4393174,
+                    42.48439
+                ],
+                [
+                    8.4836272,
+                    41.8175373
+                ],
+                [
+                    8.8469677,
+                    41.3768281
+                ],
+                [
+                    9.2058772,
+                    41.3136241
+                ],
+                [
+                    9.48946,
+                    41.5461776
+                ],
+                [
+                    9.6356823,
+                    42.1994563
+                ],
+                [
+                    9.6046655,
+                    42.901254
+                ],
+                [
+                    9.3609615,
+                    43.1345098
                 ]
             ]
         ],
-        "terms_text": "Copyright ©2007-2012 Freemap Slovakia (www.freemap.sk). Some rights reserved."
+        "terms_url": "https://wiki.openstreetmap.org/wiki/WikiProject_France/WikiProject_Base_Adresses_Nationale_Ouverte_(BANO)",
+        "terms_text": "Tiles © cquest@Openstreetmap France, data © OpenStreetMap contributors, ODBL",
+        "id": "FR-BAN"
     },
     {
-        "name": "Freemap.sk Cyclo",
+        "name": "FR-Cadastre",
         "type": "tms",
-        "template": "http://t{switch:1,2,3,4}.freemap.sk/C/{zoom}/{x}/{y}.jpeg",
+        "description": "French land registry",
+        "template": "http://tms.cadastre.openstreetmap.fr/*/tout/{z}/{x}/{y}.png",
         "scaleExtent": [
-            8,
-            16
+            12,
+            20
         ],
         "polygon": [
             [
                 [
-                    19.83682,
-                    49.25529
+                    8.3247852,
+                    49.0891892
                 ],
                 [
-                    19.80075,
-                    49.42385
+                    6.1566882,
+                    49.6167369
                 ],
                 [
-                    19.60437,
-                    49.48058
+                    4.8666714,
+                    50.2126152
                 ],
                 [
-                    19.49179,
-                    49.63961
+                    2.4937064,
+                    51.1761675
                 ],
                 [
-                    19.21831,
-                    49.52604
+                    1.3121526,
+                    50.9324682
                 ],
                 [
-                    19.16778,
-                    49.42521
+                    1.2659981,
+                    50.1877492
                 ],
                 [
-                    19.00308,
-                    49.42236
+                    0.1121369,
+                    49.8258592
                 ],
                 [
-                    18.97611,
-                    49.5308
+                    -0.3494075,
+                    49.4312336
                 ],
                 [
-                    18.54685,
-                    49.51425
+                    -1.0232625,
+                    49.4852345
                 ],
                 [
-                    18.31432,
-                    49.33818
+                    -1.3278818,
+                    49.7901162
                 ],
                 [
-                    18.15913,
-                    49.2961
+                    -2.1032765,
+                    49.7901162
                 ],
                 [
-                    18.05564,
-                    49.11134
+                    -1.6232703,
+                    48.7420657
                 ],
                 [
-                    17.56396,
-                    48.84938
+                    -3.1002126,
+                    48.9728514
                 ],
                 [
-                    17.17929,
-                    48.88816
+                    -5.1125465,
+                    48.6811558
                 ],
                 [
-                    17.058,
-                    48.81105
+                    -5.3525496,
+                    48.4367783
                 ],
                 [
-                    16.90426,
-                    48.61947
+                    -4.5984193,
+                    47.7194959
                 ],
                 [
-                    16.79685,
-                    48.38561
+                    -2.555398,
+                    47.0232784
                 ],
                 [
-                    17.06762,
-                    48.01116
+                    -2.4738077,
+                    46.6638823
                 ],
                 [
-                    17.32787,
-                    47.97749
+                    -1.6676954,
+                    46.1055717
                 ],
                 [
-                    17.51699,
-                    47.82535
+                    -1.334807,
+                    45.5141125
                 ],
                 [
-                    17.74776,
-                    47.73093
+                    -1.4914604,
+                    44.1627003
                 ],
                 [
-                    18.29515,
-                    47.72075
+                    -1.9940567,
+                    43.3708146
                 ],
                 [
-                    18.67959,
-                    47.75541
+                    -0.956228,
+                    42.7364747
                 ],
                 [
-                    18.89755,
-                    47.81203
+                    2.2029487,
+                    42.2841894
                 ],
                 [
-                    18.79463,
-                    47.88245
+                    3.2342502,
+                    42.5444129
                 ],
                 [
-                    18.84318,
-                    48.04046
+                    3.2407774,
+                    43.1140543
                 ],
                 [
-                    19.46212,
-                    48.05333
+                    4.0436261,
+                    43.3280964
                 ],
                 [
-                    19.62064,
-                    48.22938
+                    6.4325902,
+                    42.808345
                 ],
                 [
-                    19.89585,
-                    48.09387
+                    7.6270723,
+                    43.5934102
                 ],
                 [
-                    20.33766,
-                    48.2643
+                    7.8163619,
+                    44.1720643
                 ],
                 [
-                    20.55395,
-                    48.52358
+                    7.0396221,
+                    44.41967
                 ],
                 [
-                    20.82335,
-                    48.55714
+                    7.268075,
+                    45.4958141
                 ],
                 [
-                    21.10271,
-                    48.47096
+                    7.1244761,
+                    46.2140775
                 ],
                 [
-                    21.45863,
-                    48.55513
+                    6.5631347,
+                    46.771283
                 ],
                 [
-                    21.74536,
-                    48.31435
+                    7.6571492,
+                    47.59128
                 ],
                 [
-                    22.15293,
-                    48.37179
+                    7.6527839,
+                    47.5941813
                 ],
                 [
-                    22.61255,
-                    49.08914
+                    7.6224698,
+                    47.5776739
                 ],
                 [
-                    22.09997,
-                    49.23814
+                    7.6047297,
+                    47.578221
                 ],
                 [
-                    21.9686,
-                    49.36363
+                    7.5877054,
+                    47.5901532
                 ],
                 [
-                    21.6244,
-                    49.46989
+                    7.521558,
+                    47.65161
                 ],
                 [
-                    21.06873,
-                    49.46402
+                    7.503992,
+                    47.70235
                 ],
                 [
-                    20.94336,
-                    49.31088
+                    7.520958,
+                    47.77685
                 ],
                 [
-                    20.73052,
-                    49.44006
+                    7.557124,
+                    47.84839
                 ],
                 [
-                    20.22804,
-                    49.41714
+                    7.549463,
+                    47.879205
                 ],
                 [
-                    20.05234,
-                    49.23052
+                    7.574615,
+                    47.93028
                 ],
                 [
-                    19.83682,
-                    49.25529
+                    7.613179,
+                    47.96804
+                ],
+                [
+                    7.611904,
+                    47.9871
+                ],
+                [
+                    7.5612401,
+                    48.0383618
+                ],
+                [
+                    7.574915,
+                    48.1258
+                ],
+                [
+                    7.595338,
+                    48.15977
+                ],
+                [
+                    7.633047,
+                    48.19717
+                ],
+                [
+                    7.662748,
+                    48.22473
+                ],
+                [
+                    7.684659,
+                    48.30305
+                ],
+                [
+                    7.763463,
+                    48.49158
+                ],
+                [
+                    7.8004602,
+                    48.5125977
+                ],
+                [
+                    7.799582,
+                    48.5878
+                ],
+                [
+                    7.834088,
+                    48.64439
+                ],
+                [
+                    7.9121073,
+                    48.6889897
+                ],
+                [
+                    7.9672295,
+                    48.7571585
+                ],
+                [
+                    8.020692,
+                    48.78879
+                ],
+                [
+                    8.043024,
+                    48.7956
+                ],
+                [
+                    8.0864658,
+                    48.8130551
+                ],
+                [
+                    8.1364418,
+                    48.8978239
+                ],
+                [
+                    8.1970586,
+                    48.96021
+                ],
+                [
+                    8.2816129,
+                    48.9948995
+                ],
+                [
+                    8.2996723,
+                    49.025966
+                ],
+                [
+                    8.3124269,
+                    49.0599642
+                ],
+                [
+                    8.3247852,
+                    49.0891892
+                ]
+            ],
+            [
+                [
+                    9.3609615,
+                    43.1345098
+                ],
+                [
+                    8.4393174,
+                    42.48439
+                ],
+                [
+                    8.4836272,
+                    41.8175373
+                ],
+                [
+                    8.8469677,
+                    41.3768281
+                ],
+                [
+                    9.2058772,
+                    41.3136241
+                ],
+                [
+                    9.48946,
+                    41.5461776
+                ],
+                [
+                    9.6356823,
+                    42.1994563
+                ],
+                [
+                    9.6046655,
+                    42.901254
+                ],
+                [
+                    9.3609615,
+                    43.1345098
                 ]
             ]
         ],
-        "terms_text": "Copyright ©2007-2012 Freemap Slovakia (www.freemap.sk). Some rights reserved."
+        "terms_url": "http://wiki.openstreetmap.org/wiki/WikiProject_Cadastre_Fran%C3%A7ais/Conditions_d%27utilisation",
+        "terms_text": "cadastre-dgi-fr source : Direction Générale des Impôts - Cadastre. Mise à jour : 2015",
+        "id": "FR-Cadastre"
     },
     {
-        "name": "Freemap.sk Hiking",
+        "name": "Freemap.sk Car",
         "type": "tms",
-        "template": "http://t{switch:1,2,3,4}.freemap.sk/T/{zoom}/{x}/{y}.jpeg",
+        "template": "http://t{switch:1,2,3,4}.freemap.sk/A/{zoom}/{x}/{y}.jpeg",
+        "scaleExtent": [
+            8,
+            16
+        ],
+        "polygon": [
+            [
+                [
+                    19.83682,
+                    49.25529
+                ],
+                [
+                    19.80075,
+                    49.42385
+                ],
+                [
+                    19.60437,
+                    49.48058
+                ],
+                [
+                    19.49179,
+                    49.63961
+                ],
+                [
+                    19.21831,
+                    49.52604
+                ],
+                [
+                    19.16778,
+                    49.42521
+                ],
+                [
+                    19.00308,
+                    49.42236
+                ],
+                [
+                    18.97611,
+                    49.5308
+                ],
+                [
+                    18.54685,
+                    49.51425
+                ],
+                [
+                    18.31432,
+                    49.33818
+                ],
+                [
+                    18.15913,
+                    49.2961
+                ],
+                [
+                    18.05564,
+                    49.11134
+                ],
+                [
+                    17.56396,
+                    48.84938
+                ],
+                [
+                    17.17929,
+                    48.88816
+                ],
+                [
+                    17.058,
+                    48.81105
+                ],
+                [
+                    16.90426,
+                    48.61947
+                ],
+                [
+                    16.79685,
+                    48.38561
+                ],
+                [
+                    17.06762,
+                    48.01116
+                ],
+                [
+                    17.32787,
+                    47.97749
+                ],
+                [
+                    17.51699,
+                    47.82535
+                ],
+                [
+                    17.74776,
+                    47.73093
+                ],
+                [
+                    18.29515,
+                    47.72075
+                ],
+                [
+                    18.67959,
+                    47.75541
+                ],
+                [
+                    18.89755,
+                    47.81203
+                ],
+                [
+                    18.79463,
+                    47.88245
+                ],
+                [
+                    18.84318,
+                    48.04046
+                ],
+                [
+                    19.46212,
+                    48.05333
+                ],
+                [
+                    19.62064,
+                    48.22938
+                ],
+                [
+                    19.89585,
+                    48.09387
+                ],
+                [
+                    20.33766,
+                    48.2643
+                ],
+                [
+                    20.55395,
+                    48.52358
+                ],
+                [
+                    20.82335,
+                    48.55714
+                ],
+                [
+                    21.10271,
+                    48.47096
+                ],
+                [
+                    21.45863,
+                    48.55513
+                ],
+                [
+                    21.74536,
+                    48.31435
+                ],
+                [
+                    22.15293,
+                    48.37179
+                ],
+                [
+                    22.61255,
+                    49.08914
+                ],
+                [
+                    22.09997,
+                    49.23814
+                ],
+                [
+                    21.9686,
+                    49.36363
+                ],
+                [
+                    21.6244,
+                    49.46989
+                ],
+                [
+                    21.06873,
+                    49.46402
+                ],
+                [
+                    20.94336,
+                    49.31088
+                ],
+                [
+                    20.73052,
+                    49.44006
+                ],
+                [
+                    20.22804,
+                    49.41714
+                ],
+                [
+                    20.05234,
+                    49.23052
+                ],
+                [
+                    19.83682,
+                    49.25529
+                ]
+            ]
+        ],
+        "terms_text": "Copyright ©2007-2012 Freemap Slovakia (www.freemap.sk). Some rights reserved."
+    },
+    {
+        "name": "Freemap.sk Cyclo",
+        "type": "tms",
+        "template": "http://t{switch:1,2,3,4}.freemap.sk/C/{zoom}/{x}/{y}.jpeg",
+        "scaleExtent": [
+            8,
+            16
+        ],
+        "polygon": [
+            [
+                [
+                    19.83682,
+                    49.25529
+                ],
+                [
+                    19.80075,
+                    49.42385
+                ],
+                [
+                    19.60437,
+                    49.48058
+                ],
+                [
+                    19.49179,
+                    49.63961
+                ],
+                [
+                    19.21831,
+                    49.52604
+                ],
+                [
+                    19.16778,
+                    49.42521
+                ],
+                [
+                    19.00308,
+                    49.42236
+                ],
+                [
+                    18.97611,
+                    49.5308
+                ],
+                [
+                    18.54685,
+                    49.51425
+                ],
+                [
+                    18.31432,
+                    49.33818
+                ],
+                [
+                    18.15913,
+                    49.2961
+                ],
+                [
+                    18.05564,
+                    49.11134
+                ],
+                [
+                    17.56396,
+                    48.84938
+                ],
+                [
+                    17.17929,
+                    48.88816
+                ],
+                [
+                    17.058,
+                    48.81105
+                ],
+                [
+                    16.90426,
+                    48.61947
+                ],
+                [
+                    16.79685,
+                    48.38561
+                ],
+                [
+                    17.06762,
+                    48.01116
+                ],
+                [
+                    17.32787,
+                    47.97749
+                ],
+                [
+                    17.51699,
+                    47.82535
+                ],
+                [
+                    17.74776,
+                    47.73093
+                ],
+                [
+                    18.29515,
+                    47.72075
+                ],
+                [
+                    18.67959,
+                    47.75541
+                ],
+                [
+                    18.89755,
+                    47.81203
+                ],
+                [
+                    18.79463,
+                    47.88245
+                ],
+                [
+                    18.84318,
+                    48.04046
+                ],
+                [
+                    19.46212,
+                    48.05333
+                ],
+                [
+                    19.62064,
+                    48.22938
+                ],
+                [
+                    19.89585,
+                    48.09387
+                ],
+                [
+                    20.33766,
+                    48.2643
+                ],
+                [
+                    20.55395,
+                    48.52358
+                ],
+                [
+                    20.82335,
+                    48.55714
+                ],
+                [
+                    21.10271,
+                    48.47096
+                ],
+                [
+                    21.45863,
+                    48.55513
+                ],
+                [
+                    21.74536,
+                    48.31435
+                ],
+                [
+                    22.15293,
+                    48.37179
+                ],
+                [
+                    22.61255,
+                    49.08914
+                ],
+                [
+                    22.09997,
+                    49.23814
+                ],
+                [
+                    21.9686,
+                    49.36363
+                ],
+                [
+                    21.6244,
+                    49.46989
+                ],
+                [
+                    21.06873,
+                    49.46402
+                ],
+                [
+                    20.94336,
+                    49.31088
+                ],
+                [
+                    20.73052,
+                    49.44006
+                ],
+                [
+                    20.22804,
+                    49.41714
+                ],
+                [
+                    20.05234,
+                    49.23052
+                ],
+                [
+                    19.83682,
+                    49.25529
+                ]
+            ]
+        ],
+        "terms_text": "Copyright ©2007-2012 Freemap Slovakia (www.freemap.sk). Some rights reserved."
+    },
+    {
+        "name": "Freemap.sk Hiking",
+        "type": "tms",
+        "template": "http://t{switch:1,2,3,4}.freemap.sk/T/{zoom}/{x}/{y}.jpeg",
         "scaleExtent": [
             8,
             16
@@ -7366,7 +8328,8 @@ iD.data.imagery = [
                 ]
             ]
         ],
-        "terms_text": "Copyright © Główny Urząd Geodezji i Kartografii."
+        "terms_text": "Copyright © Główny Urząd Geodezji i Kartografii.",
+        "best": true
     },
     {
         "name": "IBGE Mapa de Setores Rurais",
@@ -11699,7 +12662,8 @@ iD.data.imagery = [
             ]
         ],
         "terms_url": "http://interspect.hu/",
-        "terms_text": "Interspect Kft."
+        "terms_text": "Interspect Kft.",
+        "best": true
     },
     {
         "name": "Ireland Bartholomew Quarter-Inch 1940",
@@ -13818,6 +14782,107 @@ iD.data.imagery = [
         "terms_url": "http://www.eea.europa.eu/data-and-maps/data/urban-atlas",
         "terms_text": "EEA GMES Urban Atlas"
     },
+    {
+        "name": "Japan GSI ortho Imagery",
+        "type": "tms",
+        "template": "http://cyberjapandata.gsi.go.jp/xyz/ort/{z}/{x}/{y}.jpg",
+        "scaleExtent": [
+            12,
+            19
+        ],
+        "polygon": [
+            [
+                [
+                    141.85546875,
+                    44.64911632343077
+                ],
+                [
+                    140.2294921875,
+                    43.96909818325174
+                ],
+                [
+                    138.955078125,
+                    41.80407814427237
+                ],
+                [
+                    139.482421875,
+                    40.17887331434696
+                ],
+                [
+                    138.8671875,
+                    38.30718056188316
+                ],
+                [
+                    136.31835937499997,
+                    37.19533058280065
+                ],
+                [
+                    132.1435546875,
+                    35.137879119634185
+                ],
+                [
+                    128.935546875,
+                    33.35806161277885
+                ],
+                [
+                    129.5068359375,
+                    32.47269502206151
+                ],
+                [
+                    129.77050781249997,
+                    31.690781806136822
+                ],
+                [
+                    130.2099609375,
+                    30.90222470517144
+                ],
+                [
+                    131.220703125,
+                    30.78903675126116
+                ],
+                [
+                    131.66015625,
+                    32.32427558887655
+                ],
+                [
+                    132.71484375,
+                    32.879587173066305
+                ],
+                [
+                    133.76953125,
+                    33.17434155100208
+                ],
+                [
+                    136.7578125,
+                    33.87041555094183
+                ],
+                [
+                    139.306640625,
+                    35.06597313798418
+                ],
+                [
+                    140.888671875,
+                    35.17380831799959
+                ],
+                [
+                    141.15234374999997,
+                    36.56260003738548
+                ],
+                [
+                    142.11914062499997,
+                    39.9434364619742
+                ],
+                [
+                    141.767578125,
+                    42.68243539838623
+                ],
+                [
+                    141.85546875,
+                    44.64911632343077
+                ]
+            ]
+        ]
+    },
     {
         "name": "Kanton Aargau 25cm (AGIS 2011)",
         "type": "tms",
@@ -13884,7 +14949,8 @@ iD.data.imagery = [
                 ]
             ]
         ],
-        "terms_text": "AGIS OF2014"
+        "terms_text": "AGIS OF2014",
+        "best": true
     },
     {
         "name": "Kanton Solothurn 25cm (SOGIS 2011-2014)",
@@ -15101,1209 +16167,1354 @@ iD.data.imagery = [
         "overlay": true
     },
     {
-        "name": "Landsat 233055",
+        "name": "LPI NSW Base Map",
         "type": "tms",
-        "description": "Recent Landsat imagery",
-        "template": "http://{switch:a,b,c,d}.tile.paulnorman.ca/landsat_233055/{zoom}/{x}/{y}.png",
+        "template": "http://maps.six.nsw.gov.au/arcgis/rest/services/public/NSW_Base_Map/MapServer/tile/{zoom}/{y}/{x}",
         "scaleExtent": [
-            5,
-            14
+            0,
+            19
         ],
         "polygon": [
             [
                 [
-                    -60.8550011,
-                    6.1765004
+                    140.9948644,
+                    -28.952966
                 ],
                 [
-                    -60.4762612,
-                    7.9188291
+                    148.9611382,
+                    -28.8997729
                 ],
                 [
-                    -62.161689,
-                    8.2778675
+                    148.9870097,
+                    -28.4862285
                 ],
                 [
-                    -62.5322549,
-                    6.5375488
-                ]
-            ]
-        ],
-        "id": "landsat_233055"
-    },
-    {
-        "name": "Latest southwest British Columbia Landsat",
-        "type": "tms",
-        "description": "Recent lower-resolution landsat imagery for southwest British Columbia",
-        "template": "http://{switch:a,b,c,d}.tile.paulnorman.ca/landsat_047026/{zoom}/{x}/{y}.png",
-        "scaleExtent": [
-            5,
-            13
-        ],
-        "polygon": [
-            [
+                    151.013609,
+                    -28.4786485
+                ],
                 [
-                    -121.9355512,
-                    47.7820648
+                    151.1084711,
+                    -28.7032909
                 ],
                 [
-                    -121.5720582,
-                    48.6410125
+                    151.8759917,
+                    -28.683118
                 ],
                 [
-                    -121.2015461,
-                    49.4846247
+                    151.9334839,
+                    -28.4078753
                 ],
                 [
-                    -121.8375516,
-                    49.6023246
+                    152.25544,
+                    -28.2332683
                 ],
                 [
-                    -122.4767046,
-                    49.7161735
+                    153.0660798,
+                    -28.2104723
                 ],
                 [
-                    -123.118912,
-                    49.8268824
+                    153.1408196,
+                    -28.1090981
                 ],
                 [
-                    -123.760228,
-                    49.9335836
+                    153.4735137,
+                    -28.1164808
                 ],
                 [
-                    -124.0887706,
-                    49.0870469
+                    153.3576523,
+                    -27.693606
                 ],
                 [
-                    -124.4128889,
-                    48.2252567
+                    159.4938303,
+                    -27.699252
                 ],
                 [
-                    -123.792772,
-                    48.1197334
+                    159.4856997,
+                    -37.8474137
                 ],
                 [
-                    -123.1727942,
-                    48.0109592
+                    149.5256879,
+                    -37.8281502
                 ],
                 [
-                    -122.553553,
-                    47.8982299
+                    149.9159578,
+                    -37.4869999
+                ],
+                [
+                    148.0485886,
+                    -36.8131741
+                ],
+                [
+                    147.9680996,
+                    -36.1567945
+                ],
+                [
+                    146.7147701,
+                    -36.2866613
+                ],
+                [
+                    145.3004625,
+                    -36.1567945
+                ],
+                [
+                    144.5300673,
+                    -36.1475101
+                ],
+                [
+                    142.8397973,
+                    -35.0254303
+                ],
+                [
+                    142.356863,
+                    -34.7802471
+                ],
+                [
+                    141.9774146,
+                    -34.4016159
+                ],
+                [
+                    140.9950258,
+                    -34.1371824
+                ],
+                [
+                    140.9948644,
+                    -28.952966
                 ]
             ]
         ],
-        "id": "landsat_047026"
+        "terms_url": "http://www.lpi.nsw.gov.au/mapping_and_imagery/lpi_web_services",
+        "terms_text": "© Land and Property Information 2015"
     },
     {
-        "name": "Lithuania - NŽT ORT10LT",
+        "name": "LPI NSW Imagery",
         "type": "tms",
-        "template": "http://mapproxy.openmap.lt/ort10lt/g/{z}/{x}/{y}.jpeg",
+        "template": "http://maps.six.nsw.gov.au/arcgis/rest/services/public/NSW_Imagery/MapServer/tile/{zoom}/{y}/{x}",
         "scaleExtent": [
-            4,
-            18
+            0,
+            21
         ],
         "polygon": [
             [
                 [
-                    21.4926054,
-                    56.3592046
+                    140.9868688,
+                    -28.9887829
                 ],
                 [
-                    21.8134688,
-                    56.4097144
+                    148.9951472,
+                    -28.9727491
                 ],
                 [
-                    21.9728753,
-                    56.4567587
+                    148.9966717,
+                    -28.4915066
                 ],
                 [
-                    22.2158294,
-                    56.4604404
+                    151.0029027,
+                    -28.4930697
                 ],
                 [
-                    22.2183922,
-                    56.4162361
+                    151.0029027,
+                    -28.7261663
                 ],
                 [
-                    23.3511527,
-                    56.4267251
+                    151.4915093,
+                    -28.7323921
                 ],
                 [
-                    23.3521778,
-                    56.3824815
+                    151.4918687,
+                    -28.7155337
                 ],
                 [
-                    23.9179035,
-                    56.383305
+                    151.9228213,
+                    -28.719635
                 ],
                 [
-                    23.9176231,
-                    56.3392908
+                    151.9251607,
+                    -28.4897139
                 ],
                 [
-                    24.5649817,
-                    56.3382169
+                    151.9955886,
+                    -28.4898718
                 ],
                 [
-                    24.564933,
-                    56.3828587
+                    151.9989947,
+                    -28.1192742
                 ],
                 [
-                    24.6475683,
-                    56.4277798
+                    152.4967606,
+                    -28.122091
                 ],
                 [
-                    24.8099394,
-                    56.470646
+                    152.4968241,
+                    -28.1146398
                 ],
                 [
-                    24.9733979,
-                    56.4698452
+                    153.0044563,
+                    -28.1154389
                 ],
                 [
-                    25.1299701,
-                    56.2890356
+                    153.0044563,
+                    -28.120397
                 ],
                 [
-                    25.127433,
-                    56.1990144
+                    153.5038629,
+                    -28.119345
                 ],
                 [
-                    25.6921076,
-                    56.1933684
+                    153.5039264,
+                    -28.1227063
                 ],
                 [
-                    26.0839005,
-                    56.0067879
+                    153.5919395,
+                    -28.1223619
                 ],
                 [
-                    26.4673573,
-                    55.7304232
+                    153.5926582,
+                    -28.1776872
                 ],
                 [
-                    26.5463565,
-                    55.7132705
+                    153.6111186,
+                    -28.1757867
                 ],
                 [
-                    26.5154447,
-                    55.2345969
+                    153.6113881,
+                    -28.1825173
                 ],
                 [
-                    25.7874641,
-                    54.8425656
+                    153.7426846,
+                    -28.2162084
                 ],
                 [
-                    25.7675259,
-                    54.6350898
+                    153.7787253,
+                    -28.710911
                 ],
                 [
-                    25.6165253,
-                    54.4404007
+                    152.6237954,
+                    -32.5877239
                 ],
                 [
-                    24.4566043,
-                    53.9577649
+                    152.3123961,
+                    -32.6328837
                 ],
                 [
-                    23.6164786,
-                    53.9575517
+                    151.4141942,
+                    -33.5790388
                 ],
                 [
-                    23.5632006,
-                    54.048085
+                    150.8929925,
+                    -35.2648721
                 ],
                 [
-                    22.8462074,
-                    54.3563682
+                    150.4620695,
+                    -35.7777256
                 ],
                 [
-                    22.831944,
-                    54.9414849
+                    150.0156501,
+                    -37.5103569
                 ],
                 [
-                    22.4306085,
-                    55.1159913
+                    149.9918121,
+                    -37.5126787
                 ],
                 [
-                    21.9605898,
-                    55.1107144
+                    149.519778,
+                    -37.5130704
                 ],
                 [
-                    21.7253241,
-                    55.1496885
+                    149.5199577,
+                    -37.5216919
                 ],
                 [
-                    21.5628422,
-                    55.2362913
+                    149.4462958,
+                    -37.5353701
                 ],
                 [
-                    21.2209638,
-                    55.2742668
+                    149.063344,
+                    -37.5357975
                 ],
                 [
-                    21.1630444,
-                    55.2803979
+                    148.9836635,
+                    -37.5217631
                 ],
                 [
-                    20.9277788,
-                    55.3101641
+                    148.9816872,
+                    -37.5191982
                 ],
                 [
-                    20.9257285,
-                    55.3588507
+                    148.9863847,
+                    -37.2584972
                 ],
                 [
-                    20.9980451,
-                    55.4514157
+                    148.4875376,
+                    -37.265846
                 ],
                 [
-                    21.0282249,
-                    56.0796297
-                ]
-            ]
-        ],
-        "terms_url": "http://www.geoportal.lt",
-        "terms_text": "NŽT ORT10LT"
-    },
-    {
-        "name": "Locator Overlay",
-        "type": "tms",
-        "description": "Shows major features to help orient you.",
-        "template": "http://{switch:a,b,c}.tiles.mapbox.com/v4/openstreetmap.map-inh76ba2/{zoom}/{x}/{y}.png?access_token=pk.eyJ1Ijoib3BlbnN0cmVldG1hcCIsImEiOiJncjlmd0t3In0.DmZsIeOW-3x-C5eX-wAqTw",
-        "scaleExtent": [
-            0,
-            16
-        ],
-        "overzoom": false,
-        "terms_url": "http://www.mapbox.com/about/maps/",
-        "terms_text": "Terms & Feedback",
-        "default": true,
-        "overlay": true
-    },
-    {
-        "name": "Luxembourg Inspire Ortho 2010",
-        "type": "tms",
-        "template": "http://mapproxy.openstreetmap.lu/tiles/ortho2010/EPSG900913/{z}/{x}/{y}.jpeg",
-        "scaleExtent": [
-            0,
-            20
-        ],
-        "polygon": [
-            [
+                    148.4824774,
+                    -37.0092669
+                ],
                 [
-                    5.961753,
-                    50.17631
+                    147.994386,
+                    -37.014339
                 ],
                 [
-                    6.026268,
-                    50.18496
+                    147.988288,
+                    -36.5332184
                 ],
                 [
-                    6.033182,
-                    50.16395
+                    147.9529707,
+                    -36.5260725
                 ],
                 [
-                    6.060695,
-                    50.15536
+                    147.9486513,
+                    -36.0685992
                 ],
                 [
-                    6.07668,
-                    50.15913
+                    147.5034997,
+                    -36.0716798
                 ],
                 [
-                    6.078237,
-                    50.17255
+                    147.5047701,
+                    -36.2651047
                 ],
                 [
-                    6.101762,
-                    50.17199
+                    146.4919996,
+                    -36.266129
                 ],
                 [
-                    6.122501,
-                    50.16437
+                    146.4922536,
+                    -36.2565
                 ],
                 [
-                    6.120101,
-                    50.15594
+                    145.9929826,
+                    -36.2534267
                 ],
                 [
-                    6.127695,
-                    50.14993
+                    145.9965866,
+                    -36.0188147
                 ],
                 [
-                    6.113228,
-                    50.13739
+                    145.9831568,
+                    -36.0187058
                 ],
                 [
-                    6.123691,
-                    50.13719
+                    145.9624506,
+                    -36.0219026
                 ],
                 [
-                    6.140929,
-                    50.1305
+                    145.946236,
+                    -36.0120936
                 ],
                 [
-                    6.135554,
-                    50.11899
+                    145.9454275,
+                    -36.0060259
                 ],
                 [
-                    6.138082,
-                    50.10263
+                    145.5041534,
+                    -36.0013564
                 ],
                 [
-                    6.131085,
-                    50.09964
+                    145.5037941,
+                    -36.0109125
                 ],
                 [
-                    6.135473,
-                    50.09119
+                    145.0072008,
+                    -36.0036213
                 ],
                 [
-                    6.121939,
-                    50.09059
+                    145.0035404,
+                    -36.1520424
                 ],
                 [
-                    6.126335,
-                    50.07817
+                    144.4860806,
+                    -36.1423149
                 ],
                 [
-                    6.131858,
-                    50.07348
+                    144.4874127,
+                    -36.0137522
                 ],
                 [
-                    6.121171,
-                    50.064
+                    143.9874676,
+                    -36.0024134
                 ],
                 [
-                    6.114444,
-                    50.06139
+                    143.9932853,
+                    -35.5723753
                 ],
                 [
-                    6.115631,
-                    50.05817
+                    143.4971691,
+                    -35.5837101
                 ],
                 [
-                    6.123611,
-                    50.06323
+                    143.4917967,
+                    -35.4065648
                 ],
                 [
-                    6.136608,
-                    50.04178
+                    143.4613438,
+                    -35.3674934
                 ],
                 [
-                    6.130343,
-                    50.02975
+                    143.4585591,
+                    -35.3555888
                 ],
                 [
-                    6.148207,
-                    50.02307
+                    143.4897755,
+                    -35.3396522
                 ],
                 [
-                    6.13868,
-                    50.01572
+                    143.4895509,
+                    -35.332214
                 ],
                 [
-                    6.135938,
-                    50.01485
+                    143.4316994,
+                    -35.2570613
                 ],
                 [
-                    6.131384,
-                    50.01905
+                    143.2505542,
+                    -35.2606556
                 ],
                 [
-                    6.130243,
-                    50.01819
+                    143.2438356,
+                    -35.0132729
                 ],
                 [
-                    6.139343,
-                    50.01116
+                    142.9933305,
+                    -35.0177207
                 ],
                 [
-                    6.151702,
-                    50.01058
+                    142.9919767,
+                    -34.7961882
                 ],
                 [
-                    6.145464,
-                    49.99689
+                    142.4971375,
+                    -34.8032323
                 ],
                 [
-                    6.139657,
-                    49.9994
+                    142.4973172,
+                    -34.8007613
                 ],
                 [
-                    6.138524,
-                    49.99829
+                    142.4211401,
+                    -34.8017571
                 ],
                 [
-                    6.142178,
-                    49.99535
+                    142.4209155,
+                    -34.7838306
                 ],
                 [
-                    6.150227,
-                    49.99518
+                    142.2330892,
+                    -34.7859191
                 ],
                 [
-                    6.156247,
-                    49.98867
+                    142.2307707,
+                    -34.7807542
                 ],
                 [
-                    6.173045,
-                    49.98589
+                    142.2269959,
+                    -34.5061271
                 ],
                 [
-                    6.17348,
-                    49.98344
+                    141.9975302,
+                    -34.5083733
                 ],
                 [
-                    6.170353,
-                    49.98376
+                    141.9945959,
+                    -34.2526687
                 ],
                 [
-                    6.165487,
-                    49.97115
+                    141.4982345,
+                    -34.2556921
                 ],
                 [
-                    6.171512,
-                    49.96298
+                    141.498171,
+                    -34.2522794
                 ],
                 [
-                    6.176298,
-                    49.962
+                    140.9945397,
+                    -34.2528411
                 ],
                 [
-                    6.179954,
-                    49.95386
+                    140.9868688,
+                    -28.9887829
+                ]
+            ]
+        ],
+        "terms_url": "http://www.lpi.nsw.gov.au/mapping_and_imagery/lpi_web_services",
+        "terms_text": "© Land and Property Information 2015"
+    },
+    {
+        "name": "LPI NSW Topographic Map",
+        "type": "tms",
+        "template": "http://maps.six.nsw.gov.au/arcgis/rest/services/public/NSW_Topo_Map/MapServer/tile/{zoom}/{y}/{x}",
+        "scaleExtent": [
+            0,
+            16
+        ],
+        "polygon": [
+            [
+                [
+                    140.9988422,
+                    -28.9992444
                 ],
                 [
-                    6.183393,
-                    49.9548
+                    148.9502438,
+                    -28.9993736
                 ],
                 [
-                    6.179829,
-                    49.96307
+                    148.9498845,
+                    -28.9665265
                 ],
                 [
-                    6.183312,
-                    49.9686
+                    148.9998308,
+                    -28.9665265
                 ],
                 [
-                    6.192774,
-                    49.97158
+                    149.0000917,
+                    -28.8165829
                 ],
                 [
-                    6.199783,
-                    49.95352
+                    149.1000729,
+                    -28.8165829
                 ],
                 [
-                    6.207066,
-                    49.95672
+                    149.0997046,
+                    -28.7488533
                 ],
                 [
-                    6.212689,
-                    49.9514
+                    148.9998504,
+                    -28.7497444
                 ],
                 [
-                    6.225023,
-                    49.95039
+                    148.9998169,
+                    -28.5000304
                 ],
                 [
-                    6.22044,
-                    49.94369
+                    151.0000514,
+                    -28.5005192
                 ],
                 [
-                    6.228241,
-                    49.93726
+                    151.0005904,
+                    -28.7325849
                 ],
                 [
-                    6.22635,
-                    49.92766
+                    151.0239466,
+                    -28.7327424
                 ],
                 [
-                    6.219133,
-                    49.92354
+                    151.0241262,
+                    -28.7418794
                 ],
                 [
-                    6.229862,
-                    49.92125
+                    151.0329297,
+                    -28.7418794
                 ],
                 [
-                    6.236032,
-                    49.91355
+                    151.033828,
+                    -28.7505431
                 ],
                 [
-                    6.231867,
-                    49.91064
+                    151.999984,
+                    -28.7495314
                 ],
                 [
-                    6.227694,
-                    49.91062
+                    151.999984,
+                    -28.7164478
                 ],
                 [
-                    6.232286,
-                    49.9072
+                    152.0334014,
+                    -28.7166053
                 ],
                 [
-                    6.23381,
-                    49.90028
+                    152.0332217,
+                    -28.683196
                 ],
                 [
-                    6.246919,
-                    49.89535
+                    152.0000739,
+                    -28.6833537
                 ],
                 [
-                    6.257809,
-                    49.88724
+                    151.9998769,
+                    -28.6416273
                 ],
                 [
-                    6.263008,
-                    49.88101
+                    151.9829886,
+                    -28.6413908
                 ],
                 [
-                    6.276455,
-                    49.87725
+                    151.9831683,
+                    -28.624912
                 ],
                 [
-                    6.281126,
-                    49.87957
+                    151.9331321,
+                    -28.6247543
                 ],
                 [
-                    6.291661,
-                    49.87548
+                    151.9334122,
+                    -28.500071
                 ],
                 [
-                    6.297699,
-                    49.86673
+                    151.9998875,
+                    -28.5002289
                 ],
                 [
-                    6.309889,
-                    49.87107
+                    151.9998556,
+                    -28.3749591
                 ],
                 [
-                    6.315324,
-                    49.8673
+                    152.2499739,
+                    -28.3750718
                 ],
                 [
-                    6.314651,
-                    49.86057
+                    152.2499356,
+                    -28.2500066
                 ],
                 [
-                    6.323611,
-                    49.85188
+                    152.9997192,
+                    -28.2498563
                 ],
                 [
-                    6.321577,
-                    49.8409
+                    152.9998989,
+                    -28.2832447
                 ],
                 [
-                    6.327406,
-                    49.83673
+                    153.1165002,
+                    -28.2834029
                 ],
                 [
-                    6.336561,
-                    49.83998
+                    153.11659,
+                    -28.2498563
                 ],
                 [
-                    6.339366,
-                    49.8507
+                    153.1666262,
+                    -28.2500146
                 ],
                 [
-                    6.364651,
-                    49.85164
+                    153.166716,
+                    -28.2331582
                 ],
                 [
-                    6.402203,
-                    49.82098
+                    153.2499898,
+                    -28.2332373
                 ],
                 [
-                    6.426434,
-                    49.81629
+                    153.2500265,
+                    -28.1249689
                 ],
                 [
-                    6.428071,
-                    49.81186
+                    153.6249628,
+                    -28.1250833
                 ],
                 [
-                    6.43097,
-                    49.81129
+                    153.6248398,
+                    -28.4999134
                 ],
                 [
-                    6.441608,
-                    49.81547
+                    153.7497955,
+                    -28.4999924
                 ],
                 [
-                    6.443442,
-                    49.81233
+                    153.7495877,
+                    -28.7497976
                 ],
                 [
-                    6.45366,
-                    49.81275
+                    153.6248117,
+                    -28.7501127
                 ],
                 [
-                    6.464538,
-                    49.81975
+                    153.6249745,
+                    -28.9999333
                 ],
                 [
-                    6.47057,
-                    49.82385
+                    153.4997672,
+                    -29.0000612
                 ],
                 [
-                    6.496805,
-                    49.81277
+                    153.4998417,
+                    -29.4995077
                 ],
                 [
-                    6.50669,
-                    49.80993
+                    153.3747962,
+                    -29.500055
                 ],
                 [
-                    6.511554,
-                    49.80238
+                    153.3754111,
+                    -29.8750302
                 ],
                 [
-                    6.51485,
-                    49.80513
+                    153.4999113,
+                    -29.8751403
                 ],
                 [
-                    6.519604,
-                    49.81446
+                    153.4999113,
+                    -30.0000922
                 ],
                 [
-                    6.529808,
-                    49.81048
+                    153.2498947,
+                    -29.9997621
                 ],
                 [
-                    6.532249,
-                    49.80686
+                    153.250025,
+                    -30.1917704
                 ],
                 [
-                    6.530829,
-                    49.80116
+                    153.2748185,
+                    -30.1916151
                 ],
                 [
-                    6.506225,
-                    49.78899
+                    153.2748185,
+                    -30.2168467
                 ],
                 [
-                    6.519171,
-                    49.78344
+                    153.2166077,
+                    -30.2166139
                 ],
                 [
-                    6.511055,
-                    49.77422
+                    153.2166077,
+                    -30.250065
                 ],
                 [
-                    6.520563,
-                    49.76818
+                    153.250025,
+                    -30.250065
                 ],
                 [
-                    6.520516,
-                    49.76134
+                    153.2497502,
+                    -30.3751935
                 ],
                 [
-                    6.503734,
-                    49.75086
+                    153.1243608,
+                    -30.3749743
                 ],
                 [
-                    6.502627,
-                    49.73298
+                    153.1246457,
+                    -30.6250359
                 ],
                 [
-                    6.507266,
-                    49.72938
+                    153.0331676,
+                    -30.6250482
                 ],
                 [
-                    6.518092,
-                    49.7242
+                    153.0333884,
+                    -30.8750837
                 ],
                 [
-                    6.516417,
-                    49.72129
+                    153.1249214,
+                    -30.8750291
                 ],
                 [
-                    6.511763,
-                    49.72016
+                    153.1249344,
+                    -31.1250505
                 ],
                 [
-                    6.504791,
-                    49.725
+                    153.0082433,
+                    -31.1249736
                 ],
                 [
-                    6.498913,
-                    49.72639
+                    153.0082914,
+                    -31.2499759
                 ],
                 [
-                    6.495576,
-                    49.72443
+                    153.0000019,
+                    -31.250003
                 ],
                 [
-                    6.507122,
-                    49.71655
+                    152.9999392,
+                    -31.6249919
                 ],
                 [
-                    6.507884,
-                    49.71215
+                    152.8749386,
+                    -31.6250491
                 ],
                 [
-                    6.504598,
-                    49.71227
+                    152.8749572,
+                    -31.749954
                 ],
                 [
-                    6.427139,
-                    49.66237
+                    152.7832899,
+                    -31.7500034
                 ],
                 [
-                    6.439899,
-                    49.66025
+                    152.7831966,
+                    -31.8748579
                 ],
                 [
-                    6.442511,
-                    49.65591
+                    152.749914,
+                    -31.8750105
                 ],
                 [
-                    6.421781,
-                    49.61809
+                    152.7500397,
+                    -32.0000207
                 ],
                 [
-                    6.398978,
-                    49.60094
+                    152.6249044,
+                    -31.9999446
                 ],
                 [
-                    6.379408,
-                    49.59526
+                    152.6249078,
+                    -32.5000047
                 ],
                 [
-                    6.375507,
-                    49.58809
+                    152.4999757,
+                    -32.4999569
                 ],
                 [
-                    6.384426,
-                    49.5801
+                    152.5000336,
+                    -32.5666443
                 ],
                 [
-                    6.381188,
-                    49.57509
+                    152.4166699,
+                    -32.5663415
                 ],
                 [
-                    6.369093,
-                    49.5783
+                    152.4167598,
+                    -32.6249954
                 ],
                 [
-                    6.357913,
-                    49.57166
+                    152.3498477,
+                    -32.624991
                 ],
                 [
-                    6.384902,
-                    49.55817
+                    152.3498477,
+                    -32.6332294
                 ],
                 [
-                    6.380095,
-                    49.54856
+                    152.2830786,
+                    -32.6332218
                 ],
                 [
-                    6.358555,
-                    49.53296
+                    152.2832583,
+                    -32.6249755
                 ],
                 [
-                    6.359322,
-                    49.52481
+                    152.2494816,
+                    -32.6249755
                 ],
                 [
-                    6.370763,
-                    49.50545
+                    152.2498101,
+                    -32.874906
                 ],
                 [
-                    6.370562,
-                    49.45732
+                    151.8745693,
+                    -32.8750443
                 ],
                 [
-                    6.333403,
-                    49.46493
+                    151.8748535,
+                    -33.0000091
                 ],
                 [
-                    6.321894,
-                    49.47244
+                    151.7497706,
+                    -33.0001533
                 ],
                 [
-                    6.295034,
-                    49.47928
+                    151.7504669,
+                    -33.2500398
                 ],
                 [
-                    6.287889,
-                    49.48379
+                    151.6252418,
+                    -33.2497393
                 ],
                 [
-                    6.271912,
-                    49.49995
+                    151.6250828,
+                    -33.3751621
                 ],
                 [
-                    6.241327,
-                    49.50693
+                    151.499585,
+                    -33.3751442
                 ],
                 [
-                    6.196692,
-                    49.50331
+                    151.5003127,
+                    -33.6249385
                 ],
                 [
-                    6.173373,
-                    49.50577
+                    151.3741466,
+                    -33.6243658
                 ],
                 [
-                    6.160858,
-                    49.50085
+                    151.3727902,
+                    -34.001962
                 ],
                 [
-                    6.167099,
-                    49.49006
+                    151.2477819,
+                    -34.0011194
                 ],
                 [
-                    6.140179,
-                    49.48525
+                    151.2477819,
+                    -34.2493114
                 ],
                 [
-                    6.129367,
-                    49.48803
+                    150.9957327,
+                    -34.2501515
                 ],
                 [
-                    6.127247,
-                    49.47081
+                    151.0008143,
+                    -34.62483
                 ],
                 [
-                    6.101403,
-                    49.46726
+                    150.8717407,
+                    -34.6265026
                 ],
                 [
-                    6.104826,
-                    49.45076
+                    150.872757,
+                    -35.1242738
                 ],
                 [
-                    6.081667,
-                    49.45417
+                    150.7670589,
+                    -35.1234425
                 ],
                 [
-                    6.077222,
-                    49.46139
+                    150.7690916,
+                    -35.2463774
                 ],
                 [
-                    6.059167,
-                    49.46306
+                    150.6257894,
+                    -35.2496974
                 ],
                 [
-                    6.052222,
-                    49.46028
+                    150.6280314,
+                    -35.3751485
                 ],
                 [
-                    6.044213,
-                    49.44553
+                    150.4999742,
+                    -35.3751485
                 ],
                 [
-                    6.025294,
-                    49.44703
+                    150.4959088,
+                    -35.6275034
                 ],
                 [
-                    6.021545,
-                    49.45127
+                    150.3719169,
+                    -35.6250251
                 ],
                 [
-                    6.01574,
-                    49.44885
+                    150.3749658,
+                    -35.7537957
                 ],
                 [
-                    5.994123,
-                    49.45301
+                    150.2672351,
+                    -35.7513213
                 ],
                 [
-                    5.976569,
-                    49.44885
+                    150.2652024,
+                    -35.8741232
                 ],
                 [
-                    5.977725,
-                    49.45955
+                    150.2479249,
+                    -35.870829
                 ],
                 [
-                    5.972317,
-                    49.46087
+                    150.2458922,
+                    -36.374885
                 ],
                 [
-                    5.968912,
-                    49.48202
+                    150.1229166,
+                    -36.374885
                 ],
                 [
-                    5.9616,
-                    49.49026
+                    150.1259656,
+                    -36.6224345
                 ],
                 [
-                    5.915781,
-                    49.49835
+                    150.0253491,
+                    -36.6240658
                 ],
                 [
-                    5.890334,
-                    49.4948
+                    150.0283981,
+                    -36.7471337
                 ],
                 [
-                    5.863321,
-                    49.50006
+                    149.9928266,
+                    -36.7495768
                 ],
                 [
-                    5.84897,
-                    49.50826
+                    150.0040062,
+                    -37.1224477
                 ],
                 [
-                    5.84828,
-                    49.51397
+                    150.0588879,
+                    -37.1273097
                 ],
                 [
-                    5.83641,
-                    49.51817
+                    150.0568553,
+                    -37.37809
                 ],
                 [
-                    5.831868,
-                    49.52639
+                    149.9979083,
+                    -37.3732441
                 ],
                 [
-                    5.84308,
-                    49.53081
+                    149.9999409,
+                    -37.4830073
                 ],
                 [
-                    5.835622,
-                    49.54114
+                    149.987745,
+                    -37.4846202
                 ],
                 [
-                    5.816251,
-                    49.53325
+                    149.9857123,
+                    -37.5080043
                 ],
                 [
-                    5.805201,
-                    49.54272
+                    148.0684571,
+                    -36.80624
                 ],
                 [
-                    5.859432,
-                    49.57158
+                    147.9930603,
+                    -36.1379955
                 ],
                 [
-                    5.868663,
-                    49.587
+                    147.8148345,
+                    -36.0055567
                 ],
                 [
-                    5.862888,
-                    49.58525
+                    147.3893924,
+                    -36.0113701
                 ],
                 [
-                    5.851102,
-                    49.58379
+                    147.3822059,
+                    -36.1310306
                 ],
                 [
-                    5.847116,
-                    49.58961
+                    146.9972549,
+                    -36.1275479
                 ],
                 [
-                    5.845652,
-                    49.5981
+                    146.9886311,
+                    -36.2528271
                 ],
                 [
-                    5.869401,
-                    49.6106
+                    146.4956356,
+                    -36.2447132
                 ],
                 [
-                    5.881819,
-                    49.63815
+                    146.5042595,
+                    -36.126387
                 ],
                 [
-                    5.899978,
-                    49.63907
+                    145.0011817,
+                    -36.0079505
                 ],
                 [
-                    5.899339,
-                    49.66239
+                    145.0154103,
+                    -36.2542074
                 ],
                 [
-                    5.856561,
-                    49.67628
+                    144.5072465,
+                    -36.2476506
                 ],
                 [
-                    5.856283,
-                    49.68211
+                    144.4991158,
+                    -36.0211037
                 ],
                 [
-                    5.875703,
-                    49.71118
+                    143.9965422,
+                    -35.9810531
                 ],
                 [
-                    5.864811,
-                    49.72331
+                    143.3382568,
+                    -35.2331794
                 ],
                 [
-                    5.843249,
-                    49.71822
+                    142.4097581,
+                    -34.7669434
                 ],
                 [
-                    5.82191,
-                    49.72128
+                    142.0361436,
+                    -34.3758837
                 ],
                 [
-                    5.824894,
-                    49.73767
+                    140.9965216,
+                    -34.1385805
                 ],
                 [
-                    5.820728,
-                    49.74878
+                    140.9988422,
+                    -28.9992444
+                ]
+            ]
+        ],
+        "terms_url": "http://www.lpi.nsw.gov.au/mapping_and_imagery/lpi_web_services",
+        "terms_text": "© Land and Property Information 2015"
+    },
+    {
+        "name": "Landsat 233055",
+        "type": "tms",
+        "description": "Recent Landsat imagery",
+        "template": "http://{switch:a,b,c,d}.tile.paulnorman.ca/landsat_233055/{zoom}/{x}/{y}.png",
+        "scaleExtent": [
+            5,
+            14
+        ],
+        "polygon": [
+            [
+                [
+                    -60.8550011,
+                    6.1765004
                 ],
                 [
-                    5.786264,
-                    49.79079
+                    -60.4762612,
+                    7.9188291
                 ],
                 [
-                    5.765172,
-                    49.78961
+                    -62.161689,
+                    8.2778675
                 ],
                 [
-                    5.750937,
-                    49.79094
+                    -62.5322549,
+                    6.5375488
+                ]
+            ]
+        ],
+        "id": "landsat_233055"
+    },
+    {
+        "name": "Latest southwest British Columbia Landsat",
+        "type": "tms",
+        "description": "Recent lower-resolution landsat imagery for southwest British Columbia",
+        "template": "http://{switch:a,b,c,d}.tile.paulnorman.ca/landsat_047026/{zoom}/{x}/{y}.png",
+        "scaleExtent": [
+            5,
+            13
+        ],
+        "polygon": [
+            [
+                [
+                    -121.9355512,
+                    47.7820648
                 ],
                 [
-                    5.741591,
-                    49.82126
+                    -121.5720582,
+                    48.6410125
                 ],
                 [
-                    5.745814,
-                    49.82435
+                    -121.2015461,
+                    49.4846247
                 ],
                 [
-                    5.737197,
-                    49.83353
+                    -121.8375516,
+                    49.6023246
                 ],
                 [
-                    5.740531,
-                    49.84142
+                    -122.4767046,
+                    49.7161735
                 ],
                 [
-                    5.747012,
-                    49.84048
+                    -123.118912,
+                    49.8268824
                 ],
                 [
-                    5.746237,
-                    49.84783
+                    -123.760228,
+                    49.9335836
                 ],
                 [
-                    5.753989,
-                    49.84878
+                    -124.0887706,
+                    49.0870469
                 ],
                 [
-                    5.740663,
-                    49.85152
+                    -124.4128889,
+                    48.2252567
                 ],
                 [
-                    5.752288,
-                    49.85922
+                    -123.792772,
+                    48.1197334
                 ],
                 [
-                    5.749545,
-                    49.87554
+                    -123.1727942,
+                    48.0109592
                 ],
                 [
-                    5.775668,
-                    49.87438
+                    -122.553553,
+                    47.8982299
+                ]
+            ]
+        ],
+        "id": "landsat_047026"
+    },
+    {
+        "name": "Lithuania - NŽT ORT10LT",
+        "type": "tms",
+        "template": "http://mapproxy.openmap.lt/ort10lt/g/{z}/{x}/{y}.jpeg",
+        "scaleExtent": [
+            4,
+            18
+        ],
+        "polygon": [
+            [
+                [
+                    21.4926054,
+                    56.3592046
                 ],
                 [
-                    5.775053,
-                    49.88057
+                    21.8134688,
+                    56.4097144
                 ],
                 [
-                    5.734598,
-                    49.89341
+                    21.9728753,
+                    56.4567587
                 ],
                 [
-                    5.733033,
-                    49.90285
+                    22.2158294,
+                    56.4604404
                 ],
                 [
-                    5.757834,
-                    49.91737
+                    22.2183922,
+                    56.4162361
                 ],
                 [
-                    5.760393,
-                    49.93252
+                    23.3511527,
+                    56.4267251
                 ],
                 [
-                    5.770728,
-                    49.93711
+                    23.3521778,
+                    56.3824815
                 ],
                 [
-                    5.768783,
-                    49.94239
+                    23.9179035,
+                    56.383305
                 ],
                 [
-                    5.768802,
-                    49.96104
+                    23.9176231,
+                    56.3392908
                 ],
                 [
-                    5.786724,
-                    49.96816
+                    24.5649817,
+                    56.3382169
                 ],
                 [
-                    5.80524,
-                    49.96677
+                    24.564933,
+                    56.3828587
                 ],
                 [
-                    5.806521,
-                    49.97321
+                    24.6475683,
+                    56.4277798
                 ],
                 [
-                    5.831293,
-                    49.97995
+                    24.8099394,
+                    56.470646
                 ],
                 [
-                    5.834616,
-                    49.98656
+                    24.9733979,
+                    56.4698452
                 ],
                 [
-                    5.818057,
-                    49.99936
+                    25.1299701,
+                    56.2890356
                 ],
                 [
-                    5.815606,
-                    50.01437
+                    25.127433,
+                    56.1990144
                 ],
                 [
-                    5.847923,
-                    50.02809
+                    25.6921076,
+                    56.1933684
                 ],
                 [
-                    5.861889,
-                    50.04581
+                    26.0839005,
+                    56.0067879
                 ],
                 [
-                    5.850872,
-                    50.0563
+                    26.4673573,
+                    55.7304232
                 ],
                 [
-                    5.857809,
-                    50.07186
+                    26.5463565,
+                    55.7132705
                 ],
                 [
-                    5.880997,
-                    50.08069
+                    26.5154447,
+                    55.2345969
                 ],
                 [
-                    5.891965,
-                    50.12041
+                    25.7874641,
+                    54.8425656
                 ],
                 [
-                    5.952856,
-                    50.13384
+                    25.7675259,
+                    54.6350898
                 ],
                 [
-                    5.961753,
-                    50.17631
+                    25.6165253,
+                    54.4404007
+                ],
+                [
+                    24.4566043,
+                    53.9577649
+                ],
+                [
+                    23.6164786,
+                    53.9575517
+                ],
+                [
+                    23.5632006,
+                    54.048085
+                ],
+                [
+                    22.8462074,
+                    54.3563682
+                ],
+                [
+                    22.831944,
+                    54.9414849
+                ],
+                [
+                    22.4306085,
+                    55.1159913
+                ],
+                [
+                    21.9605898,
+                    55.1107144
+                ],
+                [
+                    21.7253241,
+                    55.1496885
+                ],
+                [
+                    21.5628422,
+                    55.2362913
+                ],
+                [
+                    21.2209638,
+                    55.2742668
+                ],
+                [
+                    21.1630444,
+                    55.2803979
+                ],
+                [
+                    20.9277788,
+                    55.3101641
+                ],
+                [
+                    20.9257285,
+                    55.3588507
+                ],
+                [
+                    20.9980451,
+                    55.4514157
+                ],
+                [
+                    21.0282249,
+                    56.0796297
                 ]
             ]
         ],
-        "terms_url": "http://www.act.public.lu/fr/actualites/2014/02/ortho2014/",
-        "terms_text": "Administration du Cadastre et de la Topographie",
-        "id": "lu.geoportail.inspire.ortho2010"
+        "terms_url": "http://www.geoportal.lt",
+        "terms_text": "NŽT ORT10LT"
     },
     {
-        "name": "Luxembourg Inspire Ortho 2013",
+        "name": "Locator Overlay",
         "type": "tms",
-        "template": "http://mapproxy.openstreetmap.lu/tiles/ortho2013/EPSG900913/{z}/{x}/{y}.jpeg",
+        "description": "Shows major features to help orient you.",
+        "template": "http://{switch:a,b,c}.tiles.mapbox.com/v4/openstreetmap.map-inh76ba2/{zoom}/{x}/{y}.png?access_token=pk.eyJ1Ijoib3BlbnN0cmVldG1hcCIsImEiOiJncjlmd0t3In0.DmZsIeOW-3x-C5eX-wAqTw",
+        "scaleExtent": [
+            0,
+            16
+        ],
+        "overzoom": false,
+        "terms_url": "http://www.mapbox.com/about/maps/",
+        "terms_text": "Terms & Feedback",
+        "default": true,
+        "overlay": true
+    },
+    {
+        "name": "Luxembourg Inspire Ortho 2010",
+        "type": "tms",
+        "template": "http://mapproxy.openstreetmap.lu/tiles/ortho2010/EPSG900913/{z}/{x}/{y}.jpeg",
         "scaleExtent": [
             0,
             20
@@ -17218,10950 +18429,15732 @@ iD.data.imagery = [
         ],
         "terms_url": "http://www.act.public.lu/fr/actualites/2014/02/ortho2014/",
         "terms_text": "Administration du Cadastre et de la Topographie",
-        "id": "lu.geoportail.inspire.ortho2013"
+        "id": "lu.geoportail.inspire.ortho2010",
+        "best": true
     },
     {
-        "name": "Mapbox Satellite",
-        "type": "tms",
-        "description": "Satellite and aerial imagery.",
-        "template": "http://{switch:a,b,c}.tiles.mapbox.com/v4/openstreetmap.map-inh7ifmo/{zoom}/{x}/{y}.png?access_token=pk.eyJ1Ijoib3BlbnN0cmVldG1hcCIsImEiOiJncjlmd0t3In0.DmZsIeOW-3x-C5eX-wAqTw",
-        "scaleExtent": [
-            0,
-            19
-        ],
-        "terms_url": "http://www.mapbox.com/about/maps/",
-        "terms_text": "Terms & Feedback",
-        "id": "Mapbox",
-        "default": true
-    },
-    {
-        "name": "NLS - Bartholomew Half Inch, 1897-1907",
+        "name": "Luxembourg Inspire Ortho 2013",
         "type": "tms",
-        "template": "http://geo.nls.uk/mapdata2/bartholomew/great_britain/{zoom}/{x}/{-y}.png",
+        "template": "http://mapproxy.openstreetmap.lu/tiles/ortho2013/EPSG900913/{z}/{x}/{y}.jpeg",
         "scaleExtent": [
             0,
-            15
+            20
         ],
         "polygon": [
             [
                 [
-                    -9,
-                    49.8
+                    5.961753,
+                    50.17631
                 ],
                 [
-                    -9,
-                    61.1
+                    6.026268,
+                    50.18496
                 ],
                 [
-                    1.9,
-                    61.1
+                    6.033182,
+                    50.16395
                 ],
                 [
-                    1.9,
-                    49.8
+                    6.060695,
+                    50.15536
                 ],
                 [
-                    -9,
-                    49.8
-                ]
-            ]
-        ],
-        "terms_url": "http://geo.nls.uk/maps/",
-        "terms_text": "National Library of Scotland Historic Maps"
-    },
-    {
-        "name": "NLS - OS 1-inch 7th Series 1955-61",
-        "type": "tms",
-        "template": "http://geo.nls.uk/mapdata2/os/seventh/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            5,
-            16
-        ],
-        "polygon": [
-            [
-                [
-                    -6.4585407,
-                    49.9044128
+                    6.07668,
+                    50.15913
                 ],
                 [
-                    -6.3872009,
-                    49.9841116
+                    6.078237,
+                    50.17255
                 ],
                 [
-                    -6.2296827,
-                    49.9896159
+                    6.101762,
+                    50.17199
                 ],
                 [
-                    -6.2171269,
-                    49.8680087
+                    6.122501,
+                    50.16437
                 ],
                 [
-                    -6.4551164,
-                    49.8591793
-                ]
-            ],
-            [
-                [
-                    -1.4495137,
-                    60.8634056
+                    6.120101,
+                    50.15594
                 ],
                 [
-                    -0.7167114,
-                    60.8545122
+                    6.127695,
+                    50.14993
                 ],
                 [
-                    -0.7349744,
-                    60.4359756
+                    6.113228,
+                    50.13739
                 ],
                 [
-                    -0.6938826,
-                    60.4168218
+                    6.123691,
+                    50.13719
                 ],
                 [
-                    -0.7258429,
-                    60.3942735
+                    6.140929,
+                    50.1305
                 ],
                 [
-                    -0.7395401,
-                    60.0484714
+                    6.135554,
+                    50.11899
                 ],
                 [
-                    -0.9267357,
-                    60.0461918
+                    6.138082,
+                    50.10263
                 ],
                 [
-                    -0.9381501,
-                    59.8266157
+                    6.131085,
+                    50.09964
                 ],
                 [
-                    -1.4586452,
-                    59.831205
+                    6.135473,
+                    50.09119
                 ],
                 [
-                    -1.4455187,
-                    60.0535999
+                    6.121939,
+                    50.09059
                 ],
                 [
-                    -1.463211,
-                    60.0535999
+                    6.126335,
+                    50.07817
                 ],
                 [
-                    -1.4643524,
-                    60.0630002
+                    6.131858,
+                    50.07348
                 ],
                 [
-                    -1.5716475,
-                    60.0638546
+                    6.121171,
+                    50.064
                 ],
                 [
-                    -1.5693646,
-                    60.1790005
+                    6.114444,
+                    50.06139
                 ],
                 [
-                    -1.643558,
-                    60.1807033
+                    6.115631,
+                    50.05817
                 ],
                 [
-                    -1.643558,
-                    60.1892162
+                    6.123611,
+                    50.06323
                 ],
                 [
-                    -1.8216221,
-                    60.1894999
+                    6.136608,
+                    50.04178
                 ],
                 [
-                    -1.8204807,
-                    60.3615507
+                    6.130343,
+                    50.02975
                 ],
                 [
-                    -1.8415973,
-                    60.3697345
+                    6.148207,
+                    50.02307
                 ],
                 [
-                    -1.8216221,
-                    60.3832755
+                    6.13868,
+                    50.01572
                 ],
                 [
-                    -1.8179852,
-                    60.5934321
+                    6.135938,
+                    50.01485
                 ],
                 [
-                    -1.453168,
-                    60.5934321
-                ]
-            ],
-            [
-                [
-                    -4.9089213,
-                    54.4242078
+                    6.131384,
+                    50.01905
                 ],
                 [
-                    -4.282598,
-                    54.4429861
+                    6.130243,
+                    50.01819
                 ],
                 [
-                    -4.2535417,
-                    54.029769
+                    6.139343,
+                    50.01116
                 ],
                 [
-                    -4.8766366,
-                    54.0221831
-                ]
-            ],
-            [
-                [
-                    -5.8667408,
-                    59.1444603
+                    6.151702,
+                    50.01058
                 ],
                 [
-                    -5.7759966,
-                    59.1470945
+                    6.145464,
+                    49.99689
                 ],
                 [
-                    -5.7720016,
-                    59.1014052
+                    6.139657,
+                    49.9994
                 ],
                 [
-                    -5.8621751,
-                    59.0990605
-                ]
-            ],
-            [
-                [
-                    -1.7065887,
-                    59.5703599
+                    6.138524,
+                    49.99829
                 ],
                 [
-                    -1.5579165,
-                    59.5693481
+                    6.142178,
+                    49.99535
                 ],
                 [
-                    -1.5564897,
-                    59.4965695
+                    6.150227,
+                    49.99518
                 ],
                 [
-                    -1.7054472,
-                    59.4975834
-                ]
-            ],
-            [
-                [
-                    -7.6865827,
-                    58.2940975
+                    6.156247,
+                    49.98867
                 ],
                 [
-                    -7.5330594,
-                    58.3006957
+                    6.173045,
+                    49.98589
                 ],
                 [
-                    -7.5256401,
-                    58.2646905
+                    6.17348,
+                    49.98344
                 ],
                 [
-                    -7.6797341,
-                    58.2577853
-                ]
-            ],
-            [
-                [
-                    -4.5338281,
-                    59.0359871
+                    6.170353,
+                    49.98376
                 ],
                 [
-                    -4.481322,
-                    59.0371616
+                    6.165487,
+                    49.97115
                 ],
                 [
-                    -4.4796099,
-                    59.0186583
+                    6.171512,
+                    49.96298
                 ],
                 [
-                    -4.5332574,
-                    59.0180707
-                ]
-            ],
-            [
-                [
-                    -8.6710698,
-                    57.8769896
+                    6.176298,
+                    49.962
                 ],
                 [
-                    -8.4673234,
-                    57.8897332
+                    6.179954,
+                    49.95386
                 ],
                 [
-                    -8.4467775,
-                    57.7907
+                    6.183393,
+                    49.9548
                 ],
                 [
-                    -8.6510947,
-                    57.7779213
-                ]
-            ],
-            [
-                [
-                    -5.2395519,
-                    50.3530581
+                    6.179829,
+                    49.96307
                 ],
                 [
-                    -5.7920073,
-                    50.3384899
+                    6.183312,
+                    49.9686
                 ],
                 [
-                    -5.760047,
-                    49.9317027
+                    6.192774,
+                    49.97158
                 ],
                 [
-                    -4.6551363,
-                    49.9581461
+                    6.199783,
+                    49.95352
                 ],
                 [
-                    -4.677965,
-                    50.2860073
+                    6.207066,
+                    49.95672
                 ],
                 [
-                    -4.244219,
-                    50.2801723
+                    6.212689,
+                    49.9514
                 ],
                 [
-                    -4.2487848,
-                    50.2042525
+                    6.225023,
+                    49.95039
                 ],
                 [
-                    -3.3812929,
-                    50.2042525
+                    6.22044,
+                    49.94369
                 ],
                 [
-                    -3.4223846,
-                    50.5188201
+                    6.228241,
+                    49.93726
                 ],
                 [
-                    -3.1164796,
-                    50.5246258
+                    6.22635,
+                    49.92766
                 ],
                 [
-                    -3.1210453,
-                    50.6579592
+                    6.219133,
+                    49.92354
                 ],
                 [
-                    -2.6736357,
-                    50.6619495
+                    6.229862,
+                    49.92125
                 ],
                 [
-                    -2.5953453,
-                    50.6394325
+                    6.236032,
+                    49.91355
                 ],
                 [
-                    -2.5905026,
-                    50.5728419
+                    6.231867,
+                    49.91064
                 ],
                 [
-                    -2.4791203,
-                    50.5733545
+                    6.227694,
+                    49.91062
                 ],
                 [
-                    -2.4758919,
-                    50.5066704
+                    6.232286,
+                    49.9072
                 ],
                 [
-                    -2.3967943,
-                    50.5056438
+                    6.23381,
+                    49.90028
                 ],
                 [
-                    -2.401637,
-                    50.5723293
+                    6.246919,
+                    49.89535
                 ],
                 [
-                    -1.0400296,
-                    50.5718167
+                    6.257809,
+                    49.88724
                 ],
                 [
-                    -1.0335726,
-                    50.7059289
+                    6.263008,
+                    49.88101
                 ],
                 [
-                    -0.549302,
-                    50.7038843
+                    6.276455,
+                    49.87725
                 ],
                 [
-                    -0.5460736,
-                    50.7886618
+                    6.281126,
+                    49.87957
                 ],
                 [
-                    -0.0924734,
-                    50.7856002
+                    6.291661,
+                    49.87548
                 ],
                 [
-                    -0.0876307,
-                    50.7181949
+                    6.297699,
+                    49.86673
                 ],
                 [
-                    0.4789659,
-                    50.7120623
+                    6.309889,
+                    49.87107
                 ],
                 [
-                    0.487037,
-                    50.8182467
+                    6.315324,
+                    49.8673
                 ],
                 [
-                    0.9761503,
-                    50.8049868
+                    6.314651,
+                    49.86057
                 ],
                 [
-                    0.9922927,
-                    51.0126311
+                    6.323611,
+                    49.85188
                 ],
                 [
-                    1.4491213,
-                    51.0004424
+                    6.321577,
+                    49.8409
                 ],
                 [
-                    1.4781775,
-                    51.4090372
+                    6.327406,
+                    49.83673
                 ],
                 [
-                    1.0229632,
-                    51.4271576
+                    6.336561,
+                    49.83998
                 ],
                 [
-                    1.035877,
-                    51.7640881
+                    6.339366,
+                    49.8507
                 ],
                 [
-                    1.6105448,
-                    51.7500992
+                    6.364651,
+                    49.85164
                 ],
                 [
-                    1.646058,
-                    52.1560003
+                    6.402203,
+                    49.82098
                 ],
                 [
-                    1.7267698,
-                    52.1540195
+                    6.426434,
+                    49.81629
                 ],
                 [
-                    1.749369,
-                    52.4481811
+                    6.428071,
+                    49.81186
                 ],
                 [
-                    1.7870672,
-                    52.4811624
+                    6.43097,
+                    49.81129
                 ],
                 [
-                    1.759102,
-                    52.522505
+                    6.441608,
+                    49.81547
                 ],
                 [
-                    1.7933451,
-                    52.9602749
+                    6.443442,
+                    49.81233
                 ],
                 [
-                    0.3798147,
-                    52.9958468
+                    6.45366,
+                    49.81275
                 ],
                 [
-                    0.3895238,
-                    53.2511239
+                    6.464538,
+                    49.81975
                 ],
                 [
-                    0.3478614,
-                    53.2511239
+                    6.47057,
+                    49.82385
                 ],
                 [
-                    0.3238912,
-                    53.282186
+                    6.496805,
+                    49.81277
                 ],
                 [
-                    0.3461492,
-                    53.6538501
+                    6.50669,
+                    49.80993
                 ],
                 [
-                    0.128487,
-                    53.6575466
+                    6.511554,
+                    49.80238
                 ],
                 [
-                    0.116582,
-                    53.6674703
+                    6.51485,
+                    49.80513
                 ],
                 [
-                    0.1350586,
-                    54.0655731
+                    6.519604,
+                    49.81446
                 ],
                 [
-                    -0.0609831,
-                    54.065908
+                    6.529808,
+                    49.81048
                 ],
                 [
-                    -0.0414249,
-                    54.4709448
+                    6.532249,
+                    49.80686
                 ],
                 [
-                    -0.5662701,
-                    54.4771794
+                    6.530829,
+                    49.80116
                 ],
                 [
-                    -0.5592078,
-                    54.6565127
+                    6.506225,
+                    49.78899
                 ],
                 [
-                    -1.1665638,
-                    54.6623485
+                    6.519171,
+                    49.78344
                 ],
                 [
-                    -1.1637389,
-                    54.842611
+                    6.511055,
+                    49.77422
                 ],
                 [
-                    -1.3316194,
-                    54.843909
+                    6.520563,
+                    49.76818
                 ],
                 [
-                    -1.3257065,
-                    55.2470842
+                    6.520516,
+                    49.76134
                 ],
                 [
-                    -1.529453,
-                    55.2487108
+                    6.503734,
+                    49.75086
                 ],
                 [
-                    -1.524178,
-                    55.6540122
+                    6.502627,
+                    49.73298
                 ],
                 [
-                    -1.7638798,
-                    55.6540122
+                    6.507266,
+                    49.72938
                 ],
                 [
-                    -1.7733693,
-                    55.9719116
+                    6.518092,
+                    49.7242
                 ],
                 [
-                    -2.1607858,
-                    55.9682981
+                    6.516417,
+                    49.72129
                 ],
                 [
-                    -2.1543289,
-                    56.0621387
+                    6.511763,
+                    49.72016
                 ],
                 [
-                    -2.4578051,
-                    56.0585337
+                    6.504791,
+                    49.725
                 ],
                 [
-                    -2.4190635,
-                    56.641717
+                    6.498913,
+                    49.72639
                 ],
                 [
-                    -2.0962164,
-                    56.641717
+                    6.495576,
+                    49.72443
                 ],
                 [
-                    -2.0833025,
-                    57.0021322
+                    6.507122,
+                    49.71655
                 ],
                 [
-                    -1.9283359,
-                    57.0126802
+                    6.507884,
+                    49.71215
                 ],
                 [
-                    -1.9180966,
-                    57.3590895
+                    6.504598,
+                    49.71227
                 ],
                 [
-                    -1.7502161,
-                    57.3625721
+                    6.427139,
+                    49.66237
                 ],
                 [
-                    -1.7695869,
-                    57.7608634
+                    6.439899,
+                    49.66025
                 ],
                 [
-                    -3.6937554,
-                    57.7574187
+                    6.442511,
+                    49.65591
                 ],
                 [
-                    -3.7066693,
-                    57.9806386
+                    6.421781,
+                    49.61809
                 ],
                 [
-                    -3.5969013,
-                    57.9772149
+                    6.398978,
+                    49.60094
                 ],
                 [
-                    -3.6033582,
-                    58.1207277
+                    6.379408,
+                    49.59526
                 ],
                 [
-                    -3.0222335,
-                    58.1309566
+                    6.375507,
+                    49.58809
                 ],
                 [
-                    -3.0286905,
-                    58.5410788
+                    6.384426,
+                    49.5801
                 ],
                 [
-                    -2.8478961,
-                    58.530968
+                    6.381188,
+                    49.57509
                 ],
                 [
-                    -2.86081,
-                    58.8430508
+                    6.369093,
+                    49.5783
                 ],
                 [
-                    -2.679624,
-                    58.8414991
+                    6.357913,
+                    49.57166
                 ],
                 [
-                    -2.6841897,
-                    58.885175
+                    6.384902,
+                    49.55817
                 ],
                 [
-                    -2.6339665,
-                    58.9052239
+                    6.380095,
+                    49.54856
                 ],
                 [
-                    -2.679624,
-                    58.9335083
+                    6.358555,
+                    49.53296
                 ],
                 [
-                    -2.6887555,
-                    59.0229231
+                    6.359322,
+                    49.52481
                 ],
                 [
-                    -2.3668703,
-                    59.0229231
+                    6.370763,
+                    49.50545
                 ],
                 [
-                    -2.3702946,
-                    59.2652861
+                    6.370562,
+                    49.45732
                 ],
                 [
-                    -2.3429001,
-                    59.2821989
+                    6.333403,
+                    49.46493
                 ],
                 [
-                    -2.3714361,
-                    59.2996861
+                    6.321894,
+                    49.47244
                 ],
                 [
-                    -2.3737189,
-                    59.3707083
+                    6.295034,
+                    49.47928
                 ],
                 [
-                    -2.3429001,
-                    59.385825
+                    6.287889,
+                    49.48379
                 ],
                 [
-                    -2.3725775,
-                    59.400354
+                    6.271912,
+                    49.49995
                 ],
                 [
-                    -2.3714361,
-                    59.4259098
+                    6.241327,
+                    49.50693
                 ],
                 [
-                    -3.0734196,
-                    59.4230067
+                    6.196692,
+                    49.50331
                 ],
                 [
-                    -3.0711368,
-                    59.3433649
+                    6.173373,
+                    49.50577
                 ],
                 [
-                    -3.103097,
-                    59.3311405
+                    6.160858,
+                    49.50085
                 ],
                 [
-                    -3.0745611,
-                    59.3136695
+                    6.167099,
+                    49.49006
                 ],
                 [
-                    -3.0722782,
-                    59.232603
+                    6.140179,
+                    49.48525
                 ],
                 [
-                    -3.3850319,
-                    59.1484167
+                    6.129367,
+                    49.48803
                 ],
                 [
-                    -3.3747589,
-                    58.9352753
+                    6.127247,
+                    49.47081
                 ],
                 [
-                    -3.5653789,
-                    58.9323303
+                    6.101403,
+                    49.46726
                 ],
                 [
-                    -3.554829,
-                    58.69759
+                    6.104826,
+                    49.45076
                 ],
                 [
-                    -5.2808579,
-                    58.6667732
+                    6.081667,
+                    49.45417
                 ],
                 [
-                    -5.2534159,
-                    58.3514125
+                    6.077222,
+                    49.46139
                 ],
                 [
-                    -5.5068508,
-                    58.3437887
+                    6.059167,
+                    49.46306
                 ],
                 [
-                    -5.4761804,
-                    58.0323557
+                    6.052222,
+                    49.46028
                 ],
                 [
-                    -5.8974958,
-                    58.0212436
+                    6.044213,
+                    49.44553
                 ],
                 [
-                    -5.8522972,
-                    57.6171758
+                    6.025294,
+                    49.44703
                 ],
                 [
-                    -6.1396311,
-                    57.6137174
+                    6.021545,
+                    49.45127
                 ],
                 [
-                    -6.1541592,
-                    57.7423183
+                    6.01574,
+                    49.44885
                 ],
                 [
-                    -6.2913692,
-                    57.7380102
+                    5.994123,
+                    49.45301
                 ],
                 [
-                    -6.3365678,
-                    58.1398784
+                    5.976569,
+                    49.44885
                 ],
                 [
-                    -6.1121891,
-                    58.1466944
+                    5.977725,
+                    49.45955
                 ],
                 [
-                    -6.1473778,
-                    58.5106285
+                    5.972317,
+                    49.46087
                 ],
                 [
-                    -6.2934817,
-                    58.5416182
+                    5.968912,
+                    49.48202
                 ],
                 [
-                    -6.8413713,
-                    58.2977321
+                    5.9616,
+                    49.49026
                 ],
                 [
-                    -7.0057382,
-                    58.2929331
+                    5.915781,
+                    49.49835
                 ],
                 [
-                    -7.1016189,
-                    58.2064403
+                    5.890334,
+                    49.4948
                 ],
                 [
-                    -7.2573132,
-                    58.1793148
+                    5.863321,
+                    49.50006
                 ],
                 [
-                    -7.2531092,
-                    58.1004928
+                    5.84897,
+                    49.50826
                 ],
                 [
-                    -7.4070698,
-                    58.0905566
+                    5.84828,
+                    49.51397
                 ],
                 [
-                    -7.391347,
-                    57.7911354
+                    5.83641,
+                    49.51817
                 ],
                 [
-                    -7.790991,
-                    57.7733151
+                    5.831868,
+                    49.52639
                 ],
                 [
-                    -7.7624215,
-                    57.5444165
+                    5.84308,
+                    49.53081
                 ],
                 [
-                    -7.698501,
-                    57.1453194
+                    5.835622,
+                    49.54114
                 ],
                 [
-                    -7.7943817,
-                    57.1304547
+                    5.816251,
+                    49.53325
                 ],
                 [
-                    -7.716764,
-                    56.7368628
+                    5.805201,
+                    49.54272
                 ],
                 [
-                    -7.0122067,
-                    56.7654359
+                    5.859432,
+                    49.57158
                 ],
                 [
-                    -6.979922,
-                    56.5453858
+                    5.868663,
+                    49.587
                 ],
                 [
-                    -7.0638622,
-                    56.5453858
+                    5.862888,
+                    49.58525
                 ],
                 [
-                    -7.0444914,
-                    56.3562587
+                    5.851102,
+                    49.58379
                 ],
                 [
-                    -6.500676,
-                    56.3812917
+                    5.847116,
+                    49.58961
                 ],
                 [
-                    -6.4491433,
-                    55.9793649
+                    5.845652,
+                    49.5981
                 ],
                 [
-                    -6.563287,
-                    55.9691456
+                    5.869401,
+                    49.6106
                 ],
                 [
-                    -6.5393742,
-                    55.7030135
+                    5.881819,
+                    49.63815
                 ],
                 [
-                    -6.5595521,
-                    55.6907321
+                    5.899978,
+                    49.63907
                 ],
                 [
-                    -6.5345315,
-                    55.6761713
+                    5.899339,
+                    49.66239
                 ],
                 [
-                    -6.5216176,
-                    55.5704434
+                    5.856561,
+                    49.67628
                 ],
                 [
-                    -5.8912587,
-                    55.5923416
+                    5.856283,
+                    49.68211
                 ],
                 [
-                    -5.8560127,
-                    55.2320733
+                    5.875703,
+                    49.71118
                 ],
                 [
-                    -5.2293639,
-                    55.2515958
+                    5.864811,
+                    49.72331
                 ],
                 [
-                    -5.1837064,
-                    54.6254139
+                    5.843249,
+                    49.71822
                 ],
                 [
-                    -3.6655956,
-                    54.6518373
+                    5.82191,
+                    49.72128
                 ],
                 [
-                    -3.6496155,
-                    54.4320023
+                    5.824894,
+                    49.73767
                 ],
                 [
-                    -3.5400375,
-                    54.4306744
+                    5.820728,
+                    49.74878
                 ],
                 [
-                    -3.530906,
-                    54.0290181
+                    5.786264,
+                    49.79079
                 ],
                 [
-                    -3.0697656,
-                    54.030359
+                    5.765172,
+                    49.78961
                 ],
                 [
-                    -3.0675737,
-                    53.8221388
+                    5.750937,
+                    49.79094
                 ],
                 [
-                    -3.0804876,
-                    53.7739911
+                    5.741591,
+                    49.82126
                 ],
                 [
-                    -3.0619239,
-                    53.7477488
+                    5.745814,
+                    49.82435
                 ],
                 [
-                    -3.0611168,
-                    53.6737049
+                    5.737197,
+                    49.83353
                 ],
                 [
-                    -3.2144691,
-                    53.6708361
+                    5.740531,
+                    49.84142
                 ],
                 [
-                    -3.2057699,
-                    53.4226163
+                    5.747012,
+                    49.84048
                 ],
                 [
-                    -3.2799632,
-                    53.355224
+                    5.746237,
+                    49.84783
                 ],
                 [
-                    -3.2896655,
-                    53.3608441
+                    5.753989,
+                    49.84878
                 ],
                 [
-                    -3.3327547,
-                    53.364931
+                    5.740663,
+                    49.85152
                 ],
                 [
-                    -3.3761293,
-                    53.3540318
+                    5.752288,
+                    49.85922
                 ],
                 [
-                    -4.0888976,
-                    53.3433102
+                    5.749545,
+                    49.87554
                 ],
                 [
-                    -4.0945474,
-                    53.4612036
+                    5.775668,
+                    49.87438
                 ],
                 [
-                    -4.697412,
-                    53.4448624
+                    5.775053,
+                    49.88057
                 ],
                 [
-                    -4.6882805,
-                    53.3318598
+                    5.734598,
+                    49.89341
                 ],
                 [
-                    -4.7202407,
-                    53.2895771
+                    5.733033,
+                    49.90285
                 ],
                 [
-                    -4.6837148,
-                    53.2486184
+                    5.757834,
+                    49.91737
                 ],
                 [
-                    -4.6768661,
-                    53.1542644
+                    5.760393,
+                    49.93252
                 ],
                 [
-                    -4.8480816,
-                    53.1446807
+                    5.770728,
+                    49.93711
                 ],
                 [
-                    -4.8178336,
-                    52.7440299
+                    5.768783,
+                    49.94239
                 ],
                 [
-                    -4.2545751,
-                    52.7558939
+                    5.768802,
+                    49.96104
                 ],
                 [
-                    -4.228876,
-                    52.254876
+                    5.786724,
+                    49.96816
                 ],
                 [
-                    -4.2607571,
-                    52.2536408
+                    5.80524,
+                    49.96677
                 ],
                 [
-                    -4.2724603,
-                    52.2432637
+                    5.806521,
+                    49.97321
                 ],
                 [
-                    -4.8136263,
-                    52.230095
+                    5.831293,
+                    49.97995
                 ],
                 [
-                    -4.8079191,
-                    52.1138892
+                    5.834616,
+                    49.98656
                 ],
                 [
-                    -5.3889104,
-                    52.0991668
+                    5.818057,
+                    49.99936
                 ],
                 [
-                    -5.3717888,
-                    51.9129667
+                    5.815606,
+                    50.01437
                 ],
                 [
-                    -5.4208706,
-                    51.9101502
+                    5.847923,
+                    50.02809
                 ],
                 [
-                    -5.414022,
-                    51.8453218
+                    5.861889,
+                    50.04581
                 ],
                 [
-                    -5.3683645,
-                    51.8474373
+                    5.850872,
+                    50.0563
                 ],
                 [
-                    -5.3466772,
-                    51.5595332
+                    5.857809,
+                    50.07186
                 ],
                 [
-                    -4.773676,
-                    51.5758518
+                    5.880997,
+                    50.08069
                 ],
                 [
-                    -4.7656859,
-                    51.4885146
+                    5.891965,
+                    50.12041
                 ],
                 [
-                    -4.1915432,
-                    51.4970427
+                    5.952856,
+                    50.13384
                 ],
                 [
-                    -4.1869775,
-                    51.4344663
+                    5.961753,
+                    50.17631
+                ]
+            ]
+        ],
+        "terms_url": "http://www.act.public.lu/fr/actualites/2014/02/ortho2014/",
+        "terms_text": "Administration du Cadastre et de la Topographie",
+        "id": "lu.geoportail.inspire.ortho2013",
+        "best": true
+    },
+    {
+        "name": "Mapbox Satellite",
+        "type": "tms",
+        "description": "Satellite and aerial imagery.",
+        "template": "http://{switch:a,b,c}.tiles.mapbox.com/v4/openstreetmap.map-inh7ifmo/{zoom}/{x}/{y}.png?access_token=pk.eyJ1Ijoib3BlbnN0cmVldG1hcCIsImEiOiJncjlmd0t3In0.DmZsIeOW-3x-C5eX-wAqTw",
+        "scaleExtent": [
+            0,
+            19
+        ],
+        "terms_url": "http://www.mapbox.com/about/maps/",
+        "terms_text": "Terms & Feedback",
+        "id": "Mapbox",
+        "default": true
+    },
+    {
+        "name": "NLS - Bartholomew Half Inch, 1897-1907",
+        "type": "tms",
+        "template": "http://geo.nls.uk/mapdata2/bartholomew/great_britain/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            0,
+            15
+        ],
+        "polygon": [
+            [
+                [
+                    -9,
+                    49.8
                 ],
                 [
-                    -3.6151177,
-                    51.4444274
+                    -9,
+                    61.1
                 ],
                 [
-                    -3.6105519,
-                    51.3746543
+                    1.9,
+                    61.1
                 ],
                 [
-                    -3.1494115,
-                    51.3789292
+                    1.9,
+                    49.8
                 ],
                 [
-                    -3.1494115,
-                    51.2919281
-                ],
+                    -9,
+                    49.8
+                ]
+            ]
+        ],
+        "terms_url": "http://geo.nls.uk/maps/",
+        "terms_text": "National Library of Scotland Historic Maps"
+    },
+    {
+        "name": "NLS - OS 1-inch 7th Series 1955-61",
+        "type": "tms",
+        "template": "http://geo.nls.uk/mapdata2/os/seventh/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            5,
+            16
+        ],
+        "polygon": [
+            [
                 [
-                    -4.3038735,
-                    51.2745907
+                    -6.4585407,
+                    49.9044128
                 ],
                 [
-                    -4.2861169,
-                    51.0508721
+                    -6.3872009,
+                    49.9841116
                 ],
                 [
-                    -4.8543277,
-                    51.0366633
+                    -6.2296827,
+                    49.9896159
                 ],
                 [
-                    -4.8372201,
-                    50.7212787
+                    -6.2171269,
+                    49.8680087
                 ],
                 [
-                    -5.2618345,
-                    50.7082694
+                    -6.4551164,
+                    49.8591793
                 ]
             ],
             [
                 [
-                    -2.1502671,
-                    60.171318
+                    -1.4495137,
+                    60.8634056
                 ],
                 [
-                    -2.0030218,
-                    60.1696146
+                    -0.7167114,
+                    60.8545122
                 ],
                 [
-                    -2.0013096,
-                    60.0997023
+                    -0.7349744,
+                    60.4359756
                 ],
                 [
-                    -2.148555,
-                    60.1011247
-                ]
-            ],
-            [
-                [
-                    -6.2086011,
-                    59.1163488
+                    -0.6938826,
+                    60.4168218
                 ],
                 [
-                    -6.1229934,
-                    59.1166418
+                    -0.7258429,
+                    60.3942735
                 ],
                 [
-                    -6.121852,
-                    59.0714985
+                    -0.7395401,
+                    60.0484714
                 ],
                 [
-                    -6.2097426,
-                    59.0714985
-                ]
-            ],
-            [
-                [
-                    -4.4159559,
-                    59.0889036
+                    -0.9267357,
+                    60.0461918
                 ],
                 [
-                    -4.4212022,
-                    59.0770848
+                    -0.9381501,
+                    59.8266157
                 ],
                 [
-                    -4.3971904,
-                    59.0779143
+                    -1.4586452,
+                    59.831205
                 ],
                 [
-                    -4.3913388,
-                    59.0897328
-                ]
-            ]
-        ],
-        "terms_url": "http://geo.nls.uk/maps/",
-        "terms_text": "National Library of Scotland Historic Maps"
-    },
-    {
-        "name": "NLS - OS 1:25k 1st Series 1937-61",
-        "type": "tms",
-        "template": "http://geo.nls.uk/mapdata2/os/25000/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            5,
-            16
-        ],
-        "polygon": [
-            [
-                [
-                    -4.7157244,
-                    54.6796556
+                    -1.4455187,
+                    60.0535999
                 ],
                 [
-                    -4.6850662,
-                    54.6800268
+                    -1.463211,
+                    60.0535999
                 ],
                 [
-                    -4.6835779,
-                    54.6623245
+                    -1.4643524,
+                    60.0630002
                 ],
                 [
-                    -4.7148782,
-                    54.6615818
-                ]
-            ],
-            [
-                [
-                    -3.7085748,
-                    58.3371151
+                    -1.5716475,
+                    60.0638546
                 ],
                 [
-                    -3.5405937,
-                    58.3380684
+                    -1.5693646,
+                    60.1790005
                 ],
                 [
-                    -3.5315137,
-                    58.1608002
+                    -1.643558,
+                    60.1807033
                 ],
                 [
-                    -3.3608086,
-                    58.1622372
+                    -1.643558,
+                    60.1892162
                 ],
                 [
-                    -3.3653486,
-                    58.252173
+                    -1.8216221,
+                    60.1894999
                 ],
                 [
-                    -3.1610473,
-                    58.2536063
+                    -1.8204807,
+                    60.3615507
                 ],
                 [
-                    -3.1610473,
-                    58.3261509
+                    -1.8415973,
+                    60.3697345
                 ],
                 [
-                    -3.0275704,
-                    58.3271045
+                    -1.8216221,
+                    60.3832755
                 ],
                 [
-                    -3.0366505,
-                    58.6139001
+                    -1.8179852,
+                    60.5934321
                 ],
                 [
-                    -3.0021463,
-                    58.614373
-                ],
+                    -1.453168,
+                    60.5934321
+                ]
+            ],
+            [
                 [
-                    -3.0030543,
-                    58.7036341
+                    -4.9089213,
+                    54.4242078
                 ],
                 [
-                    -3.4180129,
-                    58.7003322
+                    -4.282598,
+                    54.4429861
                 ],
                 [
-                    -3.4171049,
-                    58.6290293
+                    -4.2535417,
+                    54.029769
                 ],
                 [
-                    -3.7240109,
-                    58.6266658
+                    -4.8766366,
+                    54.0221831
+                ]
+            ],
+            [
+                [
+                    -5.8667408,
+                    59.1444603
                 ],
                 [
-                    -3.7231029,
-                    58.606806
+                    -5.7759966,
+                    59.1470945
                 ],
                 [
-                    -4.2361262,
-                    58.5992374
+                    -5.7720016,
+                    59.1014052
                 ],
                 [
-                    -4.2334022,
-                    58.5092347
+                    -5.8621751,
+                    59.0990605
+                ]
+            ],
+            [
+                [
+                    -1.7065887,
+                    59.5703599
                 ],
                 [
-                    -3.88836,
-                    58.5144516
+                    -1.5579165,
+                    59.5693481
                 ],
                 [
-                    -3.8829119,
-                    58.4261327
+                    -1.5564897,
+                    59.4965695
                 ],
                 [
-                    -3.7158389,
-                    58.4270836
+                    -1.7054472,
+                    59.4975834
                 ]
             ],
             [
                 [
-                    -6.46676,
-                    49.9943621
+                    -7.6865827,
+                    58.2940975
                 ],
                 [
-                    -6.1889102,
-                    50.004868
+                    -7.5330594,
+                    58.3006957
                 ],
                 [
-                    -6.1789222,
-                    49.8967815
+                    -7.5256401,
+                    58.2646905
                 ],
                 [
-                    -6.3169391,
-                    49.8915171
+                    -7.6797341,
+                    58.2577853
+                ]
+            ],
+            [
+                [
+                    -4.5338281,
+                    59.0359871
                 ],
                 [
-                    -6.312399,
-                    49.8200979
+                    -4.481322,
+                    59.0371616
                 ],
                 [
-                    -6.4504159,
-                    49.8159968
+                    -4.4796099,
+                    59.0186583
+                ],
+                [
+                    -4.5332574,
+                    59.0180707
                 ]
             ],
             [
                 [
-                    -5.6453263,
-                    50.2029809
+                    -8.6710698,
+                    57.8769896
                 ],
                 [
-                    -5.7801329,
-                    50.2014076
+                    -8.4673234,
+                    57.8897332
                 ],
                 [
-                    -5.7637888,
-                    50.0197267
+                    -8.4467775,
+                    57.7907
                 ],
                 [
-                    -5.3479221,
-                    50.0290604
-                ],
+                    -8.6510947,
+                    57.7779213
+                ]
+            ],
+            [
                 [
-                    -5.3388421,
-                    49.9414854
+                    -5.2395519,
+                    50.3530581
                 ],
                 [
-                    -5.024672,
-                    49.9473287
+                    -5.7920073,
+                    50.3384899
                 ],
                 [
-                    -5.0355681,
-                    50.0383923
+                    -5.760047,
+                    49.9317027
                 ],
                 [
-                    -5.0010639,
-                    50.0453901
+                    -4.6551363,
+                    49.9581461
                 ],
                 [
-                    -4.9974319,
-                    50.1304478
+                    -4.677965,
+                    50.2860073
                 ],
                 [
-                    -4.855783,
-                    50.13394
+                    -4.244219,
+                    50.2801723
                 ],
                 [
-                    -4.861231,
-                    50.206057
+                    -4.2487848,
+                    50.2042525
                 ],
                 [
-                    -4.6546085,
-                    50.2140172
+                    -3.3812929,
+                    50.2042525
                 ],
                 [
-                    -4.6558926,
-                    50.3018616
+                    -3.4223846,
+                    50.5188201
                 ],
                 [
-                    -4.5184924,
-                    50.3026818
+                    -3.1164796,
+                    50.5246258
                 ],
                 [
-                    -4.51464,
-                    50.325642
+                    -3.1210453,
+                    50.6579592
                 ],
                 [
-                    -4.2488284,
-                    50.3264618
+                    -2.6736357,
+                    50.6619495
                 ],
                 [
-                    -4.2488284,
-                    50.3100631
+                    -2.5953453,
+                    50.6394325
                 ],
                 [
-                    -4.10886,
-                    50.3141633
+                    -2.5905026,
+                    50.5728419
                 ],
                 [
-                    -4.1062917,
-                    50.2411267
+                    -2.4791203,
+                    50.5733545
                 ],
                 [
-                    -3.9648088,
-                    50.2432047
+                    -2.4758919,
+                    50.5066704
                 ],
                 [
-                    -3.9640778,
-                    50.2254158
+                    -2.3967943,
+                    50.5056438
                 ],
                 [
-                    -3.8522287,
-                    50.2273626
+                    -2.401637,
+                    50.5723293
                 ],
                 [
-                    -3.8503757,
-                    50.1552563
+                    -1.0400296,
+                    50.5718167
                 ],
                 [
-                    -3.6921809,
-                    50.1572487
+                    -1.0335726,
+                    50.7059289
                 ],
                 [
-                    -3.5414602,
-                    50.1602198
+                    -0.549302,
+                    50.7038843
                 ],
                 [
-                    -3.5465781,
-                    50.3226814
+                    -0.5460736,
+                    50.7886618
                 ],
                 [
-                    -3.4068012,
-                    50.3241013
+                    -0.0924734,
+                    50.7856002
                 ],
                 [
-                    -3.4165761,
-                    50.5892711
+                    -0.0876307,
+                    50.7181949
                 ],
                 [
-                    -3.2746691,
-                    50.5962721
+                    0.4789659,
+                    50.7120623
                 ],
                 [
-                    -3.2749172,
-                    50.6106323
+                    0.487037,
+                    50.8182467
                 ],
                 [
-                    -2.9971742,
-                    50.613972
+                    0.9761503,
+                    50.8049868
                 ],
                 [
-                    -2.9896008,
-                    50.688537
+                    0.9922927,
+                    51.0126311
                 ],
                 [
-                    -2.7120266,
-                    50.690565
+                    1.4491213,
+                    51.0004424
                 ],
                 [
-                    -2.710908,
-                    50.6195964
+                    1.4781775,
+                    51.4090372
                 ],
                 [
-                    -2.5695473,
-                    50.6157538
+                    1.0229632,
+                    51.4271576
                 ],
                 [
-                    -2.5651019,
-                    50.5134083
+                    1.035877,
+                    51.7640881
                 ],
                 [
-                    -2.4014463,
-                    50.513379
+                    1.6105448,
+                    51.7500992
                 ],
                 [
-                    -2.3940583,
-                    50.6160348
+                    1.646058,
+                    52.1560003
                 ],
                 [
-                    -2.2894123,
-                    50.6147436
+                    1.7267698,
+                    52.1540195
                 ],
                 [
-                    -2.2876184,
-                    50.6008549
+                    1.749369,
+                    52.4481811
                 ],
                 [
-                    -2.1477855,
-                    50.6048506
+                    1.7870672,
+                    52.4811624
                 ],
                 [
-                    -2.1451013,
-                    50.5325437
+                    1.759102,
+                    52.522505
                 ],
                 [
-                    -1.9335117,
-                    50.5347477
+                    1.7933451,
+                    52.9602749
                 ],
                 [
-                    -1.9362139,
-                    50.6170445
+                    0.3798147,
+                    52.9958468
                 ],
                 [
-                    -1.8573025,
-                    50.6228094
+                    0.3895238,
+                    53.2511239
                 ],
                 [
-                    -1.8554865,
-                    50.709139
+                    0.3478614,
+                    53.2511239
                 ],
                 [
-                    -1.6066929,
-                    50.709139
+                    0.3238912,
+                    53.282186
                 ],
                 [
-                    -1.6085089,
-                    50.6239615
+                    0.3461492,
+                    53.6538501
                 ],
                 [
-                    -1.4450678,
-                    50.6228094
+                    0.128487,
+                    53.6575466
                 ],
                 [
-                    -1.4432518,
-                    50.5317039
+                    0.116582,
+                    53.6674703
                 ],
                 [
-                    -1.1545059,
-                    50.5293951
+                    0.1350586,
+                    54.0655731
                 ],
                 [
-                    -1.1472419,
-                    50.6170485
+                    -0.0609831,
+                    54.065908
                 ],
                 [
-                    -1.011041,
-                    50.6205051
+                    -0.0414249,
+                    54.4709448
                 ],
                 [
-                    -1.011041,
-                    50.7056889
+                    -0.5662701,
+                    54.4771794
                 ],
                 [
-                    -0.704135,
-                    50.7045388
+                    -0.5592078,
+                    54.6565127
                 ],
                 [
-                    -0.700503,
-                    50.7769401
+                    -1.1665638,
+                    54.6623485
                 ],
                 [
-                    -0.5860943,
-                    50.7723465
+                    -1.1637389,
+                    54.842611
                 ],
                 [
-                    -0.5879103,
-                    50.7907181
+                    -1.3316194,
+                    54.843909
                 ],
                 [
-                    -0.0149586,
-                    50.7798108
+                    -1.3257065,
+                    55.2470842
                 ],
                 [
-                    -0.0185906,
-                    50.7625836
+                    -1.529453,
+                    55.2487108
                 ],
                 [
-                    0.0967261,
-                    50.7620093
+                    -1.524178,
+                    55.6540122
                 ],
                 [
-                    0.0921861,
-                    50.6913106
+                    -1.7638798,
+                    55.6540122
                 ],
                 [
-                    0.3046595,
-                    50.6890096
+                    -1.7733693,
+                    55.9719116
                 ],
                 [
-                    0.3101075,
-                    50.7757917
+                    -2.1607858,
+                    55.9682981
                 ],
                 [
-                    0.5511831,
-                    50.7726336
+                    -2.1543289,
+                    56.0621387
                 ],
                 [
-                    0.5529991,
-                    50.8432096
+                    -2.4578051,
+                    56.0585337
                 ],
                 [
-                    0.695556,
-                    50.8403428
+                    -2.4190635,
+                    56.641717
                 ],
                 [
-                    0.696464,
-                    50.8592608
+                    -2.0962164,
+                    56.641717
                 ],
                 [
-                    0.9852099,
-                    50.8523824
+                    -2.0833025,
+                    57.0021322
                 ],
                 [
-                    0.9906579,
-                    50.9417226
+                    -1.9283359,
+                    57.0126802
                 ],
                 [
-                    1.0160821,
-                    50.9411504
+                    -1.9180966,
+                    57.3590895
                 ],
                 [
-                    1.0215301,
-                    51.0303204
+                    -1.7502161,
+                    57.3625721
                 ],
                 [
-                    1.2812198,
-                    51.0240383
+                    -1.7695869,
+                    57.7608634
                 ],
                 [
-                    1.2848518,
-                    51.0948044
+                    -3.6937554,
+                    57.7574187
                 ],
                 [
-                    1.4277848,
-                    51.0948044
+                    -3.7066693,
+                    57.9806386
                 ],
                 [
-                    1.4386809,
-                    51.2882859
+                    -3.5969013,
+                    57.9772149
                 ],
                 [
-                    1.4713691,
-                    51.2871502
+                    -3.6033582,
+                    58.1207277
                 ],
                 [
-                    1.4804492,
-                    51.3994534
+                    -3.0222335,
+                    58.1309566
                 ],
                 [
-                    1.1590151,
-                    51.4073836
+                    -3.0286905,
+                    58.5410788
                 ],
                 [
-                    1.1590151,
-                    51.3869889
+                    -2.8478961,
+                    58.530968
                 ],
                 [
-                    1.0191822,
-                    51.3903886
+                    -2.86081,
+                    58.8430508
                 ],
                 [
-                    1.0228142,
-                    51.4798247
+                    -2.679624,
+                    58.8414991
                 ],
                 [
-                    0.8793493,
-                    51.4843484
+                    -2.6841897,
+                    58.885175
                 ],
                 [
-                    0.8829813,
-                    51.5566675
+                    -2.6339665,
+                    58.9052239
                 ],
                 [
-                    1.0264462,
-                    51.5544092
+                    -2.679624,
+                    58.9335083
                 ],
                 [
-                    1.0373423,
-                    51.7493319
+                    -2.6887555,
+                    59.0229231
                 ],
                 [
-                    1.2607117,
-                    51.7482076
+                    -2.3668703,
+                    59.0229231
                 ],
                 [
-                    1.2661598,
-                    51.8279642
+                    -2.3702946,
+                    59.2652861
                 ],
                 [
-                    1.3351682,
-                    51.8335756
+                    -2.3429001,
+                    59.2821989
                 ],
                 [
-                    1.3478803,
-                    51.9199021
+                    -2.3714361,
+                    59.2996861
                 ],
                 [
-                    1.4840812,
-                    51.9199021
+                    -2.3737189,
+                    59.3707083
                 ],
                 [
-                    1.4986093,
-                    52.0038271
+                    -2.3429001,
+                    59.385825
                 ],
                 [
-                    1.6438902,
-                    52.0027092
+                    -2.3725775,
+                    59.400354
                 ],
                 [
-                    1.6656823,
-                    52.270221
+                    -2.3714361,
+                    59.4259098
                 ],
                 [
-                    1.7310588,
-                    52.270221
+                    -3.0734196,
+                    59.4230067
                 ],
                 [
-                    1.7528509,
-                    52.4465637
+                    -3.0711368,
+                    59.3433649
                 ],
                 [
-                    1.8254914,
-                    52.4476705
+                    -3.103097,
+                    59.3311405
                 ],
                 [
-                    1.8345714,
-                    52.624408
+                    -3.0745611,
+                    59.3136695
                 ],
                 [
-                    1.7690346,
-                    52.6291402
+                    -3.0722782,
+                    59.232603
                 ],
                 [
-                    1.7741711,
-                    52.717904
+                    -3.3850319,
+                    59.1484167
                 ],
                 [
-                    1.6996925,
-                    52.721793
+                    -3.3747589,
+                    58.9352753
                 ],
                 [
-                    1.706113,
-                    52.8103687
+                    -3.5653789,
+                    58.9323303
                 ],
                 [
-                    1.559724,
-                    52.8165777
+                    -3.554829,
+                    58.69759
                 ],
                 [
-                    1.5648605,
-                    52.9034116
+                    -5.2808579,
+                    58.6667732
                 ],
                 [
-                    1.4184715,
-                    52.9103818
+                    -5.2534159,
+                    58.3514125
                 ],
                 [
-                    1.4223238,
-                    52.9281894
+                    -5.5068508,
+                    58.3437887
                 ],
                 [
-                    1.3439928,
-                    52.9289635
+                    -5.4761804,
+                    58.0323557
                 ],
                 [
-                    1.3491293,
-                    53.0001194
+                    -5.8974958,
+                    58.0212436
                 ],
                 [
-                    0.4515789,
-                    53.022589
+                    -5.8522972,
+                    57.6171758
                 ],
                 [
-                    0.4497629,
-                    52.9351139
+                    -6.1396311,
+                    57.6137174
                 ],
                 [
-                    0.3789384,
-                    52.9351139
+                    -6.1541592,
+                    57.7423183
                 ],
                 [
-                    0.3716744,
-                    52.846365
+                    -6.2913692,
+                    57.7380102
                 ],
                 [
-                    0.2227614,
-                    52.8496552
+                    -6.3365678,
+                    58.1398784
                 ],
                 [
-                    0.2336575,
-                    52.9329248
+                    -6.1121891,
+                    58.1466944
                 ],
                 [
-                    0.3062979,
-                    52.9351139
+                    -6.1473778,
+                    58.5106285
                 ],
                 [
-                    0.308114,
-                    53.022589
+                    -6.2934817,
+                    58.5416182
                 ],
                 [
-                    0.3807544,
-                    53.0236813
+                    -6.8413713,
+                    58.2977321
                 ],
                 [
-                    0.3993708,
-                    53.2933729
+                    -7.0057382,
+                    58.2929331
                 ],
                 [
-                    0.3248922,
-                    53.2987454
+                    -7.1016189,
+                    58.2064403
                 ],
                 [
-                    0.3274604,
-                    53.3853782
+                    -7.2573132,
+                    58.1793148
                 ],
                 [
-                    0.2504136,
-                    53.38691
+                    -7.2531092,
+                    58.1004928
                 ],
                 [
-                    0.2581183,
-                    53.4748924
+                    -7.4070698,
+                    58.0905566
                 ],
                 [
-                    0.1862079,
-                    53.4779494
+                    -7.391347,
+                    57.7911354
                 ],
                 [
-                    0.1913443,
-                    53.6548777
+                    -7.790991,
+                    57.7733151
                 ],
                 [
-                    0.1502527,
-                    53.6594436
+                    -7.7624215,
+                    57.5444165
                 ],
                 [
-                    0.1528209,
-                    53.7666003
+                    -7.698501,
+                    57.1453194
                 ],
                 [
-                    0.0012954,
-                    53.7734308
+                    -7.7943817,
+                    57.1304547
                 ],
                 [
-                    0.0025796,
-                    53.8424326
+                    -7.716764,
+                    56.7368628
                 ],
                 [
-                    -0.0282392,
-                    53.841675
+                    -7.0122067,
+                    56.7654359
                 ],
                 [
-                    -0.0226575,
-                    53.9311501
+                    -6.979922,
+                    56.5453858
                 ],
                 [
-                    -0.1406983,
-                    53.9322193
+                    -7.0638622,
+                    56.5453858
                 ],
                 [
-                    -0.1416063,
-                    54.0219323
+                    -7.0444914,
+                    56.3562587
                 ],
                 [
-                    -0.1706625,
-                    54.0235326
+                    -6.500676,
+                    56.3812917
                 ],
                 [
-                    -0.1679384,
-                    54.0949482
+                    -6.4491433,
+                    55.9793649
                 ],
                 [
-                    -0.0126694,
-                    54.0912206
+                    -6.563287,
+                    55.9691456
                 ],
                 [
-                    -0.0099454,
-                    54.1811226
+                    -6.5393742,
+                    55.7030135
                 ],
                 [
-                    -0.1615824,
-                    54.1837795
+                    -6.5595521,
+                    55.6907321
                 ],
                 [
-                    -0.1606744,
-                    54.2029038
+                    -6.5345315,
+                    55.6761713
                 ],
                 [
-                    -0.2405789,
-                    54.2034349
+                    -6.5216176,
+                    55.5704434
                 ],
                 [
-                    -0.2378549,
-                    54.2936234
+                    -5.8912587,
+                    55.5923416
                 ],
                 [
-                    -0.3894919,
-                    54.2941533
+                    -5.8560127,
+                    55.2320733
                 ],
                 [
-                    -0.3857497,
-                    54.3837321
+                    -5.2293639,
+                    55.2515958
                 ],
                 [
-                    -0.461638,
-                    54.3856364
+                    -5.1837064,
+                    54.6254139
                 ],
                 [
-                    -0.4571122,
-                    54.4939066
+                    -3.6655956,
+                    54.6518373
                 ],
                 [
-                    -0.6105651,
-                    54.4965434
+                    -3.6496155,
+                    54.4320023
                 ],
                 [
-                    -0.6096571,
-                    54.5676704
+                    -3.5400375,
+                    54.4306744
                 ],
                 [
-                    -0.7667421,
-                    54.569776
+                    -3.530906,
+                    54.0290181
                 ],
                 [
-                    -0.7640181,
-                    54.5887213
+                    -3.0697656,
+                    54.030359
                 ],
                 [
-                    -0.9192871,
-                    54.5908258
+                    -3.0675737,
+                    53.8221388
                 ],
                 [
-                    -0.9148116,
-                    54.6608348
+                    -3.0804876,
+                    53.7739911
                 ],
                 [
-                    -1.1485204,
-                    54.6634343
+                    -3.0619239,
+                    53.7477488
                 ],
                 [
-                    -1.1472363,
-                    54.7528316
+                    -3.0611168,
+                    53.6737049
                 ],
                 [
-                    -1.2268514,
-                    54.7532021
+                    -3.2144691,
+                    53.6708361
                 ],
                 [
-                    -1.2265398,
-                    54.8429879
+                    -3.2057699,
+                    53.4226163
                 ],
                 [
-                    -1.2991803,
-                    54.8435107
+                    -3.2799632,
+                    53.355224
                 ],
                 [
-                    -1.2991803,
-                    54.9333391
+                    -3.2896655,
+                    53.3608441
                 ],
                 [
-                    -1.3454886,
-                    54.9354258
+                    -3.3327547,
+                    53.364931
                 ],
                 [
-                    -1.3436726,
-                    55.0234878
+                    -3.3761293,
+                    53.3540318
                 ],
                 [
-                    -1.3772688,
-                    55.0255698
+                    -4.0888976,
+                    53.3433102
                 ],
                 [
-                    -1.3754528,
-                    55.1310877
+                    -4.0945474,
+                    53.4612036
                 ],
                 [
-                    -1.4997441,
-                    55.1315727
+                    -4.697412,
+                    53.4448624
                 ],
                 [
-                    -1.4969272,
-                    55.2928323
+                    -4.6882805,
+                    53.3318598
                 ],
                 [
-                    -1.5296721,
-                    55.2942946
+                    -4.7202407,
+                    53.2895771
                 ],
                 [
-                    -1.5258198,
-                    55.6523803
+                    -4.6837148,
+                    53.2486184
                 ],
                 [
-                    -1.7659492,
-                    55.6545537
+                    -4.6768661,
+                    53.1542644
                 ],
                 [
-                    -1.7620968,
-                    55.7435626
+                    -4.8480816,
+                    53.1446807
                 ],
                 [
-                    -1.9688392,
-                    55.7435626
+                    -4.8178336,
+                    52.7440299
                 ],
                 [
-                    -1.9698023,
-                    55.8334505
+                    -4.2545751,
+                    52.7558939
                 ],
                 [
-                    -2.0019051,
-                    55.8336308
+                    -4.228876,
+                    52.254876
                 ],
                 [
-                    -2.0015841,
-                    55.9235526
+                    -4.2607571,
+                    52.2536408
                 ],
                 [
-                    -2.1604851,
-                    55.9240613
+                    -4.2724603,
+                    52.2432637
                 ],
                 [
-                    -2.1613931,
-                    55.9413549
+                    -4.8136263,
+                    52.230095
                 ],
                 [
-                    -2.3202942,
-                    55.9408463
+                    -4.8079191,
+                    52.1138892
                 ],
                 [
-                    -2.3212022,
-                    56.0145126
+                    -5.3889104,
+                    52.0991668
                 ],
                 [
-                    -2.5627317,
-                    56.0124824
+                    -5.3717888,
+                    51.9129667
                 ],
                 [
-                    -2.5645477,
-                    56.1022207
+                    -5.4208706,
+                    51.9101502
                 ],
                 [
-                    -2.9658863,
-                    56.0991822
+                    -5.414022,
+                    51.8453218
                 ],
                 [
-                    -2.9667943,
-                    56.1710304
+                    -5.3683645,
+                    51.8474373
                 ],
                 [
-                    -2.4828272,
-                    56.1755797
+                    -5.3466772,
+                    51.5595332
                 ],
                 [
-                    -2.4882752,
-                    56.2856078
+                    -4.773676,
+                    51.5758518
                 ],
                 [
-                    -2.5645477,
-                    56.2835918
+                    -4.7656859,
+                    51.4885146
                 ],
                 [
-                    -2.5681798,
-                    56.3742075
+                    -4.1915432,
+                    51.4970427
                 ],
                 [
-                    -2.7261728,
-                    56.3732019
+                    -4.1869775,
+                    51.4344663
                 ],
                 [
-                    -2.7316208,
-                    56.4425301
+                    -3.6151177,
+                    51.4444274
                 ],
                 [
-                    -2.6190281,
-                    56.4425301
+                    -3.6105519,
+                    51.3746543
                 ],
                 [
-                    -2.6153961,
-                    56.5317671
+                    -3.1494115,
+                    51.3789292
                 ],
                 [
-                    -2.453771,
-                    56.5347715
+                    -3.1494115,
+                    51.2919281
                 ],
                 [
-                    -2.4534686,
-                    56.6420248
+                    -4.3038735,
+                    51.2745907
                 ],
                 [
-                    -2.4062523,
-                    56.6440218
+                    -4.2861169,
+                    51.0508721
                 ],
                 [
-                    -2.3953562,
-                    56.7297964
+                    -4.8543277,
+                    51.0366633
                 ],
                 [
-                    -2.2936596,
-                    56.7337811
+                    -4.8372201,
+                    50.7212787
                 ],
                 [
-                    -2.2972916,
-                    56.807423
-                ],
+                    -5.2618345,
+                    50.7082694
+                ]
+            ],
+            [
                 [
-                    -2.1629067,
-                    56.8113995
+                    -2.1502671,
+                    60.171318
                 ],
                 [
-                    -2.1592747,
-                    56.9958425
+                    -2.0030218,
+                    60.1696146
                 ],
                 [
-                    -1.9922016,
-                    57.0017771
+                    -2.0013096,
+                    60.0997023
                 ],
                 [
-                    -2.0067297,
-                    57.2737477
-                ],
+                    -2.148555,
+                    60.1011247
+                ]
+            ],
+            [
                 [
-                    -1.9195612,
-                    57.2757112
+                    -6.2086011,
+                    59.1163488
                 ],
                 [
-                    -1.9304572,
-                    57.3482876
+                    -6.1229934,
+                    59.1166418
                 ],
                 [
-                    -1.8106005,
-                    57.3443682
+                    -6.121852,
+                    59.0714985
                 ],
                 [
-                    -1.7997044,
-                    57.4402728
-                ],
+                    -6.2097426,
+                    59.0714985
+                ]
+            ],
+            [
                 [
-                    -1.6616875,
-                    57.4285429
+                    -4.4159559,
+                    59.0889036
                 ],
                 [
-                    -1.6689516,
-                    57.5398256
+                    -4.4212022,
+                    59.0770848
                 ],
                 [
-                    -1.7452241,
-                    57.5398256
+                    -4.3971904,
+                    59.0779143
                 ],
                 [
-                    -1.7524881,
-                    57.6313302
-                ],
+                    -4.3913388,
+                    59.0897328
+                ]
+            ]
+        ],
+        "terms_url": "http://geo.nls.uk/maps/",
+        "terms_text": "National Library of Scotland Historic Maps"
+    },
+    {
+        "name": "NLS - OS 1:25k 1st Series 1937-61",
+        "type": "tms",
+        "template": "http://geo.nls.uk/mapdata2/os/25000/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            5,
+            16
+        ],
+        "polygon": [
+            [
                 [
-                    -1.8287606,
-                    57.6332746
+                    -4.7157244,
+                    54.6796556
                 ],
                 [
-                    -1.8287606,
-                    57.7187255
+                    -4.6850662,
+                    54.6800268
                 ],
                 [
-                    -3.1768526,
-                    57.7171219
+                    -4.6835779,
+                    54.6623245
                 ],
                 [
-                    -3.1794208,
-                    57.734264
-                ],
+                    -4.7148782,
+                    54.6615818
+                ]
+            ],
+            [
                 [
-                    -3.5134082,
-                    57.7292105
+                    -3.7085748,
+                    58.3371151
                 ],
                 [
-                    -3.5129542,
-                    57.7112683
+                    -3.5405937,
+                    58.3380684
                 ],
                 [
-                    -3.7635638,
-                    57.7076303
+                    -3.5315137,
+                    58.1608002
                 ],
                 [
-                    -3.7598539,
-                    57.635713
+                    -3.3608086,
+                    58.1622372
                 ],
                 [
-                    -3.8420372,
-                    57.6343382
+                    -3.3653486,
+                    58.252173
                 ],
                 [
-                    -3.8458895,
-                    57.6178365
+                    -3.1610473,
+                    58.2536063
                 ],
                 [
-                    -3.9794374,
-                    57.6157733
+                    -3.1610473,
+                    58.3261509
                 ],
                 [
-                    -3.9794374,
-                    57.686544
+                    -3.0275704,
+                    58.3271045
                 ],
                 [
-                    -3.8150708,
-                    57.689976
+                    -3.0366505,
+                    58.6139001
                 ],
                 [
-                    -3.817639,
-                    57.7968899
+                    -3.0021463,
+                    58.614373
                 ],
                 [
-                    -3.6853753,
-                    57.7989429
+                    -3.0030543,
+                    58.7036341
                 ],
                 [
-                    -3.6892276,
-                    57.8891567
+                    -3.4180129,
+                    58.7003322
                 ],
                 [
-                    -3.9383458,
-                    57.8877915
+                    -3.4171049,
+                    58.6290293
                 ],
                 [
-                    -3.9421981,
-                    57.9750592
+                    -3.7240109,
+                    58.6266658
                 ],
                 [
-                    -3.6943641,
-                    57.9784638
+                    -3.7231029,
+                    58.606806
                 ],
                 [
-                    -3.6969323,
-                    58.0695865
+                    -4.2361262,
+                    58.5992374
                 ],
                 [
-                    -4.0372226,
-                    58.0641528
+                    -4.2334022,
+                    58.5092347
                 ],
                 [
-                    -4.0346543,
-                    57.9730163
+                    -3.88836,
+                    58.5144516
                 ],
                 [
-                    -4.2003051,
-                    57.9702923
+                    -3.8829119,
+                    58.4261327
                 ],
                 [
-                    -4.1832772,
-                    57.7012869
-                ],
+                    -3.7158389,
+                    58.4270836
+                ]
+            ],
+            [
                 [
-                    -4.518752,
-                    57.6951111
+                    -6.46676,
+                    49.9943621
                 ],
                 [
-                    -4.5122925,
-                    57.6050682
+                    -6.1889102,
+                    50.004868
                 ],
                 [
-                    -4.6789116,
-                    57.6016628
+                    -6.1789222,
+                    49.8967815
                 ],
                 [
-                    -4.666022,
-                    57.4218334
+                    -6.3169391,
+                    49.8915171
                 ],
                 [
-                    -3.6677696,
-                    57.4394729
+                    -6.312399,
+                    49.8200979
                 ],
                 [
-                    -3.671282,
-                    57.5295384
+                    -6.4504159,
+                    49.8159968
+                ]
+            ],
+            [
+                [
+                    -5.6453263,
+                    50.2029809
                 ],
                 [
-                    -3.3384979,
-                    57.5331943
+                    -5.7801329,
+                    50.2014076
                 ],
                 [
-                    -3.3330498,
-                    57.4438859
+                    -5.7637888,
+                    50.0197267
                 ],
                 [
-                    -2.8336466,
-                    57.4485275
+                    -5.3479221,
+                    50.0290604
                 ],
                 [
-                    -2.8236396,
-                    56.9992706
+                    -5.3388421,
+                    49.9414854
                 ],
                 [
-                    -2.3305398,
-                    57.0006693
+                    -5.024672,
+                    49.9473287
                 ],
                 [
-                    -2.3298977,
-                    56.9113932
+                    -5.0355681,
+                    50.0383923
                 ],
                 [
-                    -2.6579889,
-                    56.9092901
+                    -5.0010639,
+                    50.0453901
                 ],
                 [
-                    -2.6559637,
-                    56.8198406
+                    -4.9974319,
+                    50.1304478
                 ],
                 [
-                    -2.8216747,
-                    56.8188467
+                    -4.855783,
+                    50.13394
                 ],
                 [
-                    -2.8184967,
-                    56.7295397
+                    -4.861231,
+                    50.206057
                 ],
                 [
-                    -3.1449248,
-                    56.7265508
+                    -4.6546085,
+                    50.2140172
                 ],
                 [
-                    -3.1435628,
-                    56.6362749
+                    -4.6558926,
+                    50.3018616
                 ],
                 [
-                    -3.4679089,
-                    56.6350265
+                    -4.5184924,
+                    50.3026818
                 ],
                 [
-                    -3.474265,
-                    56.7238108
+                    -4.51464,
+                    50.325642
                 ],
                 [
-                    -3.8011471,
-                    56.7188284
+                    -4.2488284,
+                    50.3264618
                 ],
                 [
-                    -3.785711,
-                    56.4493026
+                    -4.2488284,
+                    50.3100631
                 ],
                 [
-                    -3.946428,
-                    56.4457896
+                    -4.10886,
+                    50.3141633
                 ],
                 [
-                    -3.9428873,
-                    56.2659777
+                    -4.1062917,
+                    50.2411267
                 ],
                 [
-                    -4.423146,
-                    56.2588459
+                    -3.9648088,
+                    50.2432047
                 ],
                 [
-                    -4.4141572,
-                    56.0815506
+                    -3.9640778,
+                    50.2254158
                 ],
                 [
-                    -4.8944159,
-                    56.0708008
+                    -3.8522287,
+                    50.2273626
                 ],
                 [
-                    -4.8791072,
-                    55.8896994
+                    -3.8503757,
+                    50.1552563
                 ],
                 [
-                    -5.1994158,
-                    55.8821374
+                    -3.6921809,
+                    50.1572487
                 ],
                 [
-                    -5.1852906,
-                    55.7023791
+                    -3.5414602,
+                    50.1602198
                 ],
                 [
-                    -5.0273445,
-                    55.7067203
+                    -3.5465781,
+                    50.3226814
                 ],
                 [
-                    -5.0222081,
-                    55.6879046
+                    -3.4068012,
+                    50.3241013
                 ],
                 [
-                    -4.897649,
-                    55.6907999
+                    -3.4165761,
+                    50.5892711
                 ],
                 [
-                    -4.8880181,
-                    55.6002822
+                    -3.2746691,
+                    50.5962721
                 ],
                 [
-                    -4.7339244,
-                    55.6046348
+                    -3.2749172,
+                    50.6106323
                 ],
                 [
-                    -4.7275038,
-                    55.5342082
+                    -2.9971742,
+                    50.613972
                 ],
                 [
-                    -4.773732,
-                    55.5334815
+                    -2.9896008,
+                    50.688537
                 ],
                 [
-                    -4.7685955,
-                    55.4447227
+                    -2.7120266,
+                    50.690565
                 ],
                 [
-                    -4.8494947,
-                    55.4418092
+                    -2.710908,
+                    50.6195964
                 ],
                 [
-                    -4.8405059,
-                    55.3506535
+                    -2.5695473,
+                    50.6157538
                 ],
                 [
-                    -4.8700405,
-                    55.3513836
+                    -2.5651019,
+                    50.5134083
                 ],
                 [
-                    -4.8649041,
-                    55.2629462
+                    -2.4014463,
+                    50.513379
                 ],
                 [
-                    -4.9920314,
-                    55.2592875
+                    -2.3940583,
+                    50.6160348
                 ],
                 [
-                    -4.9907473,
-                    55.1691779
+                    -2.2894123,
+                    50.6147436
                 ],
                 [
-                    -5.0600894,
-                    55.1655105
+                    -2.2876184,
+                    50.6008549
                 ],
                 [
-                    -5.0575212,
-                    55.0751884
+                    -2.1477855,
+                    50.6048506
                 ],
                 [
-                    -5.2141831,
-                    55.0722477
+                    -2.1451013,
+                    50.5325437
                 ],
                 [
-                    -5.1991766,
-                    54.8020337
+                    -1.9335117,
+                    50.5347477
                 ],
                 [
-                    -5.0466316,
-                    54.8062205
+                    -1.9362139,
+                    50.6170445
                 ],
                 [
-                    -5.0502636,
-                    54.7244996
+                    -1.8573025,
+                    50.6228094
                 ],
                 [
-                    -4.9703591,
-                    54.7203043
+                    -1.8554865,
+                    50.709139
                 ],
                 [
-                    -4.9776232,
-                    54.6215905
+                    -1.6066929,
+                    50.709139
                 ],
                 [
-                    -4.796022,
-                    54.6342056
+                    -1.6085089,
+                    50.6239615
                 ],
                 [
-                    -4.796022,
-                    54.7307917
+                    -1.4450678,
+                    50.6228094
                 ],
                 [
-                    -4.8977186,
-                    54.7265971
+                    -1.4432518,
+                    50.5317039
                 ],
                 [
-                    -4.9086147,
-                    54.8145928
+                    -1.1545059,
+                    50.5293951
                 ],
                 [
-                    -4.8069181,
-                    54.8166856
+                    -1.1472419,
+                    50.6170485
                 ],
                 [
-                    -4.8105501,
-                    54.7915648
+                    -1.011041,
+                    50.6205051
                 ],
                 [
-                    -4.6943253,
-                    54.7978465
+                    -1.011041,
+                    50.7056889
                 ],
                 [
-                    -4.6761652,
-                    54.7244996
+                    -0.704135,
+                    50.7045388
                 ],
                 [
-                    -4.5744686,
-                    54.7244996
+                    -0.700503,
+                    50.7769401
                 ],
                 [
-                    -4.5599405,
-                    54.6426135
+                    -0.5860943,
+                    50.7723465
                 ],
                 [
-                    -4.3093309,
-                    54.6384098
+                    -0.5879103,
+                    50.7907181
                 ],
                 [
-                    -4.3333262,
-                    54.8229889
+                    -0.0149586,
+                    50.7798108
                 ],
                 [
-                    -4.2626999,
-                    54.8274274
+                    -0.0185906,
+                    50.7625836
                 ],
                 [
-                    -4.2549952,
-                    54.7348587
+                    0.0967261,
+                    50.7620093
                 ],
                 [
-                    -3.8338058,
-                    54.7400481
+                    0.0921861,
+                    50.6913106
                 ],
                 [
-                    -3.836374,
-                    54.8141105
+                    0.3046595,
+                    50.6890096
                 ],
                 [
-                    -3.7118149,
-                    54.8133706
+                    0.3101075,
+                    50.7757917
                 ],
                 [
-                    -3.7143831,
-                    54.8318654
+                    0.5511831,
+                    50.7726336
                 ],
                 [
-                    -3.5346072,
-                    54.8355633
+                    0.5529991,
+                    50.8432096
                 ],
                 [
-                    -3.5271039,
-                    54.9066228
+                    0.695556,
+                    50.8403428
                 ],
                 [
-                    -3.4808758,
-                    54.9084684
+                    0.696464,
+                    50.8592608
                 ],
                 [
-                    -3.4776655,
-                    54.7457328
+                    0.9852099,
+                    50.8523824
                 ],
                 [
-                    -3.5874573,
-                    54.744621
+                    0.9906579,
+                    50.9417226
                 ],
                 [
-                    -3.5836049,
-                    54.6546166
+                    1.0160821,
+                    50.9411504
                 ],
                 [
-                    -3.7107322,
-                    54.6531308
+                    1.0215301,
+                    51.0303204
                 ],
                 [
-                    -3.6991752,
-                    54.4550407
+                    1.2812198,
+                    51.0240383
                 ],
                 [
-                    -3.5746161,
-                    54.4572801
+                    1.2848518,
+                    51.0948044
                 ],
                 [
-                    -3.5759002,
-                    54.3863042
+                    1.4277848,
+                    51.0948044
                 ],
                 [
-                    -3.539945,
-                    54.3855564
+                    1.4386809,
+                    51.2882859
                 ],
                 [
-                    -3.5386609,
-                    54.297224
+                    1.4713691,
+                    51.2871502
                 ],
                 [
-                    -3.46033,
-                    54.2957252
+                    1.4804492,
+                    51.3994534
                 ],
                 [
-                    -3.4590458,
-                    54.2079507
+                    1.1590151,
+                    51.4073836
                 ],
                 [
-                    -3.3807149,
-                    54.2102037
+                    1.1590151,
+                    51.3869889
                 ],
                 [
-                    -3.381999,
-                    54.1169788
+                    1.0191822,
+                    51.3903886
                 ],
                 [
-                    -3.302878,
-                    54.1160656
+                    1.0228142,
+                    51.4798247
                 ],
                 [
-                    -3.300154,
-                    54.0276224
+                    0.8793493,
+                    51.4843484
                 ],
                 [
-                    -3.1013007,
-                    54.0292224
+                    0.8829813,
+                    51.5566675
                 ],
                 [
-                    -3.093596,
-                    53.6062158
+                    1.0264462,
+                    51.5544092
                 ],
                 [
-                    -3.2065981,
-                    53.6016441
+                    1.0373423,
+                    51.7493319
                 ],
                 [
-                    -3.2091663,
-                    53.4917753
+                    1.2607117,
+                    51.7482076
                 ],
                 [
-                    -3.2451215,
-                    53.4887193
+                    1.2661598,
+                    51.8279642
                 ],
                 [
-                    -3.2348486,
-                    53.4045934
+                    1.3351682,
+                    51.8335756
                 ],
                 [
-                    -3.5276266,
-                    53.3999999
+                    1.3478803,
+                    51.9199021
                 ],
                 [
-                    -3.5343966,
-                    53.328481
+                    1.4840812,
+                    51.9199021
                 ],
                 [
-                    -3.6488053,
-                    53.3252272
+                    1.4986093,
+                    52.0038271
                 ],
                 [
-                    -3.6527308,
-                    53.3057716
+                    1.6438902,
+                    52.0027092
                 ],
                 [
-                    -3.7271873,
-                    53.3046865
+                    1.6656823,
+                    52.270221
                 ],
                 [
-                    -3.7315003,
-                    53.3945257
+                    1.7310588,
+                    52.270221
                 ],
                 [
-                    -3.9108315,
-                    53.3912769
+                    1.7528509,
+                    52.4465637
                 ],
                 [
-                    -3.9071995,
-                    53.3023804
+                    1.8254914,
+                    52.4476705
                 ],
                 [
-                    -3.9521457,
-                    53.3015665
+                    1.8345714,
+                    52.624408
                 ],
                 [
-                    -3.9566724,
-                    53.3912183
+                    1.7690346,
+                    52.6291402
                 ],
                 [
-                    -4.1081979,
-                    53.3889209
+                    1.7741711,
+                    52.717904
                 ],
                 [
-                    -4.1081979,
-                    53.4072967
+                    1.6996925,
+                    52.721793
                 ],
                 [
-                    -4.2622916,
-                    53.4065312
+                    1.706113,
+                    52.8103687
                 ],
                 [
-                    -4.2635757,
-                    53.4753707
+                    1.559724,
+                    52.8165777
                 ],
                 [
-                    -4.638537,
-                    53.4677274
+                    1.5648605,
+                    52.9034116
                 ],
                 [
-                    -4.6346847,
-                    53.3812621
+                    1.4184715,
+                    52.9103818
                 ],
                 [
-                    -4.7091633,
-                    53.3774321
+                    1.4223238,
+                    52.9281894
                 ],
                 [
-                    -4.7001745,
-                    53.1954965
+                    1.3439928,
+                    52.9289635
                 ],
                 [
-                    -4.5499332,
-                    53.1962658
+                    1.3491293,
+                    53.0001194
                 ],
                 [
-                    -4.5435126,
-                    53.1092488
+                    0.4515789,
+                    53.022589
                 ],
                 [
-                    -4.3919871,
-                    53.1100196
+                    0.4497629,
+                    52.9351139
                 ],
                 [
-                    -4.3855666,
-                    53.0236002
+                    0.3789384,
+                    52.9351139
                 ],
                 [
-                    -4.6115707,
-                    53.0205105
+                    0.3716744,
+                    52.846365
                 ],
                 [
-                    -4.603866,
-                    52.9284932
+                    0.2227614,
+                    52.8496552
                 ],
                 [
-                    -4.7566756,
-                    52.9261709
+                    0.2336575,
+                    52.9329248
                 ],
                 [
-                    -4.7476868,
-                    52.8370555
+                    0.3062979,
+                    52.9351139
                 ],
                 [
-                    -4.8208813,
-                    52.8331768
+                    0.308114,
+                    53.022589
                 ],
                 [
-                    -4.8208813,
-                    52.7446476
+                    0.3807544,
+                    53.0236813
                 ],
                 [
-                    -4.3701572,
-                    52.7539749
+                    0.3993708,
+                    53.2933729
                 ],
                 [
-                    -4.3765778,
-                    52.8401583
+                    0.3248922,
+                    53.2987454
                 ],
                 [
-                    -4.2314728,
-                    52.8455875
+                    0.3274604,
+                    53.3853782
                 ],
                 [
-                    -4.2237682,
-                    52.7586379
+                    0.2504136,
+                    53.38691
                 ],
                 [
-                    -4.1056297,
-                    52.7570836
+                    0.2581183,
+                    53.4748924
                 ],
                 [
-                    -4.1015192,
-                    52.6714874
+                    0.1862079,
+                    53.4779494
                 ],
                 [
-                    -4.1487355,
-                    52.6703862
+                    0.1913443,
+                    53.6548777
                 ],
                 [
-                    -4.1305754,
-                    52.4008596
+                    0.1502527,
+                    53.6594436
                 ],
                 [
-                    -4.1995838,
-                    52.3986435
+                    0.1528209,
+                    53.7666003
                 ],
                 [
-                    -4.2050319,
-                    52.3110195
+                    0.0012954,
+                    53.7734308
                 ],
                 [
-                    -4.3466808,
-                    52.303247
+                    0.0025796,
+                    53.8424326
                 ],
                 [
-                    -4.3484968,
-                    52.2365693
+                    -0.0282392,
+                    53.841675
                 ],
                 [
-                    -4.4901457,
-                    52.2332328
+                    -0.0226575,
+                    53.9311501
                 ],
                 [
-                    -4.4883297,
-                    52.2098702
+                    -0.1406983,
+                    53.9322193
                 ],
                 [
-                    -4.6572188,
-                    52.2098702
+                    -0.1416063,
+                    54.0219323
                 ],
                 [
-                    -4.6590348,
-                    52.1385939
+                    -0.1706625,
+                    54.0235326
                 ],
                 [
-                    -4.7788916,
-                    52.13525
+                    -0.1679384,
+                    54.0949482
                 ],
                 [
-                    -4.7807076,
-                    52.1162967
+                    -0.0126694,
+                    54.0912206
                 ],
                 [
-                    -4.9259885,
-                    52.1140663
+                    -0.0099454,
+                    54.1811226
                 ],
                 [
-                    -4.9187245,
-                    52.0392855
+                    -0.1615824,
+                    54.1837795
                 ],
                 [
-                    -5.2365265,
-                    52.0314653
+                    -0.1606744,
+                    54.2029038
                 ],
                 [
-                    -5.2347105,
-                    51.9442339
+                    -0.2405789,
+                    54.2034349
                 ],
                 [
-                    -5.3473032,
-                    51.9408755
+                    -0.2378549,
+                    54.2936234
                 ],
                 [
-                    -5.3473032,
-                    51.9195995
+                    -0.3894919,
+                    54.2941533
                 ],
                 [
-                    -5.4925842,
-                    51.9162392
+                    -0.3857497,
+                    54.3837321
                 ],
                 [
-                    -5.4853201,
-                    51.8265386
+                    -0.461638,
+                    54.3856364
                 ],
                 [
-                    -5.1983903,
-                    51.8321501
+                    -0.4571122,
+                    54.4939066
                 ],
                 [
-                    -5.1893102,
-                    51.7625177
+                    -0.6105651,
+                    54.4965434
                 ],
                 [
-                    -5.335825,
-                    51.7589528
+                    -0.6096571,
+                    54.5676704
                 ],
                 [
-                    -5.3281204,
-                    51.6686495
+                    -0.7667421,
+                    54.569776
                 ],
                 [
-                    -5.1836575,
-                    51.6730296
+                    -0.7640181,
+                    54.5887213
                 ],
                 [
-                    -5.1836575,
-                    51.6539134
+                    -0.9192871,
+                    54.5908258
                 ],
                 [
-                    -5.0674452,
-                    51.6578966
+                    -0.9148116,
+                    54.6608348
                 ],
                 [
-                    -5.0603825,
-                    51.5677905
+                    -1.1485204,
+                    54.6634343
                 ],
                 [
-                    -4.5974594,
-                    51.5809588
+                    -1.1472363,
+                    54.7528316
                 ],
                 [
-                    -4.60388,
-                    51.6726314
+                    -1.2268514,
+                    54.7532021
                 ],
                 [
-                    -4.345773,
-                    51.6726314
+                    -1.2265398,
+                    54.8429879
                 ],
                 [
-                    -4.3355001,
-                    51.4962964
+                    -1.2991803,
+                    54.8435107
                 ],
                 [
-                    -3.9528341,
-                    51.5106841
+                    -1.2991803,
+                    54.9333391
                 ],
                 [
-                    -3.9425611,
-                    51.5905333
+                    -1.3454886,
+                    54.9354258
                 ],
                 [
-                    -3.8809237,
-                    51.5953198
+                    -1.3436726,
+                    55.0234878
                 ],
                 [
-                    -3.8706508,
-                    51.5074872
+                    -1.3772688,
+                    55.0255698
                 ],
                 [
-                    -3.7679216,
-                    51.4978952
+                    -1.3754528,
+                    55.1310877
                 ],
                 [
-                    -3.7550805,
-                    51.4242895
+                    -1.4997441,
+                    55.1315727
                 ],
                 [
-                    -3.5855774,
-                    51.41468
+                    -1.4969272,
+                    55.2928323
                 ],
                 [
-                    -3.5778727,
-                    51.3329177
+                    -1.5296721,
+                    55.2942946
                 ],
                 [
-                    -3.0796364,
-                    51.3329177
+                    -1.5258198,
+                    55.6523803
                 ],
                 [
-                    -3.0770682,
-                    51.2494018
+                    -1.7659492,
+                    55.6545537
                 ],
                 [
-                    -3.7216935,
-                    51.2381477
+                    -1.7620968,
+                    55.7435626
                 ],
                 [
-                    -3.7216935,
-                    51.2558315
+                    -1.9688392,
+                    55.7435626
                 ],
                 [
-                    -3.8706508,
-                    51.2558315
+                    -1.9698023,
+                    55.8334505
                 ],
                 [
-                    -3.8680825,
-                    51.2365398
+                    -2.0019051,
+                    55.8336308
                 ],
                 [
-                    -4.2944084,
-                    51.2252825
+                    -2.0015841,
+                    55.9235526
                 ],
                 [
-                    -4.289272,
-                    51.0496352
+                    -2.1604851,
+                    55.9240613
                 ],
                 [
-                    -4.5692089,
-                    51.0431767
+                    -2.1613931,
+                    55.9413549
                 ],
                 [
-                    -4.5624122,
-                    50.9497388
+                    -2.3202942,
+                    55.9408463
                 ],
                 [
-                    -4.5905604,
-                    50.9520269
+                    -2.3212022,
+                    56.0145126
                 ],
                 [
-                    -4.5896524,
-                    50.8627065
+                    -2.5627317,
+                    56.0124824
                 ],
                 [
-                    -4.6296046,
-                    50.8592677
+                    -2.5645477,
+                    56.1022207
                 ],
                 [
-                    -4.6226411,
-                    50.7691513
+                    -2.9658863,
+                    56.0991822
                 ],
                 [
-                    -4.6952816,
-                    50.7680028
+                    -2.9667943,
+                    56.1710304
                 ],
                 [
-                    -4.6934655,
-                    50.6967379
+                    -2.4828272,
+                    56.1755797
                 ],
                 [
-                    -4.8342064,
-                    50.6938621
+                    -2.4882752,
+                    56.2856078
                 ],
                 [
-                    -4.8296664,
-                    50.6046231
+                    -2.5645477,
+                    56.2835918
                 ],
                 [
-                    -4.9676833,
-                    50.6000126
+                    -2.5681798,
+                    56.3742075
                 ],
                 [
-                    -4.9685913,
-                    50.5821427
+                    -2.7261728,
+                    56.3732019
                 ],
                 [
-                    -5.1084242,
-                    50.5786832
+                    -2.7316208,
+                    56.4425301
                 ],
                 [
-                    -5.1029762,
-                    50.4892254
+                    -2.6190281,
+                    56.4425301
                 ],
                 [
-                    -5.1311244,
-                    50.48807
+                    -2.6153961,
+                    56.5317671
                 ],
                 [
-                    -5.1274923,
-                    50.4163798
+                    -2.453771,
+                    56.5347715
                 ],
                 [
-                    -5.2664172,
-                    50.4117509
+                    -2.4534686,
+                    56.6420248
                 ],
                 [
-                    -5.2609692,
-                    50.3034214
+                    -2.4062523,
+                    56.6440218
                 ],
                 [
-                    -5.5124868,
-                    50.2976214
+                    -2.3953562,
+                    56.7297964
                 ],
                 [
-                    -5.5061308,
-                    50.2256428
+                    -2.2936596,
+                    56.7337811
                 ],
                 [
-                    -5.6468717,
-                    50.2209953
-                ]
-            ],
-            [
-                [
-                    -5.1336607,
-                    55.2630226
+                    -2.2972916,
+                    56.807423
                 ],
                 [
-                    -5.1021999,
-                    55.2639372
+                    -2.1629067,
+                    56.8113995
                 ],
                 [
-                    -5.0999527,
-                    55.2458239
+                    -2.1592747,
+                    56.9958425
                 ],
                 [
-                    -5.1322161,
-                    55.2446343
-                ]
-            ],
-            [
-                [
-                    -5.6431878,
-                    55.5095745
+                    -1.9922016,
+                    57.0017771
                 ],
                 [
-                    -5.4861028,
-                    55.5126594
+                    -2.0067297,
+                    57.2737477
                 ],
                 [
-                    -5.4715747,
-                    55.3348829
+                    -1.9195612,
+                    57.2757112
                 ],
                 [
-                    -5.6277517,
-                    55.3302345
-                ]
-            ],
-            [
-                [
-                    -4.7213517,
-                    51.2180246
+                    -1.9304572,
+                    57.3482876
                 ],
                 [
-                    -4.5804201,
-                    51.2212417
+                    -1.8106005,
+                    57.3443682
                 ],
                 [
-                    -4.5746416,
-                    51.1306736
+                    -1.7997044,
+                    57.4402728
                 ],
                 [
-                    -4.7174993,
-                    51.1280545
-                ]
-            ],
-            [
-                [
-                    -5.1608796,
-                    55.4153626
+                    -1.6616875,
+                    57.4285429
                 ],
                 [
-                    -5.0045387,
-                    55.4190069
+                    -1.6689516,
+                    57.5398256
                 ],
                 [
-                    -5.0184798,
-                    55.6153521
+                    -1.7452241,
+                    57.5398256
                 ],
                 [
-                    -5.1755648,
-                    55.6138137
-                ]
-            ]
-        ],
-        "terms_url": "http://geo.nls.uk/maps/",
-        "terms_text": "National Library of Scotland Historic Maps"
-    },
-    {
-        "name": "NLS - OS 6-inch Scotland 1842-82",
-        "type": "tms",
-        "template": "http://geo.nls.uk/maps/os/six_inch/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            5,
-            16
-        ],
-        "polygon": [
-            [
+                    -1.7524881,
+                    57.6313302
+                ],
                 [
-                    -5.2112173,
-                    54.8018593
+                    -1.8287606,
+                    57.6332746
                 ],
                 [
-                    -5.0642752,
-                    54.8026508
+                    -1.8287606,
+                    57.7187255
                 ],
                 [
-                    -5.0560354,
-                    54.6305176
+                    -3.1768526,
+                    57.7171219
                 ],
                 [
-                    -4.3158316,
-                    54.6297227
+                    -3.1794208,
+                    57.734264
                 ],
                 [
-                    -4.3117117,
-                    54.7448258
+                    -3.5134082,
+                    57.7292105
                 ],
                 [
-                    -3.8530325,
-                    54.7464112
+                    -3.5129542,
+                    57.7112683
                 ],
                 [
-                    -3.8530325,
-                    54.8034424
+                    -3.7635638,
+                    57.7076303
                 ],
                 [
-                    -3.5522818,
-                    54.8034424
+                    -3.7598539,
+                    57.635713
                 ],
                 [
-                    -3.5522818,
-                    54.8374644
+                    -3.8420372,
+                    57.6343382
                 ],
                 [
-                    -3.468511,
-                    54.8406277
+                    -3.8458895,
+                    57.6178365
                 ],
                 [
-                    -3.4657644,
-                    54.8983158
+                    -3.9794374,
+                    57.6157733
                 ],
                 [
-                    -3.3847403,
-                    54.8991055
+                    -3.9794374,
+                    57.686544
                 ],
                 [
-                    -3.3888601,
-                    54.9559214
+                    -3.8150708,
+                    57.689976
                 ],
                 [
-                    -3.0920786,
-                    54.9539468
+                    -3.817639,
+                    57.7968899
                 ],
                 [
-                    -3.0392359,
-                    54.9923274
+                    -3.6853753,
+                    57.7989429
                 ],
                 [
-                    -3.0212713,
-                    55.0493881
+                    -3.6892276,
+                    57.8891567
                 ],
                 [
-                    -2.9591232,
-                    55.0463283
+                    -3.9383458,
+                    57.8877915
                 ],
                 [
-                    -2.9202807,
-                    55.0666294
+                    -3.9421981,
+                    57.9750592
                 ],
                 [
-                    -2.7857081,
-                    55.068652
+                    -3.6943641,
+                    57.9784638
                 ],
                 [
-                    -2.7852225,
-                    55.0914426
+                    -3.6969323,
+                    58.0695865
                 ],
                 [
-                    -2.7337562,
-                    55.0922761
+                    -4.0372226,
+                    58.0641528
                 ],
                 [
-                    -2.737616,
-                    55.151204
+                    -4.0346543,
+                    57.9730163
                 ],
                 [
-                    -2.7648395,
-                    55.1510672
+                    -4.2003051,
+                    57.9702923
                 ],
                 [
-                    -2.7013114,
-                    55.1722505
+                    -4.1832772,
+                    57.7012869
                 ],
                 [
-                    -2.6635459,
-                    55.2192808
+                    -4.518752,
+                    57.6951111
                 ],
                 [
-                    -2.6460364,
-                    55.2188891
+                    -4.5122925,
+                    57.6050682
                 ],
                 [
-                    -2.629042,
-                    55.2233933
+                    -4.6789116,
+                    57.6016628
                 ],
                 [
-                    -2.6317886,
-                    55.2287781
+                    -4.666022,
+                    57.4218334
                 ],
                 [
-                    -2.6235488,
-                    55.2446345
+                    -3.6677696,
+                    57.4394729
                 ],
                 [
-                    -2.6197723,
-                    55.2454663
+                    -3.671282,
+                    57.5295384
                 ],
                 [
-                    -2.6099017,
-                    55.2454174
+                    -3.3384979,
+                    57.5331943
                 ],
                 [
-                    -2.6099876,
-                    55.2486466
+                    -3.3330498,
+                    57.4438859
                 ],
                 [
-                    -2.6408121,
-                    55.2590039
+                    -2.8336466,
+                    57.4485275
                 ],
                 [
-                    -2.6247896,
-                    55.2615631
+                    -2.8236396,
+                    56.9992706
                 ],
                 [
-                    -2.6045186,
-                    55.2823081
+                    -2.3305398,
+                    57.0006693
                 ],
                 [
-                    -2.5693176,
-                    55.296132
+                    -2.3298977,
+                    56.9113932
                 ],
                 [
-                    -2.5479542,
-                    55.3121617
+                    -2.6579889,
+                    56.9092901
                 ],
                 [
-                    -2.5091116,
-                    55.3234891
+                    -2.6559637,
+                    56.8198406
                 ],
                 [
-                    -2.4780376,
-                    55.3494471
+                    -2.8216747,
+                    56.8188467
                 ],
                 [
-                    -2.4421083,
-                    55.3533118
+                    -2.8184967,
+                    56.7295397
                 ],
                 [
-                    -2.4052079,
-                    55.3439256
+                    -3.1449248,
+                    56.7265508
                 ],
                 [
-                    -2.3726772,
-                    55.3447539
+                    -3.1435628,
+                    56.6362749
                 ],
                 [
-                    -2.3221819,
-                    55.3687665
+                    -3.4679089,
+                    56.6350265
                 ],
                 [
-                    -2.3241241,
-                    55.3999337
+                    -3.474265,
+                    56.7238108
                 ],
                 [
-                    -2.2576062,
-                    55.425015
+                    -3.8011471,
+                    56.7188284
                 ],
                 [
-                    -2.1985547,
-                    55.4273529
+                    -3.785711,
+                    56.4493026
                 ],
                 [
-                    -2.1484296,
-                    55.4717466
+                    -3.946428,
+                    56.4457896
                 ],
                 [
-                    -2.1944348,
-                    55.484199
+                    -3.9428873,
+                    56.2659777
                 ],
                 [
-                    -2.2040479,
-                    55.529306
+                    -4.423146,
+                    56.2588459
                 ],
                 [
-                    -2.2960584,
-                    55.6379722
+                    -4.4141572,
+                    56.0815506
                 ],
                 [
-                    -2.2177808,
-                    55.6379722
+                    -4.8944159,
+                    56.0708008
                 ],
                 [
-                    -2.1059266,
-                    55.7452498
+                    -4.8791072,
+                    55.8896994
                 ],
                 [
-                    -1.9716874,
-                    55.7462161
+                    -5.1994158,
+                    55.8821374
                 ],
                 [
-                    -1.9697453,
-                    55.9190951
+                    -5.1852906,
+                    55.7023791
                 ],
                 [
-                    -2.1201694,
-                    55.9207115
+                    -5.0273445,
+                    55.7067203
                 ],
                 [
-                    -2.1242893,
-                    55.9776133
+                    -5.0222081,
+                    55.6879046
                 ],
                 [
-                    -2.3440159,
-                    55.9783817
+                    -4.897649,
+                    55.6907999
                 ],
                 [
-                    -2.3440159,
-                    56.0390349
+                    -4.8880181,
+                    55.6002822
                 ],
                 [
-                    -2.5046909,
-                    56.0413363
+                    -4.7339244,
+                    55.6046348
                 ],
                 [
-                    -2.500571,
-                    56.1003588
+                    -4.7275038,
+                    55.5342082
                 ],
                 [
-                    -2.8823459,
-                    56.0957629
+                    -4.773732,
+                    55.5334815
                 ],
                 [
-                    -2.8823459,
-                    56.1722898
+                    -4.7685955,
+                    55.4447227
                 ],
                 [
-                    -2.4126804,
-                    56.1692316
+                    -4.8494947,
+                    55.4418092
                 ],
                 [
-                    -2.4181736,
-                    56.2334017
+                    -4.8405059,
+                    55.3506535
                 ],
                 [
-                    -2.5857151,
-                    56.2303484
+                    -4.8700405,
+                    55.3513836
                 ],
                 [
-                    -2.5719822,
-                    56.3416356
+                    -4.8649041,
+                    55.2629462
                 ],
                 [
-                    -2.7257908,
-                    56.3462022
+                    -4.9920314,
+                    55.2592875
                 ],
                 [
-                    -2.7312839,
-                    56.4343808
+                    -4.9907473,
+                    55.1691779
                 ],
                 [
-                    -2.6928318,
-                    56.4343808
+                    -5.0600894,
+                    55.1655105
                 ],
                 [
-                    -2.6928318,
-                    56.4859769
+                    -5.0575212,
+                    55.0751884
                 ],
                 [
-                    -2.5307834,
-                    56.4935587
+                    -5.2141831,
+                    55.0722477
                 ],
                 [
-                    -2.5307834,
-                    56.570806
+                    -5.1991766,
+                    54.8020337
                 ],
                 [
-                    -2.5302878,
-                    56.6047947
+                    -5.0466316,
+                    54.8062205
                 ],
                 [
-                    -2.3732428,
-                    56.6044452
+                    -5.0502636,
+                    54.7244996
                 ],
                 [
-                    -2.3684363,
-                    56.7398824
+                    -4.9703591,
+                    54.7203043
                 ],
                 [
-                    -2.3292975,
-                    56.7398824
+                    -4.9776232,
+                    54.6215905
                 ],
                 [
-                    -2.3292975,
-                    56.7888065
+                    -4.796022,
+                    54.6342056
                 ],
                 [
-                    -2.3145346,
-                    56.7891826
+                    -4.796022,
+                    54.7307917
                 ],
                 [
-                    -2.3148779,
-                    56.7967036
+                    -4.8977186,
+                    54.7265971
                 ],
                 [
-                    -2.171369,
-                    56.7967036
+                    -4.9086147,
+                    54.8145928
                 ],
                 [
-                    -2.1703979,
-                    56.9710595
+                    -4.8069181,
+                    54.8166856
                 ],
                 [
-                    -2.0101725,
-                    56.9694716
+                    -4.8105501,
+                    54.7915648
                 ],
                 [
-                    -2.0101725,
-                    57.0846832
+                    -4.6943253,
+                    54.7978465
                 ],
                 [
-                    -2.0817687,
-                    57.085349
+                    -4.6761652,
+                    54.7244996
                 ],
                 [
-                    -2.0488097,
-                    57.1259963
+                    -4.5744686,
+                    54.7244996
                 ],
                 [
-                    -2.0409133,
-                    57.126369
+                    -4.5599405,
+                    54.6426135
                 ],
                 [
-                    -2.0383434,
-                    57.2411129
+                    -4.3093309,
+                    54.6384098
                 ],
                 [
-                    -1.878118,
-                    57.2421638
+                    -4.3333262,
+                    54.8229889
                 ],
                 [
-                    -1.8771469,
-                    57.2978175
+                    -4.2626999,
+                    54.8274274
                 ],
                 [
-                    -1.9868771,
-                    57.2983422
+                    -4.2549952,
+                    54.7348587
                 ],
                 [
-                    -1.9082209,
-                    57.3560063
+                    -3.8338058,
+                    54.7400481
                 ],
                 [
-                    -1.8752048,
-                    57.3560063
+                    -3.836374,
+                    54.8141105
                 ],
                 [
-                    -1.8761758,
-                    57.3769527
+                    -3.7118149,
+                    54.8133706
                 ],
                 [
-                    -1.8120857,
-                    57.4120111
+                    -3.7143831,
+                    54.8318654
                 ],
                 [
-                    -1.7120661,
-                    57.4120111
+                    -3.5346072,
+                    54.8355633
                 ],
                 [
-                    -1.7034646,
-                    57.6441388
+                    -3.5271039,
+                    54.9066228
                 ],
                 [
-                    -1.8666032,
-                    57.6451781
+                    -3.4808758,
+                    54.9084684
                 ],
                 [
-                    -1.8646611,
-                    57.7033351
+                    -3.4776655,
+                    54.7457328
                 ],
                 [
-                    -3.1204292,
-                    57.7064705
+                    -3.5874573,
+                    54.744621
                 ],
                 [
-                    -3.1218025,
-                    57.7504652
+                    -3.5836049,
+                    54.6546166
                 ],
                 [
-                    -3.4445259,
-                    57.7526635
+                    -3.7107322,
+                    54.6531308
                 ],
                 [
-                    -3.4472724,
-                    57.7138067
+                    -3.6991752,
+                    54.4550407
                 ],
                 [
-                    -3.5145637,
-                    57.7094052
+                    -3.5746161,
+                    54.4572801
                 ],
                 [
-                    -3.5118171,
-                    57.6939956
+                    -3.5759002,
+                    54.3863042
                 ],
                 [
-                    -3.7645027,
-                    57.6917938
+                    -3.539945,
+                    54.3855564
                 ],
                 [
-                    -3.7672492,
-                    57.6344975
+                    -3.5386609,
+                    54.297224
                 ],
                 [
-                    -3.842378,
-                    57.6288312
+                    -3.46033,
+                    54.2957252
                 ],
                 [
-                    -3.8438346,
-                    57.5965825
+                    -3.4590458,
+                    54.2079507
                 ],
                 [
-                    -3.9414265,
-                    57.5916386
+                    -3.3807149,
+                    54.2102037
                 ],
                 [
-                    -3.9404554,
-                    57.6537782
+                    -3.381999,
+                    54.1169788
                 ],
                 [
-                    -3.8894746,
-                    57.6529989
+                    -3.302878,
+                    54.1160656
                 ],
                 [
-                    -3.8826772,
-                    57.7676408
+                    -3.300154,
+                    54.0276224
                 ],
                 [
-                    -3.7224517,
-                    57.766087
+                    -3.1013007,
+                    54.0292224
                 ],
                 [
-                    -3.7195385,
-                    57.8819201
+                    -3.093596,
+                    53.6062158
                 ],
                 [
-                    -3.9146888,
-                    57.8853352
-                ],
-                [
-                    -3.916062,
-                    57.9546243
-                ],
-                [
-                    -3.745774,
-                    57.9538956
+                    -3.2065981,
+                    53.6016441
                 ],
                 [
-                    -3.7471473,
-                    58.0688409
+                    -3.2091663,
+                    53.4917753
                 ],
                 [
-                    -3.5837256,
-                    58.0695672
+                    -3.2451215,
+                    53.4887193
                 ],
                 [
-                    -3.5837256,
-                    58.1116689
+                    -3.2348486,
+                    53.4045934
                 ],
                 [
-                    -3.4560096,
-                    58.1138452
+                    -3.5276266,
+                    53.3999999
                 ],
                 [
-                    -3.4544646,
-                    58.228503
+                    -3.5343966,
+                    53.328481
                 ],
                 [
-                    -3.4379851,
-                    58.2283222
+                    -3.6488053,
+                    53.3252272
                 ],
                 [
-                    -3.4243233,
-                    58.2427725
+                    -3.6527308,
+                    53.3057716
                 ],
                 [
-                    -3.412307,
-                    58.2438567
+                    -3.7271873,
+                    53.3046865
                 ],
                 [
-                    -3.3735115,
-                    58.2695057
+                    -3.7315003,
+                    53.3945257
                 ],
                 [
-                    -3.3063919,
-                    58.2862038
+                    -3.9108315,
+                    53.3912769
                 ],
                 [
-                    -3.1229154,
-                    58.2859395
+                    -3.9071995,
+                    53.3023804
                 ],
                 [
-                    -3.123602,
-                    58.3443661
+                    -3.9521457,
+                    53.3015665
                 ],
                 [
-                    -2.9574338,
-                    58.3447264
+                    -3.9566724,
+                    53.3912183
                 ],
                 [
-                    -2.951254,
-                    58.6422011
+                    -4.1081979,
+                    53.3889209
                 ],
                 [
-                    -2.8812162,
-                    58.6429157
+                    -4.1081979,
+                    53.4072967
                 ],
                 [
-                    -2.8851004,
-                    58.8112825
+                    -4.2622916,
+                    53.4065312
                 ],
                 [
-                    -2.7180775,
-                    58.8142997
+                    -4.2635757,
+                    53.4753707
                 ],
                 [
-                    -2.7161354,
-                    58.8715749
+                    -4.638537,
+                    53.4677274
                 ],
                 [
-                    -2.556881,
-                    58.8775984
+                    -4.6346847,
+                    53.3812621
                 ],
                 [
-                    -2.5544533,
-                    58.9923453
+                    -4.7091633,
+                    53.3774321
                 ],
                 [
-                    -2.5567617,
-                    59.0483775
+                    -4.7001745,
+                    53.1954965
                 ],
                 [
-                    -2.391893,
-                    59.0485996
+                    -4.5499332,
+                    53.1962658
                 ],
                 [
-                    -2.3918002,
-                    59.1106996
+                    -4.5435126,
+                    53.1092488
                 ],
                 [
-                    -2.4733695,
-                    59.1106996
+                    -4.3919871,
+                    53.1100196
                 ],
                 [
-                    -2.5591563,
-                    59.1783028
+                    -4.3855666,
+                    53.0236002
                 ],
                 [
-                    -2.5630406,
-                    59.2210646
+                    -4.6115707,
+                    53.0205105
                 ],
                 [
-                    -2.3921334,
-                    59.224046
+                    -4.603866,
+                    52.9284932
                 ],
                 [
-                    -2.3911409,
-                    59.2740075
+                    -4.7566756,
+                    52.9261709
                 ],
                 [
-                    -2.3639512,
-                    59.2745036
+                    -4.7476868,
+                    52.8370555
                 ],
                 [
-                    -2.3658933,
-                    59.285417
+                    -4.8208813,
+                    52.8331768
                 ],
                 [
-                    -2.3911409,
-                    59.284921
+                    -4.8208813,
+                    52.7446476
                 ],
                 [
-                    -2.3911409,
-                    59.3379505
+                    -4.3701572,
+                    52.7539749
                 ],
                 [
-                    -2.2221759,
-                    59.3381981
+                    -4.3765778,
+                    52.8401583
                 ],
                 [
-                    -2.2233897,
-                    59.395965
+                    -4.2314728,
+                    52.8455875
                 ],
                 [
-                    -2.3758467,
-                    59.396583
+                    -4.2237682,
+                    52.7586379
                 ],
                 [
-                    -2.3899271,
-                    59.4026383
+                    -4.1056297,
+                    52.7570836
                 ],
                 [
-                    -2.4008516,
-                    59.3962122
+                    -4.1015192,
+                    52.6714874
                 ],
                 [
-                    -2.5637882,
-                    59.3952604
+                    -4.1487355,
+                    52.6703862
                 ],
                 [
-                    -2.5637882,
-                    59.3385811
+                    -4.1305754,
+                    52.4008596
                 ],
                 [
-                    -2.7320164,
-                    59.3375306
+                    -4.1995838,
+                    52.3986435
                 ],
                 [
-                    -2.7333896,
-                    59.3952604
+                    -4.2050319,
+                    52.3110195
                 ],
                 [
-                    -3.0726511,
-                    59.3931174
+                    -4.3466808,
+                    52.303247
                 ],
                 [
-                    -3.0703404,
-                    59.3354759
+                    -4.3484968,
+                    52.2365693
                 ],
                 [
-                    -3.0753186,
-                    59.3355634
+                    -4.4901457,
+                    52.2332328
                 ],
                 [
-                    -3.0749753,
-                    59.3292593
+                    -4.4883297,
+                    52.2098702
                 ],
                 [
-                    -3.0698254,
-                    59.3289091
+                    -4.6572188,
+                    52.2098702
                 ],
                 [
-                    -3.069801,
-                    59.2196159
+                    -4.6590348,
+                    52.1385939
                 ],
                 [
-                    -3.2363384,
-                    59.2166341
+                    -4.7788916,
+                    52.13525
                 ],
                 [
-                    -3.2336751,
-                    59.1606496
+                    -4.7807076,
+                    52.1162967
                 ],
                 [
-                    -3.4032766,
-                    59.1588895
+                    -4.9259885,
+                    52.1140663
                 ],
                 [
-                    -3.394086,
-                    58.9279316
+                    -4.9187245,
+                    52.0392855
                 ],
                 [
-                    -3.5664497,
-                    58.9259268
+                    -5.2365265,
+                    52.0314653
                 ],
                 [
-                    -3.5611089,
-                    58.8679885
+                    -5.2347105,
+                    51.9442339
                 ],
                 [
-                    -3.392508,
-                    58.8699339
+                    -5.3473032,
+                    51.9408755
                 ],
                 [
-                    -3.3894734,
-                    58.8698711
+                    -5.3473032,
+                    51.9195995
                 ],
                 [
-                    -3.3891093,
-                    58.8684905
+                    -5.4925842,
+                    51.9162392
                 ],
                 [
-                    -3.3912942,
-                    58.868616
+                    -5.4853201,
+                    51.8265386
                 ],
                 [
-                    -3.3884161,
-                    58.7543084
+                    -5.1983903,
+                    51.8321501
                 ],
                 [
-                    -3.2238208,
-                    58.7555677
+                    -5.1893102,
+                    51.7625177
                 ],
                 [
-                    -3.2189655,
-                    58.691289
+                    -5.335825,
+                    51.7589528
                 ],
                 [
-                    -3.4634113,
-                    58.6905753
+                    -5.3281204,
+                    51.6686495
                 ],
                 [
-                    -3.4551716,
-                    58.6341518
+                    -5.1836575,
+                    51.6730296
                 ],
                 [
-                    -3.787508,
-                    58.6341518
+                    -5.1836575,
+                    51.6539134
                 ],
                 [
-                    -3.7861347,
-                    58.5769211
+                    -5.0674452,
+                    51.6578966
                 ],
                 [
-                    -3.9028645,
-                    58.5733411
+                    -5.0603825,
+                    51.5677905
                 ],
                 [
-                    -3.9028645,
-                    58.6477304
+                    -4.5974594,
+                    51.5809588
                 ],
                 [
-                    -4.0690327,
-                    58.6491594
+                    -4.60388,
+                    51.6726314
                 ],
                 [
-                    -4.0690327,
-                    58.5912376
+                    -4.345773,
+                    51.6726314
                 ],
                 [
-                    -4.7364521,
-                    58.5933845
+                    -4.3355001,
+                    51.4962964
                 ],
                 [
-                    -4.7364521,
-                    58.6505884
+                    -3.9528341,
+                    51.5106841
                 ],
                 [
-                    -5.0715351,
-                    58.6520173
+                    -3.9425611,
+                    51.5905333
                 ],
                 [
-                    -5.0654779,
-                    58.5325854
+                    -3.8809237,
+                    51.5953198
                 ],
                 [
-                    -5.2332047,
-                    58.5316087
+                    -3.8706508,
+                    51.5074872
                 ],
                 [
-                    -5.2283494,
-                    58.4719947
+                    -3.7679216,
+                    51.4978952
                 ],
                 [
-                    -5.2424298,
-                    58.4719947
+                    -3.7550805,
+                    51.4242895
                 ],
                 [
-                    -5.2366034,
-                    58.4089731
+                    -3.5855774,
+                    51.41468
                 ],
                 [
-                    -5.2283494,
-                    58.4094818
+                    -3.5778727,
+                    51.3329177
                 ],
                 [
-                    -5.2210664,
-                    58.3005859
+                    -3.0796364,
+                    51.3329177
                 ],
                 [
-                    -5.5657939,
-                    58.2959933
+                    -3.0770682,
+                    51.2494018
                 ],
                 [
-                    -5.5580254,
-                    58.2372573
+                    -3.7216935,
+                    51.2381477
                 ],
                 [
-                    -5.4146722,
-                    58.2401326
+                    -3.7216935,
+                    51.2558315
                 ],
                 [
-                    -5.4141866,
-                    58.2267768
+                    -3.8706508,
+                    51.2558315
                 ],
                 [
-                    -5.3885749,
-                    58.2272242
+                    -3.8680825,
+                    51.2365398
                 ],
                 [
-                    -5.382714,
-                    58.1198615
+                    -4.2944084,
+                    51.2252825
                 ],
                 [
-                    -5.51043,
-                    58.1191362
+                    -4.289272,
+                    51.0496352
                 ],
                 [
-                    -5.5114011,
-                    58.006214
+                    -4.5692089,
+                    51.0431767
                 ],
                 [
-                    -5.6745397,
-                    58.0041559
+                    -4.5624122,
+                    50.9497388
                 ],
                 [
-                    -5.6716266,
-                    57.9449366
+                    -4.5905604,
+                    50.9520269
                 ],
                 [
-                    -5.6716266,
-                    57.8887166
+                    -4.5896524,
+                    50.8627065
                 ],
                 [
-                    -5.8347652,
-                    57.8856193
+                    -4.6296046,
+                    50.8592677
                 ],
                 [
-                    -5.8277052,
-                    57.5988958
+                    -4.6226411,
+                    50.7691513
                 ],
                 [
-                    -6.0384259,
-                    57.5986357
+                    -4.6952816,
+                    50.7680028
                 ],
                 [
-                    -6.0389115,
-                    57.6459559
+                    -4.6934655,
+                    50.6967379
                 ],
                 [
-                    -6.1981658,
-                    57.6456961
+                    -4.8342064,
+                    50.6938621
                 ],
                 [
-                    -6.2076123,
-                    57.7600132
+                    -4.8296664,
+                    50.6046231
                 ],
                 [
-                    -6.537067,
-                    57.7544033
+                    -4.9676833,
+                    50.6000126
                 ],
                 [
-                    -6.5312406,
-                    57.6402392
+                    -4.9685913,
+                    50.5821427
                 ],
                 [
-                    -6.7002056,
-                    57.6360809
+                    -5.1084242,
+                    50.5786832
                 ],
                 [
-                    -6.6807844,
-                    57.5236293
+                    -5.1029762,
+                    50.4892254
                 ],
                 [
-                    -6.8516915,
-                    57.5152857
+                    -5.1311244,
+                    50.48807
                 ],
                 [
-                    -6.8361545,
-                    57.3385811
+                    -5.1274923,
+                    50.4163798
                 ],
                 [
-                    -6.6730158,
-                    57.3438213
+                    -5.2664172,
+                    50.4117509
                 ],
                 [
-                    -6.674958,
-                    57.2850883
+                    -5.2609692,
+                    50.3034214
                 ],
                 [
-                    -6.5098772,
-                    57.2850883
+                    -5.5124868,
+                    50.2976214
                 ],
                 [
-                    -6.4982244,
-                    57.1757637
+                    -5.5061308,
+                    50.2256428
                 ],
                 [
-                    -6.3506228,
-                    57.1820797
-                ],
+                    -5.6468717,
+                    50.2209953
+                ]
+            ],
+            [
                 [
-                    -6.3312015,
-                    57.1251969
+                    -5.1336607,
+                    55.2630226
                 ],
                 [
-                    -6.1797156,
-                    57.1230884
+                    -5.1021999,
+                    55.2639372
                 ],
                 [
-                    -6.1719471,
-                    57.0682265
+                    -5.0999527,
+                    55.2458239
                 ],
                 [
-                    -6.4593819,
-                    57.059779
-                ],
+                    -5.1322161,
+                    55.2446343
+                ]
+            ],
+            [
                 [
-                    -6.4564687,
-                    57.1093806
+                    -5.6431878,
+                    55.5095745
                 ],
                 [
-                    -6.6671895,
-                    57.1062165
+                    -5.4861028,
+                    55.5126594
                 ],
                 [
-                    -6.6730158,
-                    57.002708
+                    -5.4715747,
+                    55.3348829
                 ],
                 [
-                    -6.5021087,
-                    57.0048233
-                ],
+                    -5.6277517,
+                    55.3302345
+                ]
+            ],
+            [
                 [
-                    -6.4836097,
-                    56.8917522
+                    -4.7213517,
+                    51.2180246
                 ],
                 [
-                    -6.3266104,
-                    56.8894062
+                    -4.5804201,
+                    51.2212417
                 ],
                 [
-                    -6.3156645,
-                    56.7799312
+                    -4.5746416,
+                    51.1306736
                 ],
                 [
-                    -6.2146739,
-                    56.775675
-                ],
+                    -4.7174993,
+                    51.1280545
+                ]
+            ],
+            [
                 [
-                    -6.2146739,
-                    56.7234965
+                    -5.1608796,
+                    55.4153626
                 ],
                 [
-                    -6.6866107,
-                    56.7224309
+                    -5.0045387,
+                    55.4190069
                 ],
                 [
-                    -6.6769001,
-                    56.6114413
+                    -5.0184798,
+                    55.6153521
                 ],
                 [
-                    -6.8419809,
-                    56.607166
-                ],
+                    -5.1755648,
+                    55.6138137
+                ]
+            ]
+        ],
+        "terms_url": "http://geo.nls.uk/maps/",
+        "terms_text": "National Library of Scotland Historic Maps"
+    },
+    {
+        "name": "NLS - OS 25-inch (Scotland), 1892-1905",
+        "type": "tms",
+        "template": "http://geo.nls.uk/mapdata2/os/25_inch/scotland_1/{zoom}/{x}/{y}.png",
+        "scaleExtent": [
+            0,
+            18
+        ],
+        "polygon": [
+            [
                 [
-                    -6.8400387,
-                    56.5483307
+                    -9.25,
+                    54.43
                 ],
                 [
-                    -7.1546633,
-                    56.5461895
+                    -9.25,
+                    61.12
                 ],
                 [
-                    -7.1488369,
-                    56.4872592
+                    0.22,
+                    61.12
                 ],
                 [
-                    -6.9915246,
-                    56.490476
+                    0.22,
+                    54.43
                 ],
                 [
-                    -6.9876404,
-                    56.4325329
-                ],
+                    -9.25,
+                    54.43
+                ]
+            ]
+        ],
+        "terms_url": "http://geo.nls.uk/maps/",
+        "terms_text": "National Library of Scotland Historic Maps"
+    },
+    {
+        "name": "NLS - OS 6-inch County Series, 1888-1913",
+        "type": "tms",
+        "template": "http://geo.nls.uk/mapdata3/os/6_inch_gb_1900/{zoom}/{x}/{y}.png",
+        "scaleExtent": [
+            0,
+            17
+        ],
+        "polygon": [
+            [
                 [
-                    -6.6827265,
-                    56.4314591
+                    -9,
+                    49.8
                 ],
                 [
-                    -6.6769001,
-                    56.5472601
+                    -9,
+                    61.1
                 ],
                 [
-                    -6.5292985,
-                    56.5504717
+                    1.9,
+                    61.1
                 ],
                 [
-                    -6.5234721,
-                    56.4379018
+                    1.9,
+                    49.8
                 ],
                 [
-                    -6.3661598,
-                    56.4368281
-                ],
+                    -9,
+                    49.8
+                ]
+            ]
+        ],
+        "terms_url": "http://geo.nls.uk/maps/",
+        "terms_text": "National Library of Scotland Historic Maps"
+    },
+    {
+        "name": "NLS - OS 6-inch Scotland 1842-82",
+        "type": "tms",
+        "template": "http://geo.nls.uk/maps/os/six_inch/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            5,
+            16
+        ],
+        "polygon": [
+            [
                 [
-                    -6.3642177,
-                    56.3766524
+                    -5.2112173,
+                    54.8018593
                 ],
                 [
-                    -6.5273563,
-                    56.3712749
+                    -5.0642752,
+                    54.8026508
                 ],
                 [
-                    -6.5171745,
-                    56.2428427
+                    -5.0560354,
+                    54.6305176
                 ],
                 [
-                    -6.4869621,
-                    56.247421
+                    -4.3158316,
+                    54.6297227
                 ],
                 [
-                    -6.4869621,
-                    56.1893882
+                    -4.3117117,
+                    54.7448258
                 ],
                 [
-                    -6.3001945,
-                    56.1985572
+                    -3.8530325,
+                    54.7464112
                 ],
                 [
-                    -6.3029411,
-                    56.2581017
+                    -3.8530325,
+                    54.8034424
                 ],
                 [
-                    -5.9019401,
-                    56.256576
+                    -3.5522818,
+                    54.8034424
                 ],
                 [
-                    -5.8964469,
-                    56.0960466
+                    -3.5522818,
+                    54.8374644
                 ],
                 [
-                    -6.0282829,
-                    56.0883855
+                    -3.468511,
+                    54.8406277
                 ],
                 [
-                    -6.0392692,
-                    56.1557502
+                    -3.4657644,
+                    54.8983158
                 ],
                 [
-                    -6.3853385,
-                    56.1542205
+                    -3.3847403,
+                    54.8991055
                 ],
                 [
-                    -6.3606193,
-                    55.96099
+                    -3.3888601,
+                    54.9559214
                 ],
                 [
-                    -6.2123039,
-                    55.9640647
+                    -3.0920786,
+                    54.9539468
                 ],
                 [
-                    -6.2047508,
-                    55.9202269
+                    -3.0392359,
+                    54.9923274
                 ],
                 [
-                    -6.5185478,
-                    55.9129158
+                    -3.0212713,
+                    55.0493881
                 ],
                 [
-                    -6.5061881,
-                    55.7501763
+                    -2.9591232,
+                    55.0463283
                 ],
                 [
-                    -6.6764762,
-                    55.7409005
+                    -2.9202807,
+                    55.0666294
                 ],
                 [
-                    -6.6599967,
-                    55.6263176
+                    -2.7857081,
+                    55.068652
                 ],
                 [
-                    -6.3551261,
-                    55.6232161
+                    -2.7852225,
+                    55.0914426
                 ],
                 [
-                    -6.3578727,
-                    55.5689002
+                    -2.7337562,
+                    55.0922761
                 ],
                 [
-                    -6.0392692,
-                    55.5720059
+                    -2.737616,
+                    55.151204
                 ],
                 [
-                    -6.0310294,
-                    55.6247669
+                    -2.7648395,
+                    55.1510672
                 ],
                 [
-                    -5.7398917,
-                    55.6309694
+                    -2.7013114,
+                    55.1722505
                 ],
                 [
-                    -5.7371452,
-                    55.4569279
+                    -2.6635459,
+                    55.2192808
                 ],
                 [
-                    -5.8964469,
-                    55.4600426
+                    -2.6460364,
+                    55.2188891
                 ],
                 [
-                    -5.8964469,
-                    55.2789864
+                    -2.629042,
+                    55.2233933
                 ],
                 [
-                    -5.4350211,
-                    55.2821151
+                    -2.6317886,
+                    55.2287781
                 ],
                 [
-                    -5.4405143,
-                    55.4506979
+                    -2.6235488,
+                    55.2446345
                 ],
                 [
-                    -5.2867057,
-                    55.4569279
+                    -2.6197723,
+                    55.2454663
                 ],
                 [
-                    -5.3086784,
-                    55.4070602
+                    -2.6099017,
+                    55.2454174
                 ],
                 [
-                    -4.9735954,
-                    55.4008223
+                    -2.6099876,
+                    55.2486466
                 ],
                 [
-                    -4.9845817,
-                    55.2038242
+                    -2.6408121,
+                    55.2590039
                 ],
                 [
-                    -5.1493766,
-                    55.2038242
+                    -2.6247896,
+                    55.2615631
                 ],
                 [
-                    -5.1411369,
-                    55.037337
+                    -2.6045186,
+                    55.2823081
                 ],
                 [
-                    -5.2152946,
-                    55.0341891
-                ]
-            ],
-            [
-                [
-                    -2.1646559,
-                    60.1622059
+                    -2.5693176,
+                    55.296132
                 ],
                 [
-                    -1.9930299,
-                    60.1609801
+                    -2.5479542,
+                    55.3121617
                 ],
                 [
-                    -1.9946862,
-                    60.1035151
+                    -2.5091116,
+                    55.3234891
                 ],
                 [
-                    -2.1663122,
-                    60.104743
-                ]
-            ],
-            [
-                [
-                    -1.5360658,
-                    59.8570831
+                    -2.4780376,
+                    55.3494471
                 ],
                 [
-                    -1.3653566,
-                    59.8559841
+                    -2.4421083,
+                    55.3533118
                 ],
                 [
-                    -1.366847,
-                    59.7975565
+                    -2.4052079,
+                    55.3439256
                 ],
                 [
-                    -1.190628,
-                    59.7964199
+                    -2.3726772,
+                    55.3447539
                 ],
                 [
-                    -1.1862046,
-                    59.9695391
+                    -2.3221819,
+                    55.3687665
                 ],
                 [
-                    -1.0078652,
-                    59.9683948
+                    -2.3241241,
+                    55.3999337
                 ],
                 [
-                    -1.0041233,
-                    60.114145
+                    -2.2576062,
+                    55.425015
                 ],
                 [
-                    -0.8360832,
-                    60.1130715
+                    -2.1985547,
+                    55.4273529
                 ],
                 [
-                    -0.834574,
-                    60.1716772
+                    -2.1484296,
+                    55.4717466
                 ],
                 [
-                    -1.0074262,
-                    60.1727795
+                    -2.1944348,
+                    55.484199
                 ],
                 [
-                    -1.0052165,
-                    60.2583924
+                    -2.2040479,
+                    55.529306
                 ],
                 [
-                    -0.8299659,
-                    60.2572778
+                    -2.2960584,
+                    55.6379722
                 ],
                 [
-                    -0.826979,
-                    60.3726551
+                    -2.2177808,
+                    55.6379722
                 ],
                 [
-                    -0.6507514,
-                    60.3715381
+                    -2.1059266,
+                    55.7452498
                 ],
                 [
-                    -0.6477198,
-                    60.4882292
+                    -1.9716874,
+                    55.7462161
                 ],
                 [
-                    -0.9984896,
-                    60.4904445
+                    -1.9697453,
+                    55.9190951
                 ],
                 [
-                    -0.9970279,
-                    60.546555
+                    -2.1201694,
+                    55.9207115
                 ],
                 [
-                    -0.6425288,
-                    60.5443201
+                    -2.1242893,
+                    55.9776133
                 ],
                 [
-                    -0.6394896,
-                    60.6606792
+                    -2.3440159,
+                    55.9783817
                 ],
                 [
-                    -0.8148133,
-                    60.6617806
+                    -2.3440159,
+                    56.0390349
                 ],
                 [
-                    -0.8132987,
-                    60.7196112
+                    -2.5046909,
+                    56.0413363
                 ],
                 [
-                    -0.6383298,
-                    60.7185141
+                    -2.500571,
+                    56.1003588
                 ],
                 [
-                    -0.635467,
-                    60.8275393
+                    -2.8823459,
+                    56.0957629
                 ],
                 [
-                    -0.797568,
-                    60.8285523
+                    -2.8823459,
+                    56.1722898
                 ],
                 [
-                    -0.9941426,
-                    60.8297807
+                    -2.4126804,
+                    56.1692316
                 ],
                 [
-                    -0.9954966,
-                    60.7782667
+                    -2.4181736,
+                    56.2334017
                 ],
                 [
-                    -1.1670282,
-                    60.7793403
+                    -2.5857151,
+                    56.2303484
                 ],
                 [
-                    -1.1700357,
-                    60.6646181
+                    -2.5719822,
+                    56.3416356
                 ],
                 [
-                    -1.5222599,
-                    60.6668304
+                    -2.7257908,
+                    56.3462022
                 ],
                 [
-                    -1.5237866,
-                    60.6084426
+                    -2.7312839,
+                    56.4343808
                 ],
                 [
-                    -1.6975673,
-                    60.609536
+                    -2.6928318,
+                    56.4343808
                 ],
                 [
-                    -1.7021271,
-                    60.4345249
+                    -2.6928318,
+                    56.4859769
                 ],
                 [
-                    -1.5260578,
-                    60.4334111
+                    -2.5307834,
+                    56.4935587
                 ],
                 [
-                    -1.5275203,
-                    60.3770719
+                    -2.5307834,
+                    56.570806
                 ],
                 [
-                    -1.8751127,
-                    60.3792746
+                    -2.5302878,
+                    56.6047947
                 ],
                 [
-                    -1.8781372,
-                    60.2624647
+                    -2.3732428,
+                    56.6044452
                 ],
                 [
-                    -1.7019645,
-                    60.2613443
+                    -2.3684363,
+                    56.7398824
                 ],
                 [
-                    -1.7049134,
-                    60.1470532
+                    -2.3292975,
+                    56.7398824
                 ],
                 [
-                    -1.528659,
-                    60.1459283
-                ]
-            ],
-            [
-                [
-                    -0.9847667,
-                    60.8943762
+                    -2.3292975,
+                    56.7888065
                 ],
                 [
-                    -0.9860347,
-                    60.8361105
+                    -2.3145346,
+                    56.7891826
                 ],
                 [
-                    -0.8078362,
-                    60.8351904
+                    -2.3148779,
+                    56.7967036
                 ],
                 [
-                    -0.8065683,
-                    60.8934578
-                ]
-            ],
-            [
+                    -2.171369,
+                    56.7967036
+                ],
                 [
-                    -7.7696901,
-                    56.8788231
+                    -2.1703979,
+                    56.9710595
                 ],
                 [
-                    -7.7614504,
-                    56.7608274
+                    -2.0101725,
+                    56.9694716
                 ],
                 [
-                    -7.6009049,
-                    56.7641903
+                    -2.0101725,
+                    57.0846832
                 ],
                 [
-                    -7.5972473,
-                    56.819332
+                    -2.0817687,
+                    57.085349
                 ],
                 [
-                    -7.4479894,
-                    56.8203948
+                    -2.0488097,
+                    57.1259963
                 ],
                 [
-                    -7.4489319,
-                    56.8794098
+                    -2.0409133,
+                    57.126369
                 ],
                 [
-                    -7.2841369,
-                    56.8794098
+                    -2.0383434,
+                    57.2411129
                 ],
                 [
-                    -7.2813904,
-                    57.0471152
+                    -1.878118,
+                    57.2421638
                 ],
                 [
-                    -7.1303283,
-                    57.0515969
+                    -1.8771469,
+                    57.2978175
                 ],
                 [
-                    -7.1330749,
-                    57.511801
+                    -1.9868771,
+                    57.2983422
                 ],
                 [
-                    -6.96828,
-                    57.5147514
+                    -1.9082209,
+                    57.3560063
                 ],
                 [
-                    -6.9765198,
-                    57.6854668
+                    -1.8752048,
+                    57.3560063
                 ],
                 [
-                    -6.8062317,
-                    57.6913392
+                    -1.8761758,
+                    57.3769527
                 ],
                 [
-                    -6.8089782,
-                    57.8041985
+                    -1.8120857,
+                    57.4120111
                 ],
                 [
-                    -6.6496765,
-                    57.8071252
+                    -1.7120661,
+                    57.4120111
                 ],
                 [
-                    -6.6441833,
-                    57.8612267
+                    -1.7034646,
+                    57.6441388
                 ],
                 [
-                    -6.3200866,
-                    57.8626878
+                    -1.8666032,
+                    57.6451781
                 ],
                 [
-                    -6.3200866,
-                    58.1551617
+                    -1.8646611,
+                    57.7033351
                 ],
                 [
-                    -6.1607849,
-                    58.1522633
+                    -3.1204292,
+                    57.7064705
                 ],
                 [
-                    -6.1552917,
-                    58.20874
+                    -3.1218025,
+                    57.7504652
                 ],
                 [
-                    -5.9850036,
-                    58.2101869
+                    -3.4445259,
+                    57.7526635
                 ],
                 [
-                    -5.9904968,
-                    58.2680163
+                    -3.4472724,
+                    57.7138067
                 ],
                 [
-                    -6.1497986,
-                    58.2665717
+                    -3.5145637,
+                    57.7094052
                 ],
                 [
-                    -6.1415588,
-                    58.5557514
+                    -3.5118171,
+                    57.6939956
                 ],
                 [
-                    -6.3173401,
-                    58.5557514
+                    -3.7645027,
+                    57.6917938
                 ],
                 [
-                    -6.3091003,
-                    58.4983923
+                    -3.7672492,
+                    57.6344975
                 ],
                 [
-                    -6.4876282,
-                    58.4955218
+                    -3.842378,
+                    57.6288312
                 ],
                 [
-                    -6.4876282,
-                    58.4423768
+                    -3.8438346,
+                    57.5965825
                 ],
                 [
-                    -6.6606628,
-                    58.4395018
+                    -3.9414265,
+                    57.5916386
                 ],
                 [
-                    -6.6469299,
-                    58.3819525
+                    -3.9404554,
+                    57.6537782
                 ],
                 [
-                    -6.8117248,
-                    58.3805125
+                    -3.8894746,
+                    57.6529989
                 ],
                 [
-                    -6.8117248,
-                    58.3286357
+                    -3.8826772,
+                    57.7676408
                 ],
                 [
-                    -6.9792663,
-                    58.3286357
+                    -3.7224517,
+                    57.766087
                 ],
                 [
-                    -6.9710266,
-                    58.2694608
+                    -3.7195385,
+                    57.8819201
                 ],
                 [
-                    -7.1413147,
-                    58.2680163
+                    -3.9146888,
+                    57.8853352
                 ],
                 [
-                    -7.1403816,
-                    58.0358742
+                    -3.916062,
+                    57.9546243
                 ],
                 [
-                    -7.3020636,
-                    58.0351031
+                    -3.745774,
+                    57.9538956
                 ],
                 [
-                    -7.3030347,
-                    57.9774797
+                    -3.7471473,
+                    58.0688409
                 ],
                 [
-                    -7.1379539,
-                    57.9777372
+                    -3.5837256,
+                    58.0695672
                 ],
                 [
-                    -7.1413526,
-                    57.9202792
+                    -3.5837256,
+                    58.1116689
                 ],
                 [
-                    -7.1398961,
-                    57.8640206
+                    -3.4560096,
+                    58.1138452
                 ],
                 [
-                    -7.3020636,
-                    57.862471
+                    -3.4544646,
+                    58.228503
                 ],
                 [
-                    -7.298484,
-                    57.7442293
+                    -3.4379851,
+                    58.2283222
                 ],
                 [
-                    -7.4509193,
-                    57.7456951
+                    -3.4243233,
+                    58.2427725
                 ],
                 [
-                    -7.4550392,
-                    57.6899522
+                    -3.412307,
+                    58.2438567
                 ],
                 [
-                    -7.6186131,
-                    57.6906048
+                    -3.3735115,
+                    58.2695057
                 ],
                 [
-                    -7.6198341,
-                    57.7456951
+                    -3.3063919,
+                    58.2862038
                 ],
                 [
-                    -7.7901222,
-                    57.7442293
+                    -3.1229154,
+                    58.2859395
                 ],
                 [
-                    -7.7873756,
-                    57.6855477
+                    -3.123602,
+                    58.3443661
                 ],
                 [
-                    -7.6222332,
-                    57.6853817
+                    -2.9574338,
+                    58.3447264
                 ],
                 [
-                    -7.6173779,
-                    57.5712602
+                    -2.951254,
+                    58.6422011
                 ],
                 [
-                    -7.788285,
-                    57.5709998
+                    -2.8812162,
+                    58.6429157
                 ],
                 [
-                    -7.7892561,
-                    57.512109
+                    -2.8851004,
+                    58.8112825
                 ],
                 [
-                    -7.7038025,
-                    57.5115874
+                    -2.7180775,
+                    58.8142997
                 ],
                 [
-                    -7.6999183,
-                    57.4546902
+                    -2.7161354,
+                    58.8715749
                 ],
                 [
-                    -7.5367796,
-                    57.4552126
+                    -2.556881,
+                    58.8775984
                 ],
                 [
-                    -7.5348375,
-                    57.5126306
+                    -2.5544533,
+                    58.9923453
                 ],
                 [
-                    -7.4581235,
-                    57.5131521
+                    -2.5567617,
+                    59.0483775
                 ],
                 [
-                    -7.4552103,
-                    57.2824165
+                    -2.391893,
+                    59.0485996
                 ],
                 [
-                    -7.6115515,
-                    57.2845158
+                    -2.3918002,
+                    59.1106996
                 ],
                 [
-                    -7.6144647,
-                    57.2272651
+                    -2.4733695,
+                    59.1106996
                 ],
                 [
-                    -7.451326,
-                    57.2256881
+                    -2.5591563,
+                    59.1783028
                 ],
                 [
-                    -7.451326,
-                    57.1103873
+                    -2.5630406,
+                    59.2210646
                 ],
                 [
-                    -7.6164068,
-                    57.1088053
+                    -2.3921334,
+                    59.224046
                 ],
                 [
-                    -7.603783,
-                    56.8792358
-                ]
-            ],
-            [
-                [
-                    -1.7106618,
-                    59.5626284
+                    -2.3911409,
+                    59.2740075
                 ],
                 [
-                    -1.5417509,
-                    59.562215
+                    -2.3639512,
+                    59.2745036
                 ],
                 [
-                    -1.5423082,
-                    59.5037224
+                    -2.3658933,
+                    59.285417
                 ],
                 [
-                    -1.7112191,
-                    59.5041365
-                ]
-            ]
-        ],
-        "terms_url": "http://geo.nls.uk/maps/",
-        "terms_text": "National Library of Scotland Historic Maps"
-    },
-    {
-        "name": "New & Misaligned TIGER Roads",
-        "type": "tms",
-        "description": "At zoom level 16+, public domain map data from the US Census. At lower zooms, only changes since 2006 minus changes already incorporated into OpenStreetMap",
-        "template": "http://{switch:a,b,c}.tiles.mapbox.com/v4/enf.e0b8291e/{zoom}/{x}/{y}.png?access_token=pk.eyJ1Ijoib3BlbnN0cmVldG1hcCIsImEiOiJhNVlHd29ZIn0.ti6wATGDWOmCnCYen-Ip7Q",
-        "scaleExtent": [
-            0,
-            22
-        ],
-        "polygon": [
-            [
-                [
-                    -124.7617886,
-                    48.4130148
+                    -2.3911409,
+                    59.284921
                 ],
                 [
-                    -124.6059492,
-                    45.90245
+                    -2.3911409,
+                    59.3379505
                 ],
                 [
-                    -124.9934269,
-                    40.0557614
+                    -2.2221759,
+                    59.3381981
                 ],
                 [
-                    -122.5369737,
-                    36.8566086
+                    -2.2233897,
+                    59.395965
                 ],
                 [
-                    -119.9775867,
-                    33.0064099
+                    -2.3758467,
+                    59.396583
                 ],
                 [
-                    -117.675935,
-                    32.4630223
+                    -2.3899271,
+                    59.4026383
                 ],
                 [
-                    -114.8612307,
-                    32.4799891
+                    -2.4008516,
+                    59.3962122
                 ],
                 [
-                    -111.0089311,
-                    31.336015
+                    -2.5637882,
+                    59.3952604
                 ],
                 [
-                    -108.1992687,
-                    31.3260016
+                    -2.5637882,
+                    59.3385811
                 ],
                 [
-                    -108.1871123,
-                    31.7755116
+                    -2.7320164,
+                    59.3375306
                 ],
                 [
-                    -106.5307225,
-                    31.7820947
+                    -2.7333896,
+                    59.3952604
                 ],
                 [
-                    -106.4842052,
-                    31.7464455
+                    -3.0726511,
+                    59.3931174
                 ],
                 [
-                    -106.429317,
-                    31.7520583
+                    -3.0703404,
+                    59.3354759
                 ],
                 [
-                    -106.2868855,
-                    31.5613291
+                    -3.0753186,
+                    59.3355634
                 ],
                 [
-                    -106.205248,
-                    31.446704
+                    -3.0749753,
+                    59.3292593
                 ],
                 [
-                    -105.0205259,
-                    30.5360988
+                    -3.0698254,
+                    59.3289091
                 ],
                 [
-                    -104.5881916,
-                    29.6997856
+                    -3.069801,
+                    59.2196159
                 ],
                 [
-                    -103.2518856,
-                    28.8908685
+                    -3.2363384,
+                    59.2166341
                 ],
                 [
-                    -102.7173632,
-                    29.3920567
+                    -3.2336751,
+                    59.1606496
                 ],
                 [
-                    -102.1513983,
-                    29.7475702
+                    -3.4032766,
+                    59.1588895
                 ],
                 [
-                    -101.2552871,
-                    29.4810523
+                    -3.394086,
+                    58.9279316
                 ],
                 [
-                    -100.0062436,
-                    28.0082173
+                    -3.5664497,
+                    58.9259268
                 ],
                 [
-                    -99.2351068,
-                    26.4475962
+                    -3.5611089,
+                    58.8679885
                 ],
                 [
-                    -98.0109067,
-                    25.9928035
+                    -3.392508,
+                    58.8699339
                 ],
                 [
-                    -97.435024,
-                    25.8266009
+                    -3.3894734,
+                    58.8698711
                 ],
                 [
-                    -96.9555259,
-                    25.9821589
+                    -3.3891093,
+                    58.8684905
                 ],
                 [
-                    -96.8061741,
-                    27.7978168
+                    -3.3912942,
+                    58.868616
                 ],
                 [
-                    -95.5563349,
-                    28.5876066
+                    -3.3884161,
+                    58.7543084
                 ],
                 [
-                    -93.7405308,
-                    29.4742093
+                    -3.2238208,
+                    58.7555677
                 ],
                 [
-                    -90.9028456,
-                    28.8564513
+                    -3.2189655,
+                    58.691289
                 ],
                 [
-                    -88.0156706,
-                    28.9944338
+                    -3.4634113,
+                    58.6905753
                 ],
                 [
-                    -88.0162494,
-                    30.0038862
+                    -3.4551716,
+                    58.6341518
                 ],
                 [
-                    -86.0277506,
-                    30.0047454
+                    -3.787508,
+                    58.6341518
                 ],
                 [
-                    -84.0187909,
-                    28.9961781
+                    -3.7861347,
+                    58.5769211
                 ],
                 [
-                    -81.9971976,
-                    25.9826768
+                    -3.9028645,
+                    58.5733411
                 ],
                 [
-                    -81.9966618,
-                    25.0134917
+                    -3.9028645,
+                    58.6477304
                 ],
                 [
-                    -84.0165592,
-                    25.0125783
+                    -4.0690327,
+                    58.6491594
                 ],
                 [
-                    -84.0160068,
-                    24.0052745
+                    -4.0690327,
+                    58.5912376
                 ],
                 [
-                    -80.0199985,
-                    24.007096
+                    -4.7364521,
+                    58.5933845
                 ],
                 [
-                    -79.8901116,
-                    26.8550713
+                    -4.7364521,
+                    58.6505884
                 ],
                 [
-                    -80.0245309,
-                    32.0161282
+                    -5.0715351,
+                    58.6520173
                 ],
                 [
-                    -75.4147385,
-                    35.0531894
+                    -5.0654779,
+                    58.5325854
                 ],
                 [
-                    -74.0211163,
-                    39.5727927
+                    -5.2332047,
+                    58.5316087
                 ],
                 [
-                    -72.002019,
-                    40.9912464
+                    -5.2283494,
+                    58.4719947
                 ],
                 [
-                    -69.8797398,
-                    40.9920457
+                    -5.2424298,
+                    58.4719947
                 ],
                 [
-                    -69.8489304,
-                    43.2619916
+                    -5.2366034,
+                    58.4089731
                 ],
                 [
-                    -66.9452845,
-                    44.7104937
+                    -5.2283494,
+                    58.4094818
                 ],
                 [
-                    -67.7596632,
-                    47.0990024
+                    -5.2210664,
+                    58.3005859
                 ],
                 [
-                    -69.2505131,
-                    47.5122328
+                    -5.5657939,
+                    58.2959933
                 ],
                 [
-                    -70.4614886,
-                    46.2176574
+                    -5.5580254,
+                    58.2372573
                 ],
                 [
-                    -71.412273,
-                    45.254878
+                    -5.4146722,
+                    58.2401326
                 ],
                 [
-                    -72.0222508,
-                    45.0059846
+                    -5.4141866,
+                    58.2267768
                 ],
                 [
-                    -75.0798841,
-                    44.9802854
+                    -5.3885749,
+                    58.2272242
                 ],
                 [
-                    -76.9023061,
-                    43.8024568
+                    -5.382714,
+                    58.1198615
                 ],
                 [
-                    -78.7623935,
-                    43.6249578
+                    -5.51043,
+                    58.1191362
                 ],
                 [
-                    -79.15798,
-                    43.4462589
+                    -5.5114011,
+                    58.006214
                 ],
                 [
-                    -79.0060087,
-                    42.8005317
+                    -5.6745397,
+                    58.0041559
                 ],
                 [
-                    -82.662475,
-                    41.6889458
+                    -5.6716266,
+                    57.9449366
                 ],
                 [
-                    -82.1761642,
-                    43.588535
+                    -5.6716266,
+                    57.8887166
                 ],
                 [
-                    -83.2813977,
-                    46.138853
+                    -5.8347652,
+                    57.8856193
                 ],
                 [
-                    -87.5064535,
-                    48.0142702
+                    -5.8277052,
+                    57.5988958
                 ],
                 [
-                    -88.3492194,
-                    48.2963271
+                    -6.0384259,
+                    57.5986357
                 ],
                 [
-                    -89.4353148,
-                    47.9837822
+                    -6.0389115,
+                    57.6459559
                 ],
                 [
-                    -93.9981078,
-                    49.0067142
+                    -6.1981658,
+                    57.6456961
                 ],
                 [
-                    -95.1105379,
-                    49.412004
+                    -6.2076123,
+                    57.7600132
                 ],
                 [
-                    -96.0131199,
-                    49.0060547
+                    -6.537067,
+                    57.7544033
                 ],
                 [
-                    -123.3228926,
-                    49.0042878
+                    -6.5312406,
+                    57.6402392
                 ],
                 [
-                    -123.2275233,
-                    48.1849927
-                ]
-            ],
-            [
-                [
-                    -160.5787616,
-                    22.5062947
+                    -6.7002056,
+                    57.6360809
                 ],
                 [
-                    -160.5782192,
-                    21.4984647
+                    -6.6807844,
+                    57.5236293
                 ],
                 [
-                    -158.7470604,
-                    21.2439843
+                    -6.8516915,
+                    57.5152857
                 ],
                 [
-                    -157.5083185,
-                    20.995803
+                    -6.8361545,
+                    57.3385811
                 ],
                 [
-                    -155.9961942,
-                    18.7790194
+                    -6.6730158,
+                    57.3438213
                 ],
                 [
-                    -154.6217803,
-                    18.7586966
+                    -6.674958,
+                    57.2850883
                 ],
                 [
-                    -154.6890176,
-                    19.8805722
+                    -6.5098772,
+                    57.2850883
                 ],
                 [
-                    -156.2927622,
-                    21.2225888
+                    -6.4982244,
+                    57.1757637
                 ],
                 [
-                    -157.5047384,
-                    21.9984962
+                    -6.3506228,
+                    57.1820797
                 ],
                 [
-                    -159.0093692,
-                    22.5070181
-                ]
-            ],
-            [
-                [
-                    -167.1571546,
-                    68.721974
+                    -6.3312015,
+                    57.1251969
                 ],
                 [
-                    -164.8553982,
-                    67.0255078
+                    -6.1797156,
+                    57.1230884
                 ],
                 [
-                    -168.002195,
-                    66.0017503
+                    -6.1719471,
+                    57.0682265
                 ],
                 [
-                    -169.0087448,
-                    66.001546
+                    -6.4593819,
+                    57.059779
                 ],
                 [
-                    -169.0075381,
-                    64.9987675
+                    -6.4564687,
+                    57.1093806
                 ],
                 [
-                    -172.5143281,
-                    63.8767267
+                    -6.6671895,
+                    57.1062165
                 ],
                 [
-                    -173.8197023,
-                    59.74014
+                    -6.6730158,
+                    57.002708
                 ],
                 [
-                    -162.5018149,
-                    58.0005815
+                    -6.5021087,
+                    57.0048233
                 ],
                 [
-                    -160.0159024,
-                    58.0012389
+                    -6.4836097,
+                    56.8917522
                 ],
                 [
-                    -160.0149725,
-                    57.000035
+                    -6.3266104,
+                    56.8894062
                 ],
                 [
-                    -160.5054788,
-                    56.9999017
+                    -6.3156645,
+                    56.7799312
                 ],
                 [
-                    -165.8092575,
-                    54.824847
+                    -6.2146739,
+                    56.775675
                 ],
                 [
-                    -178.000097,
-                    52.2446469
+                    -6.2146739,
+                    56.7234965
                 ],
                 [
-                    -177.9992996,
-                    51.2554252
+                    -6.6866107,
+                    56.7224309
                 ],
                 [
-                    -171.4689067,
-                    51.8215329
+                    -6.6769001,
+                    56.6114413
                 ],
                 [
-                    -162.40251,
-                    53.956664
+                    -6.8419809,
+                    56.607166
                 ],
                 [
-                    -159.0075717,
-                    55.002502
+                    -6.8400387,
+                    56.5483307
                 ],
                 [
-                    -158.0190709,
-                    55.0027849
+                    -7.1546633,
+                    56.5461895
                 ],
                 [
-                    -151.9963213,
-                    55.9991902
+                    -7.1488369,
+                    56.4872592
                 ],
                 [
-                    -151.500341,
-                    57.9987853
+                    -6.9915246,
+                    56.490476
                 ],
                 [
-                    -151.5012894,
-                    58.9919816
+                    -6.9876404,
+                    56.4325329
                 ],
                 [
-                    -138.5159989,
-                    58.9953194
+                    -6.6827265,
+                    56.4314591
                 ],
                 [
-                    -138.5150471,
-                    57.9986434
+                    -6.6769001,
+                    56.5472601
                 ],
                 [
-                    -133.9948193,
-                    54.0031685
+                    -6.5292985,
+                    56.5504717
                 ],
                 [
-                    -130.0044418,
-                    54.0043387
+                    -6.5234721,
+                    56.4379018
                 ],
                 [
-                    -130.0070826,
-                    57.0000507
+                    -6.3661598,
+                    56.4368281
                 ],
                 [
-                    -131.975877,
-                    56.9995156
+                    -6.3642177,
+                    56.3766524
                 ],
                 [
-                    -135.1229873,
-                    59.756601
+                    -6.5273563,
+                    56.3712749
                 ],
                 [
-                    -138.0071813,
-                    59.991805
+                    -6.5171745,
+                    56.2428427
                 ],
                 [
-                    -139.1715881,
-                    60.4127229
+                    -6.4869621,
+                    56.247421
                 ],
                 [
-                    -140.9874011,
-                    61.0118551
+                    -6.4869621,
+                    56.1893882
                 ],
                 [
-                    -140.9683975,
-                    69.9535069
+                    -6.3001945,
+                    56.1985572
                 ],
                 [
-                    -156.176891,
-                    71.5633329
+                    -6.3029411,
+                    56.2581017
                 ],
                 [
-                    -160.413634,
-                    70.7397728
+                    -5.9019401,
+                    56.256576
                 ],
                 [
-                    -163.0218273,
-                    69.9707435
+                    -5.8964469,
+                    56.0960466
                 ],
                 [
-                    -164.9717003,
-                    68.994689
-                ]
-            ]
-        ],
-        "overlay": true
-    },
-    {
-        "name": "OS 1:25k historic (OSM)",
-        "type": "tms",
-        "template": "http://ooc.openstreetmap.org/os1/{zoom}/{x}/{y}.jpg",
-        "scaleExtent": [
-            6,
-            17
-        ],
-        "polygon": [
-            [
-                [
-                    -9,
-                    49.8
+                    -6.0282829,
+                    56.0883855
                 ],
                 [
-                    -9,
-                    61.1
+                    -6.0392692,
+                    56.1557502
                 ],
                 [
-                    1.9,
-                    61.1
+                    -6.3853385,
+                    56.1542205
                 ],
                 [
-                    1.9,
-                    49.8
+                    -6.3606193,
+                    55.96099
                 ],
                 [
-                    -9,
-                    49.8
-                ]
-            ]
-        ]
-    },
-    {
-        "name": "OS New Popular Edition historic",
-        "type": "tms",
-        "template": "http://ooc.openstreetmap.org/npe/{zoom}/{x}/{y}.png",
-        "polygon": [
-            [
-                [
-                    -5.8,
-                    49.8
+                    -6.2123039,
+                    55.9640647
                 ],
                 [
-                    -5.8,
-                    55.8
+                    -6.2047508,
+                    55.9202269
                 ],
                 [
-                    1.9,
-                    55.8
+                    -6.5185478,
+                    55.9129158
                 ],
                 [
-                    1.9,
-                    49.8
+                    -6.5061881,
+                    55.7501763
                 ],
                 [
-                    -5.8,
-                    49.8
-                ]
-            ]
-        ]
-    },
-    {
-        "name": "OS OpenData Locator",
-        "type": "tms",
-        "template": "http://tiles.itoworld.com/os_locator/{zoom}/{x}/{y}.png",
-        "polygon": [
-            [
-                [
-                    -9,
-                    49.8
+                    -6.6764762,
+                    55.7409005
                 ],
                 [
-                    -9,
-                    61.1
+                    -6.6599967,
+                    55.6263176
                 ],
                 [
-                    1.9,
-                    61.1
+                    -6.3551261,
+                    55.6232161
                 ],
                 [
-                    1.9,
-                    49.8
+                    -6.3578727,
+                    55.5689002
                 ],
                 [
-                    -9,
-                    49.8
-                ]
-            ]
-        ],
-        "overlay": true
-    },
-    {
-        "name": "OS OpenData StreetView",
-        "type": "tms",
-        "template": "http://os.openstreetmap.org/sv/{zoom}/{x}/{y}.png",
-        "scaleExtent": [
-            1,
-            18
-        ],
-        "polygon": [
-            [
-                [
-                    -5.8292886,
-                    50.0229734
+                    -6.0392692,
+                    55.5720059
                 ],
                 [
-                    -5.8292886,
-                    50.254819
+                    -6.0310294,
+                    55.6247669
                 ],
                 [
-                    -5.373356,
-                    50.254819
+                    -5.7398917,
+                    55.6309694
                 ],
                 [
-                    -5.373356,
-                    50.3530588
+                    -5.7371452,
+                    55.4569279
                 ],
                 [
-                    -5.1756021,
-                    50.3530588
+                    -5.8964469,
+                    55.4600426
                 ],
                 [
-                    -5.1756021,
-                    50.5925406
+                    -5.8964469,
+                    55.2789864
                 ],
                 [
-                    -4.9970743,
-                    50.5925406
+                    -5.4350211,
+                    55.2821151
                 ],
                 [
-                    -4.9970743,
-                    50.6935617
+                    -5.4405143,
+                    55.4506979
                 ],
                 [
-                    -4.7965738,
-                    50.6935617
+                    -5.2867057,
+                    55.4569279
                 ],
                 [
-                    -4.7965738,
-                    50.7822112
+                    -5.3086784,
+                    55.4070602
                 ],
                 [
-                    -4.6949503,
-                    50.7822112
+                    -4.9735954,
+                    55.4008223
                 ],
                 [
-                    -4.6949503,
-                    50.9607371
+                    -4.9845817,
+                    55.2038242
                 ],
                 [
-                    -4.6043131,
-                    50.9607371
+                    -5.1493766,
+                    55.2038242
                 ],
                 [
-                    -4.6043131,
-                    51.0692066
+                    -5.1411369,
+                    55.037337
                 ],
                 [
-                    -4.3792215,
-                    51.0692066
-                ],
+                    -5.2152946,
+                    55.0341891
+                ]
+            ],
+            [
                 [
-                    -4.3792215,
-                    51.2521782
+                    -2.1646559,
+                    60.1622059
                 ],
                 [
-                    -3.9039346,
-                    51.2521782
+                    -1.9930299,
+                    60.1609801
                 ],
                 [
-                    -3.9039346,
-                    51.2916998
+                    -1.9946862,
+                    60.1035151
                 ],
                 [
-                    -3.7171671,
-                    51.2916998
-                ],
+                    -2.1663122,
+                    60.104743
+                ]
+            ],
+            [
                 [
-                    -3.7171671,
-                    51.2453014
+                    -1.5360658,
+                    59.8570831
                 ],
                 [
-                    -3.1486246,
-                    51.2453014
+                    -1.3653566,
+                    59.8559841
                 ],
                 [
-                    -3.1486246,
-                    51.362067
+                    -1.366847,
+                    59.7975565
                 ],
                 [
-                    -3.7446329,
-                    51.362067
+                    -1.190628,
+                    59.7964199
                 ],
                 [
-                    -3.7446329,
-                    51.4340386
+                    -1.1862046,
+                    59.9695391
                 ],
                 [
-                    -3.8297769,
-                    51.4340386
+                    -1.0078652,
+                    59.9683948
                 ],
                 [
-                    -3.8297769,
-                    51.5298246
+                    -1.0041233,
+                    60.114145
                 ],
                 [
-                    -4.0852091,
-                    51.5298246
+                    -0.8360832,
+                    60.1130715
                 ],
                 [
-                    -4.0852091,
-                    51.4939284
+                    -0.834574,
+                    60.1716772
                 ],
                 [
-                    -4.3792215,
-                    51.4939284
+                    -1.0074262,
+                    60.1727795
                 ],
                 [
-                    -4.3792215,
-                    51.5427168
+                    -1.0052165,
+                    60.2583924
                 ],
                 [
-                    -5.1444195,
-                    51.5427168
+                    -0.8299659,
+                    60.2572778
                 ],
                 [
-                    -5.1444195,
-                    51.6296003
+                    -0.826979,
+                    60.3726551
                 ],
                 [
-                    -5.7387103,
-                    51.6296003
+                    -0.6507514,
+                    60.3715381
                 ],
                 [
-                    -5.7387103,
-                    51.774037
+                    -0.6477198,
+                    60.4882292
                 ],
                 [
-                    -5.5095393,
-                    51.774037
+                    -0.9984896,
+                    60.4904445
                 ],
                 [
-                    -5.5095393,
-                    51.9802596
+                    -0.9970279,
+                    60.546555
                 ],
                 [
-                    -5.198799,
-                    51.9802596
+                    -0.6425288,
+                    60.5443201
                 ],
                 [
-                    -5.198799,
-                    52.0973358
+                    -0.6394896,
+                    60.6606792
                 ],
                 [
-                    -4.8880588,
-                    52.0973358
+                    -0.8148133,
+                    60.6617806
                 ],
                 [
-                    -4.8880588,
-                    52.1831557
+                    -0.8132987,
+                    60.7196112
                 ],
                 [
-                    -4.4957492,
-                    52.1831557
+                    -0.6383298,
+                    60.7185141
                 ],
                 [
-                    -4.4957492,
-                    52.2925739
+                    -0.635467,
+                    60.8275393
                 ],
                 [
-                    -4.3015365,
-                    52.2925739
+                    -0.797568,
+                    60.8285523
                 ],
                 [
-                    -4.3015365,
-                    52.3685318
+                    -0.9941426,
+                    60.8297807
                 ],
                 [
-                    -4.1811246,
-                    52.3685318
+                    -0.9954966,
+                    60.7782667
                 ],
                 [
-                    -4.1811246,
-                    52.7933685
+                    -1.1670282,
+                    60.7793403
                 ],
                 [
-                    -4.4413696,
-                    52.7933685
+                    -1.1700357,
+                    60.6646181
                 ],
                 [
-                    -4.4413696,
-                    52.7369614
+                    -1.5222599,
+                    60.6668304
                 ],
                 [
-                    -4.8569847,
-                    52.7369614
+                    -1.5237866,
+                    60.6084426
                 ],
                 [
-                    -4.8569847,
-                    52.9317255
+                    -1.6975673,
+                    60.609536
                 ],
                 [
-                    -4.7288044,
-                    52.9317255
+                    -1.7021271,
+                    60.4345249
                 ],
                 [
-                    -4.7288044,
-                    53.5038599
+                    -1.5260578,
+                    60.4334111
                 ],
                 [
-                    -4.1578191,
-                    53.5038599
+                    -1.5275203,
+                    60.3770719
                 ],
                 [
-                    -4.1578191,
-                    53.4113498
+                    -1.8751127,
+                    60.3792746
                 ],
                 [
-                    -3.3110518,
-                    53.4113498
+                    -1.8781372,
+                    60.2624647
                 ],
                 [
-                    -3.3110518,
-                    53.5038599
+                    -1.7019645,
+                    60.2613443
                 ],
                 [
-                    -3.2333667,
-                    53.5038599
+                    -1.7049134,
+                    60.1470532
                 ],
                 [
-                    -3.2333667,
-                    54.0159169
-                ],
+                    -1.528659,
+                    60.1459283
+                ]
+            ],
+            [
                 [
-                    -3.3926211,
-                    54.0159169
+                    -0.9847667,
+                    60.8943762
                 ],
                 [
-                    -3.3926211,
-                    54.1980953
+                    -0.9860347,
+                    60.8361105
                 ],
                 [
-                    -3.559644,
-                    54.1980953
+                    -0.8078362,
+                    60.8351904
                 ],
                 [
-                    -3.559644,
-                    54.433732
-                ],
+                    -0.8065683,
+                    60.8934578
+                ]
+            ],
+            [
                 [
-                    -3.7188984,
-                    54.433732
+                    -7.7696901,
+                    56.8788231
                 ],
                 [
-                    -3.7188984,
-                    54.721897
+                    -7.7614504,
+                    56.7608274
                 ],
                 [
-                    -4.3015365,
-                    54.721897
+                    -7.6009049,
+                    56.7641903
                 ],
                 [
-                    -4.3015365,
-                    54.6140739
+                    -7.5972473,
+                    56.819332
                 ],
                 [
-                    -5.0473132,
-                    54.6140739
+                    -7.4479894,
+                    56.8203948
                 ],
                 [
-                    -5.0473132,
-                    54.7532915
+                    -7.4489319,
+                    56.8794098
                 ],
                 [
-                    -5.2298731,
-                    54.7532915
+                    -7.2841369,
+                    56.8794098
                 ],
                 [
-                    -5.2298731,
-                    55.2190799
+                    -7.2813904,
+                    57.0471152
                 ],
                 [
-                    -5.6532567,
-                    55.2190799
+                    -7.1303283,
+                    57.0515969
                 ],
                 [
-                    -5.6532567,
-                    55.250088
+                    -7.1330749,
+                    57.511801
                 ],
                 [
-                    -5.8979647,
-                    55.250088
+                    -6.96828,
+                    57.5147514
                 ],
                 [
-                    -5.8979647,
-                    55.4822462
+                    -6.9765198,
+                    57.6854668
                 ],
                 [
-                    -6.5933212,
-                    55.4822462
+                    -6.8062317,
+                    57.6913392
                 ],
                 [
-                    -6.5933212,
-                    56.3013441
+                    -6.8089782,
+                    57.8041985
                 ],
                 [
-                    -7.1727691,
-                    56.3013441
+                    -6.6496765,
+                    57.8071252
                 ],
                 [
-                    -7.1727691,
-                    56.5601822
+                    -6.6441833,
+                    57.8612267
                 ],
                 [
-                    -6.8171722,
-                    56.5601822
+                    -6.3200866,
+                    57.8626878
                 ],
                 [
-                    -6.8171722,
-                    56.6991713
+                    -6.3200866,
+                    58.1551617
                 ],
                 [
-                    -6.5315276,
-                    56.6991713
+                    -6.1607849,
+                    58.1522633
                 ],
                 [
-                    -6.5315276,
-                    56.9066964
+                    -6.1552917,
+                    58.20874
                 ],
                 [
-                    -6.811679,
-                    56.9066964
+                    -5.9850036,
+                    58.2101869
                 ],
                 [
-                    -6.811679,
-                    57.3716613
+                    -5.9904968,
+                    58.2680163
                 ],
                 [
-                    -6.8721038,
-                    57.3716613
+                    -6.1497986,
+                    58.2665717
                 ],
                 [
-                    -6.8721038,
-                    57.5518893
+                    -6.1415588,
+                    58.5557514
                 ],
                 [
-                    -7.0973235,
-                    57.5518893
+                    -6.3173401,
+                    58.5557514
                 ],
                 [
-                    -7.0973235,
-                    57.2411085
+                    -6.3091003,
+                    58.4983923
                 ],
                 [
-                    -7.1742278,
-                    57.2411085
+                    -6.4876282,
+                    58.4955218
                 ],
                 [
-                    -7.1742278,
-                    56.9066964
+                    -6.4876282,
+                    58.4423768
                 ],
                 [
-                    -7.3719817,
-                    56.9066964
+                    -6.6606628,
+                    58.4395018
                 ],
                 [
-                    -7.3719817,
-                    56.8075885
+                    -6.6469299,
+                    58.3819525
                 ],
                 [
-                    -7.5202972,
-                    56.8075885
+                    -6.8117248,
+                    58.3805125
                 ],
                 [
-                    -7.5202972,
-                    56.7142479
+                    -6.8117248,
+                    58.3286357
                 ],
                 [
-                    -7.8306806,
-                    56.7142479
+                    -6.9792663,
+                    58.3286357
                 ],
                 [
-                    -7.8306806,
-                    56.8994605
+                    -6.9710266,
+                    58.2694608
                 ],
                 [
-                    -7.6494061,
-                    56.8994605
+                    -7.1413147,
+                    58.2680163
                 ],
                 [
-                    -7.6494061,
-                    57.4739617
+                    -7.1403816,
+                    58.0358742
                 ],
                 [
-                    -7.8306806,
-                    57.4739617
+                    -7.3020636,
+                    58.0351031
                 ],
                 [
-                    -7.8306806,
-                    57.7915584
+                    -7.3030347,
+                    57.9774797
                 ],
                 [
-                    -7.4736249,
-                    57.7915584
+                    -7.1379539,
+                    57.9777372
                 ],
                 [
-                    -7.4736249,
-                    58.086063
+                    -7.1413526,
+                    57.9202792
                 ],
                 [
-                    -7.1879804,
-                    58.086063
+                    -7.1398961,
+                    57.8640206
                 ],
                 [
-                    -7.1879804,
-                    58.367197
+                    -7.3020636,
+                    57.862471
                 ],
                 [
-                    -6.8034589,
-                    58.367197
+                    -7.298484,
+                    57.7442293
                 ],
                 [
-                    -6.8034589,
-                    58.4155786
+                    -7.4509193,
+                    57.7456951
                 ],
                 [
-                    -6.638664,
-                    58.4155786
+                    -7.4550392,
+                    57.6899522
                 ],
                 [
-                    -6.638664,
-                    58.4673277
+                    -7.6186131,
+                    57.6906048
                 ],
                 [
-                    -6.5178143,
-                    58.4673277
+                    -7.6198341,
+                    57.7456951
                 ],
                 [
-                    -6.5178143,
-                    58.5625632
+                    -7.7901222,
+                    57.7442293
                 ],
                 [
-                    -6.0536224,
-                    58.5625632
+                    -7.7873756,
+                    57.6855477
                 ],
                 [
-                    -6.0536224,
-                    58.1568843
+                    -7.6222332,
+                    57.6853817
                 ],
                 [
-                    -6.1470062,
-                    58.1568843
+                    -7.6173779,
+                    57.5712602
                 ],
                 [
-                    -6.1470062,
-                    58.1105865
+                    -7.788285,
+                    57.5709998
                 ],
                 [
-                    -6.2799798,
-                    58.1105865
+                    -7.7892561,
+                    57.512109
                 ],
                 [
-                    -6.2799798,
-                    57.7122664
+                    -7.7038025,
+                    57.5115874
                 ],
                 [
-                    -6.1591302,
-                    57.7122664
+                    -7.6999183,
+                    57.4546902
                 ],
                 [
-                    -6.1591302,
-                    57.6667563
+                    -7.5367796,
+                    57.4552126
                 ],
                 [
-                    -5.9339104,
-                    57.6667563
+                    -7.5348375,
+                    57.5126306
                 ],
                 [
-                    -5.9339104,
-                    57.8892524
+                    -7.4581235,
+                    57.5131521
                 ],
                 [
-                    -5.80643,
-                    57.8892524
+                    -7.4552103,
+                    57.2824165
                 ],
                 [
-                    -5.80643,
-                    57.9621767
+                    -7.6115515,
+                    57.2845158
                 ],
                 [
-                    -5.6141692,
-                    57.9621767
+                    -7.6144647,
+                    57.2272651
                 ],
                 [
-                    -5.6141692,
-                    58.0911236
+                    -7.451326,
+                    57.2256881
                 ],
                 [
-                    -5.490819,
-                    58.0911236
+                    -7.451326,
+                    57.1103873
                 ],
                 [
-                    -5.490819,
-                    58.3733281
+                    -7.6164068,
+                    57.1088053
                 ],
                 [
-                    -5.3199118,
-                    58.3733281
-                ],
+                    -7.603783,
+                    56.8792358
+                ]
+            ],
+            [
                 [
-                    -5.3199118,
-                    58.75015
+                    -1.7106618,
+                    59.5626284
                 ],
                 [
-                    -3.5719977,
-                    58.75015
+                    -1.5417509,
+                    59.562215
                 ],
                 [
-                    -3.5719977,
-                    59.2091788
+                    -1.5423082,
+                    59.5037224
                 ],
                 [
-                    -3.1944501,
-                    59.2091788
-                ],
+                    -1.7112191,
+                    59.5041365
+                ]
+            ]
+        ],
+        "terms_url": "http://geo.nls.uk/maps/",
+        "terms_text": "National Library of Scotland Historic Maps"
+    },
+    {
+        "name": "NLS - OS 6-inch Scotland, 1842-82",
+        "type": "tms",
+        "template": "http://geo.nls.uk/maps/os/six_inch/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            0,
+            16
+        ],
+        "polygon": [
+            [
                 [
-                    -3.1944501,
-                    59.4759216
+                    -7.8,
+                    54.62
                 ],
                 [
-                    -2.243583,
-                    59.4759216
+                    -7.8,
+                    60.9
                 ],
                 [
-                    -2.243583,
-                    59.1388749
+                    -0.63,
+                    60.9
                 ],
                 [
-                    -2.4611012,
-                    59.1388749
+                    -0.63,
+                    54.62
                 ],
                 [
-                    -2.4611012,
-                    58.8185938
+                    -7.8,
+                    54.62
+                ]
+            ]
+        ],
+        "terms_url": "http://geo.nls.uk/maps/",
+        "terms_text": "National Library of Scotland Historic Maps"
+    },
+    {
+        "name": "New & Misaligned TIGER Roads",
+        "type": "tms",
+        "description": "At zoom level 16+, public domain map data from the US Census. At lower zooms, only changes since 2006 minus changes already incorporated into OpenStreetMap",
+        "template": "http://{switch:a,b,c}.tiles.mapbox.com/v4/enf.e0b8291e/{zoom}/{x}/{y}.png?access_token=pk.eyJ1Ijoib3BlbnN0cmVldG1hcCIsImEiOiJhNVlHd29ZIn0.ti6wATGDWOmCnCYen-Ip7Q",
+        "scaleExtent": [
+            0,
+            22
+        ],
+        "polygon": [
+            [
+                [
+                    -124.7617886,
+                    48.4130148
                 ],
                 [
-                    -2.7407675,
-                    58.8185938
+                    -124.6059492,
+                    45.90245
                 ],
                 [
-                    -2.7407675,
-                    58.5804743
+                    -124.9934269,
+                    40.0557614
                 ],
                 [
-                    -2.9116746,
-                    58.5804743
+                    -122.5369737,
+                    36.8566086
                 ],
                 [
-                    -2.9116746,
-                    58.1157523
+                    -119.9775867,
+                    33.0064099
                 ],
                 [
-                    -3.4865441,
-                    58.1157523
+                    -117.675935,
+                    32.4630223
                 ],
                 [
-                    -3.4865441,
-                    57.740386
+                    -114.8612307,
+                    32.4799891
                 ],
                 [
-                    -1.7153245,
-                    57.740386
+                    -111.0089311,
+                    31.336015
                 ],
                 [
-                    -1.7153245,
-                    57.2225558
+                    -108.1992687,
+                    31.3260016
                 ],
                 [
-                    -1.9794538,
-                    57.2225558
+                    -108.1871123,
+                    31.7755116
                 ],
                 [
-                    -1.9794538,
-                    56.8760742
+                    -106.5307225,
+                    31.7820947
                 ],
                 [
-                    -2.1658979,
-                    56.8760742
+                    -106.4842052,
+                    31.7464455
                 ],
                 [
-                    -2.1658979,
-                    56.6333186
+                    -106.429317,
+                    31.7520583
                 ],
                 [
-                    -2.3601106,
-                    56.6333186
+                    -106.2868855,
+                    31.5613291
                 ],
                 [
-                    -2.3601106,
-                    56.0477521
+                    -106.205248,
+                    31.446704
                 ],
                 [
-                    -1.9794538,
-                    56.0477521
+                    -105.0205259,
+                    30.5360988
                 ],
                 [
-                    -1.9794538,
-                    55.8650949
+                    -104.5881916,
+                    29.6997856
                 ],
                 [
-                    -1.4745008,
-                    55.8650949
+                    -103.2518856,
+                    28.8908685
                 ],
                 [
-                    -1.4745008,
-                    55.2499926
+                    -102.7173632,
+                    29.3920567
                 ],
                 [
-                    -1.3221997,
-                    55.2499926
+                    -102.1513983,
+                    29.7475702
                 ],
                 [
-                    -1.3221997,
-                    54.8221737
+                    -101.2552871,
+                    29.4810523
                 ],
                 [
-                    -1.0550014,
-                    54.8221737
+                    -100.0062436,
+                    28.0082173
                 ],
                 [
-                    -1.0550014,
-                    54.6746628
+                    -99.2351068,
+                    26.4475962
                 ],
                 [
-                    -0.6618765,
-                    54.6746628
+                    -98.0109067,
+                    25.9928035
                 ],
                 [
-                    -0.6618765,
-                    54.5527463
+                    -97.435024,
+                    25.8266009
                 ],
                 [
-                    -0.3247617,
-                    54.5527463
+                    -96.9555259,
+                    25.9821589
                 ],
                 [
-                    -0.3247617,
-                    54.2865195
+                    -96.8061741,
+                    27.7978168
                 ],
                 [
-                    0.0092841,
-                    54.2865195
+                    -95.5563349,
+                    28.5876066
                 ],
                 [
-                    0.0092841,
-                    53.7938518
+                    -93.7405308,
+                    29.4742093
                 ],
                 [
-                    0.2081962,
-                    53.7938518
+                    -90.9028456,
+                    28.8564513
                 ],
                 [
-                    0.2081962,
-                    53.5217726
+                    -88.0156706,
+                    28.9944338
                 ],
                 [
-                    0.4163548,
-                    53.5217726
+                    -88.0162494,
+                    30.0038862
                 ],
                 [
-                    0.4163548,
-                    53.0298851
+                    -86.0277506,
+                    30.0047454
                 ],
                 [
-                    1.4273388,
-                    53.0298851
+                    -84.0187909,
+                    28.9961781
                 ],
                 [
-                    1.4273388,
-                    52.92021
+                    -81.9971976,
+                    25.9826768
                 ],
                 [
-                    1.8333912,
-                    52.92021
+                    -81.9966618,
+                    25.0134917
                 ],
                 [
-                    1.8333912,
-                    52.042488
+                    -84.0165592,
+                    25.0125783
                 ],
                 [
-                    1.5235504,
-                    52.042488
+                    -84.0160068,
+                    24.0052745
                 ],
                 [
-                    1.5235504,
-                    51.8261335
+                    -80.0199985,
+                    24.007096
                 ],
                 [
-                    1.2697049,
-                    51.8261335
+                    -79.8901116,
+                    26.8550713
                 ],
                 [
-                    1.2697049,
-                    51.6967453
+                    -80.0245309,
+                    32.0161282
                 ],
                 [
-                    1.116651,
-                    51.6967453
+                    -75.4147385,
+                    35.0531894
                 ],
                 [
-                    1.116651,
-                    51.440346
+                    -74.0211163,
+                    39.5727927
                 ],
                 [
-                    1.5235504,
-                    51.440346
+                    -72.002019,
+                    40.9912464
                 ],
                 [
-                    1.5235504,
-                    51.3331831
+                    -69.8797398,
+                    40.9920457
                 ],
                 [
-                    1.4507565,
-                    51.3331831
+                    -69.8489304,
+                    43.2619916
                 ],
                 [
-                    1.4507565,
-                    51.0207553
+                    -66.9452845,
+                    44.7104937
                 ],
                 [
-                    1.0699883,
-                    51.0207553
+                    -67.7596632,
+                    47.0990024
                 ],
                 [
-                    1.0699883,
-                    50.9008416
+                    -69.2505131,
+                    47.5122328
                 ],
                 [
-                    0.7788126,
-                    50.9008416
+                    -70.4614886,
+                    46.2176574
                 ],
                 [
-                    0.7788126,
-                    50.729843
+                    -71.412273,
+                    45.254878
                 ],
                 [
-                    -0.7255952,
-                    50.729843
+                    -72.0222508,
+                    45.0059846
                 ],
                 [
-                    -0.7255952,
-                    50.7038437
+                    -75.0798841,
+                    44.9802854
                 ],
                 [
-                    -1.0074383,
-                    50.7038437
+                    -76.9023061,
+                    43.8024568
                 ],
                 [
-                    -1.0074383,
-                    50.5736307
+                    -78.7623935,
+                    43.6249578
                 ],
                 [
-                    -2.3625252,
-                    50.5736307
+                    -79.15798,
+                    43.4462589
                 ],
                 [
-                    -2.3625252,
-                    50.4846421
+                    -79.0060087,
+                    42.8005317
                 ],
                 [
-                    -2.4987805,
-                    50.4846421
+                    -82.662475,
+                    41.6889458
                 ],
                 [
-                    -2.4987805,
-                    50.5736307
+                    -82.1761642,
+                    43.588535
                 ],
                 [
-                    -3.4096378,
-                    50.5736307
+                    -83.2813977,
+                    46.138853
                 ],
                 [
-                    -3.4096378,
-                    50.2057837
+                    -87.5064535,
+                    48.0142702
                 ],
                 [
-                    -3.6922446,
-                    50.2057837
+                    -88.3492194,
+                    48.2963271
                 ],
                 [
-                    -3.6922446,
-                    50.1347737
+                    -89.4353148,
+                    47.9837822
                 ],
                 [
-                    -5.005468,
-                    50.1347737
+                    -93.9981078,
+                    49.0067142
                 ],
                 [
-                    -5.005468,
-                    49.9474456
+                    -95.1105379,
+                    49.412004
                 ],
                 [
-                    -5.2839506,
-                    49.9474456
+                    -96.0131199,
+                    49.0060547
                 ],
                 [
-                    -5.2839506,
-                    50.0229734
+                    -123.3228926,
+                    49.0042878
+                ],
+                [
+                    -123.2275233,
+                    48.1849927
                 ]
             ],
             [
                 [
-                    -6.4580707,
-                    49.8673563
-                ],
-                [
-                    -6.4580707,
-                    49.9499935
+                    -160.5787616,
+                    22.5062947
                 ],
                 [
-                    -6.3978807,
-                    49.9499935
+                    -160.5782192,
+                    21.4984647
                 ],
                 [
-                    -6.3978807,
-                    50.0053797
+                    -158.7470604,
+                    21.2439843
                 ],
                 [
-                    -6.1799606,
-                    50.0053797
+                    -157.5083185,
+                    20.995803
                 ],
                 [
-                    -6.1799606,
-                    49.9168614
+                    -155.9961942,
+                    18.7790194
                 ],
                 [
-                    -6.2540201,
-                    49.9168614
+                    -154.6217803,
+                    18.7586966
                 ],
                 [
-                    -6.2540201,
-                    49.8673563
-                ]
-            ],
-            [
-                [
-                    -5.8343165,
-                    49.932156
+                    -154.6890176,
+                    19.8805722
                 ],
                 [
-                    -5.8343165,
-                    49.9754641
+                    -156.2927622,
+                    21.2225888
                 ],
                 [
-                    -5.7683254,
-                    49.9754641
+                    -157.5047384,
+                    21.9984962
                 ],
                 [
-                    -5.7683254,
-                    49.932156
+                    -159.0093692,
+                    22.5070181
                 ]
             ],
             [
                 [
-                    -1.9483797,
-                    60.6885737
+                    -167.1571546,
+                    68.721974
                 ],
                 [
-                    -1.9483797,
-                    60.3058841
+                    -164.8553982,
+                    67.0255078
                 ],
                 [
-                    -1.7543149,
-                    60.3058841
+                    -168.002195,
+                    66.0017503
                 ],
                 [
-                    -1.7543149,
-                    60.1284428
+                    -169.0087448,
+                    66.001546
                 ],
                 [
-                    -1.5754914,
-                    60.1284428
+                    -169.0075381,
+                    64.9987675
                 ],
                 [
-                    -1.5754914,
-                    59.797917
+                    -172.5143281,
+                    63.8767267
                 ],
                 [
-                    -1.0316959,
-                    59.797917
+                    -173.8197023,
+                    59.74014
                 ],
                 [
-                    -1.0316959,
-                    60.0354518
+                    -162.5018149,
+                    58.0005815
                 ],
                 [
-                    -0.6626918,
-                    60.0354518
+                    -160.0159024,
+                    58.0012389
                 ],
                 [
-                    -0.6626918,
-                    60.9103862
+                    -160.0149725,
+                    57.000035
                 ],
                 [
-                    -1.1034395,
-                    60.9103862
+                    -160.5054788,
+                    56.9999017
                 ],
                 [
-                    -1.1034395,
-                    60.8040022
+                    -165.8092575,
+                    54.824847
                 ],
                 [
-                    -1.3506319,
-                    60.8040022
+                    -178.000097,
+                    52.2446469
                 ],
                 [
-                    -1.3506319,
-                    60.6885737
-                ]
-            ],
-            [
-                [
-                    -2.203381,
-                    60.1968568
+                    -177.9992996,
+                    51.2554252
                 ],
                 [
-                    -2.203381,
-                    60.0929443
+                    -171.4689067,
+                    51.8215329
                 ],
                 [
-                    -1.9864011,
-                    60.0929443
+                    -162.40251,
+                    53.956664
                 ],
                 [
-                    -1.9864011,
-                    60.1968568
-                ]
-            ],
-            [
-                [
-                    -1.7543149,
-                    59.5698289
+                    -159.0075717,
+                    55.002502
                 ],
                 [
-                    -1.7543149,
-                    59.4639383
+                    -158.0190709,
+                    55.0027849
                 ],
                 [
-                    -1.5373349,
-                    59.4639383
+                    -151.9963213,
+                    55.9991902
                 ],
                 [
-                    -1.5373349,
-                    59.5698289
-                ]
-            ],
-            [
-                [
-                    -4.5585981,
-                    59.1370518
+                    -151.500341,
+                    57.9987853
                 ],
                 [
-                    -4.5585981,
-                    58.9569099
+                    -151.5012894,
+                    58.9919816
                 ],
                 [
-                    -4.2867004,
-                    58.9569099
+                    -138.5159989,
+                    58.9953194
                 ],
                 [
-                    -4.2867004,
-                    59.1370518
-                ]
-            ],
-            [
-                [
-                    -6.2787732,
-                    59.2025744
+                    -138.5150471,
+                    57.9986434
                 ],
                 [
-                    -6.2787732,
-                    59.0227769
+                    -133.9948193,
+                    54.0031685
                 ],
                 [
-                    -5.6650612,
-                    59.0227769
+                    -130.0044418,
+                    54.0043387
                 ],
                 [
-                    -5.6650612,
-                    59.2025744
-                ]
-            ],
-            [
-                [
-                    -8.7163482,
-                    57.9440556
+                    -130.0070826,
+                    57.0000507
                 ],
                 [
-                    -8.7163482,
-                    57.7305936
+                    -131.975877,
+                    56.9995156
                 ],
                 [
-                    -8.3592926,
-                    57.7305936
+                    -135.1229873,
+                    59.756601
                 ],
                 [
-                    -8.3592926,
-                    57.9440556
-                ]
-            ],
-            [
-                [
-                    -7.6077005,
-                    50.4021026
+                    -138.0071813,
+                    59.991805
                 ],
                 [
-                    -7.6077005,
-                    50.2688657
+                    -139.1715881,
+                    60.4127229
                 ],
                 [
-                    -7.3907205,
-                    50.2688657
+                    -140.9874011,
+                    61.0118551
                 ],
                 [
-                    -7.3907205,
-                    50.4021026
-                ]
-            ],
-            [
+                    -140.9683975,
+                    69.9535069
+                ],
                 [
-                    -7.7304303,
-                    58.3579902
+                    -156.176891,
+                    71.5633329
                 ],
                 [
-                    -7.7304303,
-                    58.248313
+                    -160.413634,
+                    70.7397728
                 ],
                 [
-                    -7.5134503,
-                    58.248313
+                    -163.0218273,
+                    69.9707435
                 ],
                 [
-                    -7.5134503,
-                    58.3579902
+                    -164.9717003,
+                    68.994689
                 ]
             ]
-        ]
+        ],
+        "overlay": true
     },
     {
-        "name": "OS Scottish Popular historic",
+        "name": "OS 1:25k historic (OSM)",
         "type": "tms",
-        "template": "http://ooc.openstreetmap.org/npescotland/tiles/{zoom}/{x}/{y}.jpg",
+        "template": "http://ooc.openstreetmap.org/os1/{zoom}/{x}/{y}.jpg",
         "scaleExtent": [
             6,
-            15
+            17
         ],
         "polygon": [
             [
                 [
-                    -7.8,
-                    54.5
+                    -9,
+                    49.8
                 ],
                 [
-                    -7.8,
+                    -9,
                     61.1
                 ],
                 [
-                    -1.1,
+                    1.9,
                     61.1
                 ],
                 [
-                    -1.1,
-                    54.5
+                    1.9,
+                    49.8
                 ],
                 [
-                    -7.8,
-                    54.5
+                    -9,
+                    49.8
                 ]
             ]
         ]
     },
     {
-        "name": "OS Town Plans, Aberdeen 1866-1867 (NLS)",
+        "name": "OS New Popular Edition historic",
         "type": "tms",
-        "description": "Detailed town plan of Aberdeen 1866-1867, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/aberdeen/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
+        "template": "http://ooc.openstreetmap.org/npe/{zoom}/{x}/{y}.png",
         "polygon": [
             [
                 [
-                    -2.14039404,
-                    57.11218789
+                    -5.8,
+                    49.8
                 ],
                 [
-                    -2.14064752,
-                    57.17894161
+                    -5.8,
+                    55.8
                 ],
                 [
-                    -2.04501987,
-                    57.17901252
+                    1.9,
+                    55.8
                 ],
                 [
-                    -2.04493842,
-                    57.11225862
+                    1.9,
+                    49.8
+                ],
+                [
+                    -5.8,
+                    49.8
                 ]
             ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/aberdeen.html",
-        "terms_text": "National Library of Scotland - Aberdeen 1866-1867"
+        ]
     },
     {
-        "name": "OS Town Plans, Airdrie 1858 (NLS)",
+        "name": "OS OpenData Locator",
         "type": "tms",
-        "description": "Detailed town plan of Airdrie 1858, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/airdrie/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
+        "template": "http://tiles.itoworld.com/os_locator/{zoom}/{x}/{y}.png",
         "polygon": [
             [
                 [
-                    -3.99291738,
-                    55.86408041
+                    -9,
+                    49.8
                 ],
                 [
-                    -3.99338933,
-                    55.87329115
+                    -9,
+                    61.1
                 ],
                 [
-                    -3.9691085,
-                    55.87368212
+                    1.9,
+                    61.1
                 ],
                 [
-                    -3.9686423,
-                    55.86447124
+                    1.9,
+                    49.8
+                ],
+                [
+                    -9,
+                    49.8
                 ]
             ]
         ],
-        "terms_url": "http://maps.nls.uk/townplans/airdrie.html",
-        "terms_text": "National Library of Scotland - Airdrie 1858"
+        "overlay": true
     },
     {
-        "name": "OS Town Plans, Alexandria 1859 (NLS)",
+        "name": "OS OpenData StreetView",
         "type": "tms",
-        "description": "Detailed town plan of Alexandria 1859, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/alexandria/{zoom}/{x}/{-y}.png",
+        "template": "http://os.openstreetmap.org/sv/{zoom}/{x}/{y}.png",
         "scaleExtent": [
-            13,
-            20
+            1,
+            18
         ],
         "polygon": [
             [
                 [
-                    -4.58973571,
-                    55.97536707
+                    -5.8292886,
+                    50.0229734
                 ],
                 [
-                    -4.59104461,
-                    55.99493153
+                    -5.8292886,
+                    50.254819
                 ],
                 [
-                    -4.55985072,
-                    55.99558348
+                    -5.373356,
+                    50.254819
                 ],
                 [
-                    -4.55855754,
-                    55.97601855
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/alexandria.html",
-        "terms_text": "National Library of Scotland - Alexandria 1859"
-    },
-    {
-        "name": "OS Town Plans, Alloa 1861-1862 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Alloa 1861-1862, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/alloa/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    -5.373356,
+                    50.3530588
+                ],
                 [
-                    -3.81166061,
-                    56.09864363
+                    -5.1756021,
+                    50.3530588
                 ],
                 [
-                    -3.81274448,
-                    56.12169929
+                    -5.1756021,
+                    50.5925406
                 ],
                 [
-                    -3.7804609,
-                    56.12216898
+                    -4.9970743,
+                    50.5925406
                 ],
                 [
-                    -3.77939631,
-                    56.09911292
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/alloa.html",
-        "terms_text": "National Library of Scotland - Alloa 1861-1862"
-    },
-    {
-        "name": "OS Town Plans, Annan 1859 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Annan 1859, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/annan/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    -4.9970743,
+                    50.6935617
+                ],
                 [
-                    -3.27921439,
-                    54.98252155
+                    -4.7965738,
+                    50.6935617
                 ],
                 [
-                    -3.27960062,
-                    54.9946601
+                    -4.7965738,
+                    50.7822112
                 ],
                 [
-                    -3.24866331,
-                    54.99498165
+                    -4.6949503,
+                    50.7822112
                 ],
                 [
-                    -3.24828642,
-                    54.98284297
-                ]
+                    -4.6949503,
+                    50.9607371
+                ],
+                [
+                    -4.6043131,
+                    50.9607371
+                ],
+                [
+                    -4.6043131,
+                    51.0692066
+                ],
+                [
+                    -4.3792215,
+                    51.0692066
+                ],
+                [
+                    -4.3792215,
+                    51.2521782
+                ],
+                [
+                    -3.9039346,
+                    51.2521782
+                ],
+                [
+                    -3.9039346,
+                    51.2916998
+                ],
+                [
+                    -3.7171671,
+                    51.2916998
+                ],
+                [
+                    -3.7171671,
+                    51.2453014
+                ],
+                [
+                    -3.1486246,
+                    51.2453014
+                ],
+                [
+                    -3.1486246,
+                    51.362067
+                ],
+                [
+                    -3.7446329,
+                    51.362067
+                ],
+                [
+                    -3.7446329,
+                    51.4340386
+                ],
+                [
+                    -3.8297769,
+                    51.4340386
+                ],
+                [
+                    -3.8297769,
+                    51.5298246
+                ],
+                [
+                    -4.0852091,
+                    51.5298246
+                ],
+                [
+                    -4.0852091,
+                    51.4939284
+                ],
+                [
+                    -4.3792215,
+                    51.4939284
+                ],
+                [
+                    -4.3792215,
+                    51.5427168
+                ],
+                [
+                    -5.1444195,
+                    51.5427168
+                ],
+                [
+                    -5.1444195,
+                    51.6296003
+                ],
+                [
+                    -5.7387103,
+                    51.6296003
+                ],
+                [
+                    -5.7387103,
+                    51.774037
+                ],
+                [
+                    -5.5095393,
+                    51.774037
+                ],
+                [
+                    -5.5095393,
+                    51.9802596
+                ],
+                [
+                    -5.198799,
+                    51.9802596
+                ],
+                [
+                    -5.198799,
+                    52.0973358
+                ],
+                [
+                    -4.8880588,
+                    52.0973358
+                ],
+                [
+                    -4.8880588,
+                    52.1831557
+                ],
+                [
+                    -4.4957492,
+                    52.1831557
+                ],
+                [
+                    -4.4957492,
+                    52.2925739
+                ],
+                [
+                    -4.3015365,
+                    52.2925739
+                ],
+                [
+                    -4.3015365,
+                    52.3685318
+                ],
+                [
+                    -4.1811246,
+                    52.3685318
+                ],
+                [
+                    -4.1811246,
+                    52.7933685
+                ],
+                [
+                    -4.4413696,
+                    52.7933685
+                ],
+                [
+                    -4.4413696,
+                    52.7369614
+                ],
+                [
+                    -4.8569847,
+                    52.7369614
+                ],
+                [
+                    -4.8569847,
+                    52.9317255
+                ],
+                [
+                    -4.7288044,
+                    52.9317255
+                ],
+                [
+                    -4.7288044,
+                    53.5038599
+                ],
+                [
+                    -4.1578191,
+                    53.5038599
+                ],
+                [
+                    -4.1578191,
+                    53.4113498
+                ],
+                [
+                    -3.3110518,
+                    53.4113498
+                ],
+                [
+                    -3.3110518,
+                    53.5038599
+                ],
+                [
+                    -3.2333667,
+                    53.5038599
+                ],
+                [
+                    -3.2333667,
+                    54.0159169
+                ],
+                [
+                    -3.3926211,
+                    54.0159169
+                ],
+                [
+                    -3.3926211,
+                    54.1980953
+                ],
+                [
+                    -3.559644,
+                    54.1980953
+                ],
+                [
+                    -3.559644,
+                    54.433732
+                ],
+                [
+                    -3.7188984,
+                    54.433732
+                ],
+                [
+                    -3.7188984,
+                    54.721897
+                ],
+                [
+                    -4.3015365,
+                    54.721897
+                ],
+                [
+                    -4.3015365,
+                    54.6140739
+                ],
+                [
+                    -5.0473132,
+                    54.6140739
+                ],
+                [
+                    -5.0473132,
+                    54.7532915
+                ],
+                [
+                    -5.2298731,
+                    54.7532915
+                ],
+                [
+                    -5.2298731,
+                    55.2190799
+                ],
+                [
+                    -5.6532567,
+                    55.2190799
+                ],
+                [
+                    -5.6532567,
+                    55.250088
+                ],
+                [
+                    -5.8979647,
+                    55.250088
+                ],
+                [
+                    -5.8979647,
+                    55.4822462
+                ],
+                [
+                    -6.5933212,
+                    55.4822462
+                ],
+                [
+                    -6.5933212,
+                    56.3013441
+                ],
+                [
+                    -7.1727691,
+                    56.3013441
+                ],
+                [
+                    -7.1727691,
+                    56.5601822
+                ],
+                [
+                    -6.8171722,
+                    56.5601822
+                ],
+                [
+                    -6.8171722,
+                    56.6991713
+                ],
+                [
+                    -6.5315276,
+                    56.6991713
+                ],
+                [
+                    -6.5315276,
+                    56.9066964
+                ],
+                [
+                    -6.811679,
+                    56.9066964
+                ],
+                [
+                    -6.811679,
+                    57.3716613
+                ],
+                [
+                    -6.8721038,
+                    57.3716613
+                ],
+                [
+                    -6.8721038,
+                    57.5518893
+                ],
+                [
+                    -7.0973235,
+                    57.5518893
+                ],
+                [
+                    -7.0973235,
+                    57.2411085
+                ],
+                [
+                    -7.1742278,
+                    57.2411085
+                ],
+                [
+                    -7.1742278,
+                    56.9066964
+                ],
+                [
+                    -7.3719817,
+                    56.9066964
+                ],
+                [
+                    -7.3719817,
+                    56.8075885
+                ],
+                [
+                    -7.5202972,
+                    56.8075885
+                ],
+                [
+                    -7.5202972,
+                    56.7142479
+                ],
+                [
+                    -7.8306806,
+                    56.7142479
+                ],
+                [
+                    -7.8306806,
+                    56.8994605
+                ],
+                [
+                    -7.6494061,
+                    56.8994605
+                ],
+                [
+                    -7.6494061,
+                    57.4739617
+                ],
+                [
+                    -7.8306806,
+                    57.4739617
+                ],
+                [
+                    -7.8306806,
+                    57.7915584
+                ],
+                [
+                    -7.4736249,
+                    57.7915584
+                ],
+                [
+                    -7.4736249,
+                    58.086063
+                ],
+                [
+                    -7.1879804,
+                    58.086063
+                ],
+                [
+                    -7.1879804,
+                    58.367197
+                ],
+                [
+                    -6.8034589,
+                    58.367197
+                ],
+                [
+                    -6.8034589,
+                    58.4155786
+                ],
+                [
+                    -6.638664,
+                    58.4155786
+                ],
+                [
+                    -6.638664,
+                    58.4673277
+                ],
+                [
+                    -6.5178143,
+                    58.4673277
+                ],
+                [
+                    -6.5178143,
+                    58.5625632
+                ],
+                [
+                    -6.0536224,
+                    58.5625632
+                ],
+                [
+                    -6.0536224,
+                    58.1568843
+                ],
+                [
+                    -6.1470062,
+                    58.1568843
+                ],
+                [
+                    -6.1470062,
+                    58.1105865
+                ],
+                [
+                    -6.2799798,
+                    58.1105865
+                ],
+                [
+                    -6.2799798,
+                    57.7122664
+                ],
+                [
+                    -6.1591302,
+                    57.7122664
+                ],
+                [
+                    -6.1591302,
+                    57.6667563
+                ],
+                [
+                    -5.9339104,
+                    57.6667563
+                ],
+                [
+                    -5.9339104,
+                    57.8892524
+                ],
+                [
+                    -5.80643,
+                    57.8892524
+                ],
+                [
+                    -5.80643,
+                    57.9621767
+                ],
+                [
+                    -5.6141692,
+                    57.9621767
+                ],
+                [
+                    -5.6141692,
+                    58.0911236
+                ],
+                [
+                    -5.490819,
+                    58.0911236
+                ],
+                [
+                    -5.490819,
+                    58.3733281
+                ],
+                [
+                    -5.3199118,
+                    58.3733281
+                ],
+                [
+                    -5.3199118,
+                    58.75015
+                ],
+                [
+                    -3.5719977,
+                    58.75015
+                ],
+                [
+                    -3.5719977,
+                    59.2091788
+                ],
+                [
+                    -3.1944501,
+                    59.2091788
+                ],
+                [
+                    -3.1944501,
+                    59.4759216
+                ],
+                [
+                    -2.243583,
+                    59.4759216
+                ],
+                [
+                    -2.243583,
+                    59.1388749
+                ],
+                [
+                    -2.4611012,
+                    59.1388749
+                ],
+                [
+                    -2.4611012,
+                    58.8185938
+                ],
+                [
+                    -2.7407675,
+                    58.8185938
+                ],
+                [
+                    -2.7407675,
+                    58.5804743
+                ],
+                [
+                    -2.9116746,
+                    58.5804743
+                ],
+                [
+                    -2.9116746,
+                    58.1157523
+                ],
+                [
+                    -3.4865441,
+                    58.1157523
+                ],
+                [
+                    -3.4865441,
+                    57.740386
+                ],
+                [
+                    -1.7153245,
+                    57.740386
+                ],
+                [
+                    -1.7153245,
+                    57.2225558
+                ],
+                [
+                    -1.9794538,
+                    57.2225558
+                ],
+                [
+                    -1.9794538,
+                    56.8760742
+                ],
+                [
+                    -2.1658979,
+                    56.8760742
+                ],
+                [
+                    -2.1658979,
+                    56.6333186
+                ],
+                [
+                    -2.3601106,
+                    56.6333186
+                ],
+                [
+                    -2.3601106,
+                    56.0477521
+                ],
+                [
+                    -1.9794538,
+                    56.0477521
+                ],
+                [
+                    -1.9794538,
+                    55.8650949
+                ],
+                [
+                    -1.4745008,
+                    55.8650949
+                ],
+                [
+                    -1.4745008,
+                    55.2499926
+                ],
+                [
+                    -1.3221997,
+                    55.2499926
+                ],
+                [
+                    -1.3221997,
+                    54.8221737
+                ],
+                [
+                    -1.0550014,
+                    54.8221737
+                ],
+                [
+                    -1.0550014,
+                    54.6746628
+                ],
+                [
+                    -0.6618765,
+                    54.6746628
+                ],
+                [
+                    -0.6618765,
+                    54.5527463
+                ],
+                [
+                    -0.3247617,
+                    54.5527463
+                ],
+                [
+                    -0.3247617,
+                    54.2865195
+                ],
+                [
+                    0.0092841,
+                    54.2865195
+                ],
+                [
+                    0.0092841,
+                    53.7938518
+                ],
+                [
+                    0.2081962,
+                    53.7938518
+                ],
+                [
+                    0.2081962,
+                    53.5217726
+                ],
+                [
+                    0.4163548,
+                    53.5217726
+                ],
+                [
+                    0.4163548,
+                    53.0298851
+                ],
+                [
+                    1.4273388,
+                    53.0298851
+                ],
+                [
+                    1.4273388,
+                    52.92021
+                ],
+                [
+                    1.8333912,
+                    52.92021
+                ],
+                [
+                    1.8333912,
+                    52.042488
+                ],
+                [
+                    1.5235504,
+                    52.042488
+                ],
+                [
+                    1.5235504,
+                    51.8261335
+                ],
+                [
+                    1.2697049,
+                    51.8261335
+                ],
+                [
+                    1.2697049,
+                    51.6967453
+                ],
+                [
+                    1.116651,
+                    51.6967453
+                ],
+                [
+                    1.116651,
+                    51.440346
+                ],
+                [
+                    1.5235504,
+                    51.440346
+                ],
+                [
+                    1.5235504,
+                    51.3331831
+                ],
+                [
+                    1.4507565,
+                    51.3331831
+                ],
+                [
+                    1.4507565,
+                    51.0207553
+                ],
+                [
+                    1.0699883,
+                    51.0207553
+                ],
+                [
+                    1.0699883,
+                    50.9008416
+                ],
+                [
+                    0.7788126,
+                    50.9008416
+                ],
+                [
+                    0.7788126,
+                    50.729843
+                ],
+                [
+                    -0.7255952,
+                    50.729843
+                ],
+                [
+                    -0.7255952,
+                    50.7038437
+                ],
+                [
+                    -1.0074383,
+                    50.7038437
+                ],
+                [
+                    -1.0074383,
+                    50.5736307
+                ],
+                [
+                    -2.3625252,
+                    50.5736307
+                ],
+                [
+                    -2.3625252,
+                    50.4846421
+                ],
+                [
+                    -2.4987805,
+                    50.4846421
+                ],
+                [
+                    -2.4987805,
+                    50.5736307
+                ],
+                [
+                    -3.4096378,
+                    50.5736307
+                ],
+                [
+                    -3.4096378,
+                    50.2057837
+                ],
+                [
+                    -3.6922446,
+                    50.2057837
+                ],
+                [
+                    -3.6922446,
+                    50.1347737
+                ],
+                [
+                    -5.005468,
+                    50.1347737
+                ],
+                [
+                    -5.005468,
+                    49.9474456
+                ],
+                [
+                    -5.2839506,
+                    49.9474456
+                ],
+                [
+                    -5.2839506,
+                    50.0229734
+                ]
+            ],
+            [
+                [
+                    -6.4580707,
+                    49.8673563
+                ],
+                [
+                    -6.4580707,
+                    49.9499935
+                ],
+                [
+                    -6.3978807,
+                    49.9499935
+                ],
+                [
+                    -6.3978807,
+                    50.0053797
+                ],
+                [
+                    -6.1799606,
+                    50.0053797
+                ],
+                [
+                    -6.1799606,
+                    49.9168614
+                ],
+                [
+                    -6.2540201,
+                    49.9168614
+                ],
+                [
+                    -6.2540201,
+                    49.8673563
+                ]
+            ],
+            [
+                [
+                    -5.8343165,
+                    49.932156
+                ],
+                [
+                    -5.8343165,
+                    49.9754641
+                ],
+                [
+                    -5.7683254,
+                    49.9754641
+                ],
+                [
+                    -5.7683254,
+                    49.932156
+                ]
+            ],
+            [
+                [
+                    -1.9483797,
+                    60.6885737
+                ],
+                [
+                    -1.9483797,
+                    60.3058841
+                ],
+                [
+                    -1.7543149,
+                    60.3058841
+                ],
+                [
+                    -1.7543149,
+                    60.1284428
+                ],
+                [
+                    -1.5754914,
+                    60.1284428
+                ],
+                [
+                    -1.5754914,
+                    59.797917
+                ],
+                [
+                    -1.0316959,
+                    59.797917
+                ],
+                [
+                    -1.0316959,
+                    60.0354518
+                ],
+                [
+                    -0.6626918,
+                    60.0354518
+                ],
+                [
+                    -0.6626918,
+                    60.9103862
+                ],
+                [
+                    -1.1034395,
+                    60.9103862
+                ],
+                [
+                    -1.1034395,
+                    60.8040022
+                ],
+                [
+                    -1.3506319,
+                    60.8040022
+                ],
+                [
+                    -1.3506319,
+                    60.6885737
+                ]
+            ],
+            [
+                [
+                    -2.203381,
+                    60.1968568
+                ],
+                [
+                    -2.203381,
+                    60.0929443
+                ],
+                [
+                    -1.9864011,
+                    60.0929443
+                ],
+                [
+                    -1.9864011,
+                    60.1968568
+                ]
+            ],
+            [
+                [
+                    -1.7543149,
+                    59.5698289
+                ],
+                [
+                    -1.7543149,
+                    59.4639383
+                ],
+                [
+                    -1.5373349,
+                    59.4639383
+                ],
+                [
+                    -1.5373349,
+                    59.5698289
+                ]
+            ],
+            [
+                [
+                    -4.5585981,
+                    59.1370518
+                ],
+                [
+                    -4.5585981,
+                    58.9569099
+                ],
+                [
+                    -4.2867004,
+                    58.9569099
+                ],
+                [
+                    -4.2867004,
+                    59.1370518
+                ]
+            ],
+            [
+                [
+                    -6.2787732,
+                    59.2025744
+                ],
+                [
+                    -6.2787732,
+                    59.0227769
+                ],
+                [
+                    -5.6650612,
+                    59.0227769
+                ],
+                [
+                    -5.6650612,
+                    59.2025744
+                ]
+            ],
+            [
+                [
+                    -8.7163482,
+                    57.9440556
+                ],
+                [
+                    -8.7163482,
+                    57.7305936
+                ],
+                [
+                    -8.3592926,
+                    57.7305936
+                ],
+                [
+                    -8.3592926,
+                    57.9440556
+                ]
+            ],
+            [
+                [
+                    -7.6077005,
+                    50.4021026
+                ],
+                [
+                    -7.6077005,
+                    50.2688657
+                ],
+                [
+                    -7.3907205,
+                    50.2688657
+                ],
+                [
+                    -7.3907205,
+                    50.4021026
+                ]
+            ],
+            [
+                [
+                    -7.7304303,
+                    58.3579902
+                ],
+                [
+                    -7.7304303,
+                    58.248313
+                ],
+                [
+                    -7.5134503,
+                    58.248313
+                ],
+                [
+                    -7.5134503,
+                    58.3579902
+                ]
+            ]
+        ]
+    },
+    {
+        "name": "OS Scottish Popular historic",
+        "type": "tms",
+        "template": "http://ooc.openstreetmap.org/npescotland/tiles/{zoom}/{x}/{y}.jpg",
+        "scaleExtent": [
+            6,
+            15
+        ],
+        "polygon": [
+            [
+                [
+                    -7.8,
+                    54.5
+                ],
+                [
+                    -7.8,
+                    61.1
+                ],
+                [
+                    -1.1,
+                    61.1
+                ],
+                [
+                    -1.1,
+                    54.5
+                ],
+                [
+                    -7.8,
+                    54.5
+                ]
+            ]
+        ]
+    },
+    {
+        "name": "OS Town Plans, Aberdeen 1866-1867 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Aberdeen 1866-1867, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/aberdeen/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -2.14039404,
+                    57.11218789
+                ],
+                [
+                    -2.14064752,
+                    57.17894161
+                ],
+                [
+                    -2.04501987,
+                    57.17901252
+                ],
+                [
+                    -2.04493842,
+                    57.11225862
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/aberdeen.html",
+        "terms_text": "National Library of Scotland - Aberdeen 1866-1867"
+    },
+    {
+        "name": "OS Town Plans, Airdrie 1858 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Airdrie 1858, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/airdrie/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.99291738,
+                    55.86408041
+                ],
+                [
+                    -3.99338933,
+                    55.87329115
+                ],
+                [
+                    -3.9691085,
+                    55.87368212
+                ],
+                [
+                    -3.9686423,
+                    55.86447124
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/airdrie.html",
+        "terms_text": "National Library of Scotland - Airdrie 1858"
+    },
+    {
+        "name": "OS Town Plans, Alexandria 1859 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Alexandria 1859, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/alexandria/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -4.58973571,
+                    55.97536707
+                ],
+                [
+                    -4.59104461,
+                    55.99493153
+                ],
+                [
+                    -4.55985072,
+                    55.99558348
+                ],
+                [
+                    -4.55855754,
+                    55.97601855
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/alexandria.html",
+        "terms_text": "National Library of Scotland - Alexandria 1859"
+    },
+    {
+        "name": "OS Town Plans, Alloa 1861-1862 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Alloa 1861-1862, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/alloa/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.81166061,
+                    56.09864363
+                ],
+                [
+                    -3.81274448,
+                    56.12169929
+                ],
+                [
+                    -3.7804609,
+                    56.12216898
+                ],
+                [
+                    -3.77939631,
+                    56.09911292
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/alloa.html",
+        "terms_text": "National Library of Scotland - Alloa 1861-1862"
+    },
+    {
+        "name": "OS Town Plans, Annan 1859 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Annan 1859, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/annan/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.27921439,
+                    54.98252155
+                ],
+                [
+                    -3.27960062,
+                    54.9946601
+                ],
+                [
+                    -3.24866331,
+                    54.99498165
+                ],
+                [
+                    -3.24828642,
+                    54.98284297
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/annan.html",
+        "terms_text": "National Library of Scotland - Annan 1859"
+    },
+    {
+        "name": "OS Town Plans, Arbroath 1858 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Arbroath 1858, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/arbroath/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -2.60716469,
+                    56.53995105
+                ],
+                [
+                    -2.60764981,
+                    56.57022426
+                ],
+                [
+                    -2.56498708,
+                    56.57042549
+                ],
+                [
+                    -2.564536,
+                    56.54015206
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/arbroath.html",
+        "terms_text": "National Library of Scotland - Arbroath 1858"
+    },
+    {
+        "name": "OS Town Plans, Ayr 1855 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Ayr 1855, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/ayr/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -4.66768105,
+                    55.43748864
+                ],
+                [
+                    -4.67080057,
+                    55.48363961
+                ],
+                [
+                    -4.60609844,
+                    55.48503484
+                ],
+                [
+                    -4.60305426,
+                    55.43888149
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/ayr.html",
+        "terms_text": "National Library of Scotland - Ayr 1855"
+    },
+    {
+        "name": "OS Town Plans, Berwick-upon-Tweed 1852 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Berwick-upon-Tweed 1852, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/berwick/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -2.02117487,
+                    55.75577627
+                ],
+                [
+                    -2.02118763,
+                    55.77904118
+                ],
+                [
+                    -1.98976956,
+                    55.77904265
+                ],
+                [
+                    -1.9897755,
+                    55.75577774
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/berwick.html",
+        "terms_text": "National Library of Scotland - Berwick-upon-Tweed 1852"
+    },
+    {
+        "name": "OS Town Plans, Brechin 1862 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Brechin 1862, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/brechin/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -2.67480248,
+                    56.71456775
+                ],
+                [
+                    -2.67521172,
+                    56.73739937
+                ],
+                [
+                    -2.64319679,
+                    56.73756872
+                ],
+                [
+                    -2.64280695,
+                    56.71473694
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/brechin.html",
+        "terms_text": "National Library of Scotland - Brechin 1862"
+    },
+    {
+        "name": "OS Town Plans, Burntisland 1894 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Burntisland 1894, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/burntisland/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.24879624,
+                    56.04240046
+                ],
+                [
+                    -3.2495182,
+                    56.06472996
+                ],
+                [
+                    -3.21830572,
+                    56.06504207
+                ],
+                [
+                    -3.21760179,
+                    56.0427123
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/burntisland.html",
+        "terms_text": "National Library of Scotland - Burntisland 1894"
+    },
+    {
+        "name": "OS Town Plans, Campbelton 1865 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Campbelton 1865, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/campbeltown/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -5.62345307,
+                    55.40255998
+                ],
+                [
+                    -5.62631353,
+                    55.43375303
+                ],
+                [
+                    -5.58276654,
+                    55.43503753
+                ],
+                [
+                    -5.57994024,
+                    55.40384299
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/campbelton.html",
+        "terms_text": "National Library of Scotland - Campbelton 1865"
+    },
+    {
+        "name": "OS Town Plans, Coatbridge 1858 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Coatbridge 1858, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/coatbridge/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -4.05035921,
+                    55.84648689
+                ],
+                [
+                    -4.05157062,
+                    55.86947193
+                ],
+                [
+                    -4.01953905,
+                    55.87000186
+                ],
+                [
+                    -4.01834651,
+                    55.84701638
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/coatbridge.html",
+        "terms_text": "National Library of Scotland - Coatbridge 1858"
+    },
+    {
+        "name": "OS Town Plans, Cupar 1854 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Cupar 1854, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/cupar1854/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.04765872,
+                    56.28653177
+                ],
+                [
+                    -3.04890965,
+                    56.332192
+                ],
+                [
+                    -2.98498515,
+                    56.33271677
+                ],
+                [
+                    -2.98381041,
+                    56.28705563
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/cupar_1.html",
+        "terms_text": "National Library of Scotland - Cupar 1854"
+    },
+    {
+        "name": "OS Town Plans, Cupar 1893-1894 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Cupar 1893-1894, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/cupar1893/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.0327697,
+                    56.30243657
+                ],
+                [
+                    -3.03338443,
+                    56.32520139
+                ],
+                [
+                    -3.00146629,
+                    56.32546356
+                ],
+                [
+                    -3.00087054,
+                    56.30269852
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/cupar_2.html",
+        "terms_text": "National Library of Scotland - Cupar 1893-1894"
+    },
+    {
+        "name": "OS Town Plans, Dalkeith 1852 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Dalkeith 1852, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/dalkeith1852/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.07862465,
+                    55.88900264
+                ],
+                [
+                    -3.0790381,
+                    55.90389729
+                ],
+                [
+                    -3.05835611,
+                    55.90407681
+                ],
+                [
+                    -3.05795059,
+                    55.88918206
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/dalkeith_1.html",
+        "terms_text": "National Library of Scotland - Dalkeith 1852"
+    },
+    {
+        "name": "OS Town Plans, Dalkeith 1893 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Dalkeith 1893, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/dalkeith1893/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.08600192,
+                    55.87936087
+                ],
+                [
+                    -3.08658588,
+                    55.90025926
+                ],
+                [
+                    -3.0436473,
+                    55.90063074
+                ],
+                [
+                    -3.04308639,
+                    55.87973206
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/dalkeith_2.html",
+        "terms_text": "National Library of Scotland - Dalkeith 1893"
+    },
+    {
+        "name": "OS Town Plans, Dumbarton 1859 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Dumbarton 1859, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/dumbarton/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -4.58559982,
+                    55.92742578
+                ],
+                [
+                    -4.58714245,
+                    55.95056014
+                ],
+                [
+                    -4.55463269,
+                    55.95123882
+                ],
+                [
+                    -4.55310939,
+                    55.92810387
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/dumbarton.html",
+        "terms_text": "National Library of Scotland - Dumbarton 1859"
+    },
+    {
+        "name": "OS Town Plans, Dumfries 1850 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Dumfries 1850, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/dumfries1850/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.63928076,
+                    55.03715991
+                ],
+                [
+                    -3.64116352,
+                    55.08319002
+                ],
+                [
+                    -3.57823183,
+                    55.08402202
+                ],
+                [
+                    -3.57642118,
+                    55.0379905
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/dumfries_1.html",
+        "terms_text": "National Library of Scotland - Dumfries 1850"
+    },
+    {
+        "name": "OS Town Plans, Dumfries 1893 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Dumfries 1893, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/dumfries1893/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.63179081,
+                    55.04150111
+                ],
+                [
+                    -3.63330662,
+                    55.07873429
+                ],
+                [
+                    -3.58259012,
+                    55.07940411
+                ],
+                [
+                    -3.58112132,
+                    55.04217001
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/dumfries_2.html",
+        "terms_text": "National Library of Scotland - Dumfries 1893"
+    },
+    {
+        "name": "OS Town Plans, Dundee 1857-1858 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Dundee 1857-1858, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/dundee1857/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.02584468,
+                    56.44879161
+                ],
+                [
+                    -3.02656969,
+                    56.47566815
+                ],
+                [
+                    -2.94710317,
+                    56.47629984
+                ],
+                [
+                    -2.94643424,
+                    56.44942266
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/dundee_1.html",
+        "terms_text": "National Library of Scotland - Dundee 1857-1858"
+    },
+    {
+        "name": "OS Town Plans, Dundee 1870-1872 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Dundee 1870-1872, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/dundee1870/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.03399945,
+                    56.448497
+                ],
+                [
+                    -3.03497463,
+                    56.48435238
+                ],
+                [
+                    -2.92352705,
+                    56.48523137
+                ],
+                [
+                    -2.92265681,
+                    56.4493748
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/dundee_2.html",
+        "terms_text": "National Library of Scotland - Dundee 1870-1872"
+    },
+    {
+        "name": "OS Town Plans, Dunfermline 1854 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Dunfermline 1854, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/dunfermline1854/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.49045481,
+                    56.0605979
+                ],
+                [
+                    -3.49116489,
+                    56.07898822
+                ],
+                [
+                    -3.44374075,
+                    56.07955208
+                ],
+                [
+                    -3.44305323,
+                    56.06116138
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/dunfermline_1.html",
+        "terms_text": "National Library of Scotland - Dunfermline 1854"
+    },
+    {
+        "name": "OS Town Plans, Dunfermline 1894 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Dunfermline 1894, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/dunfermline1893/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.48284159,
+                    56.05198219
+                ],
+                [
+                    -3.48399434,
+                    56.08198924
+                ],
+                [
+                    -3.44209721,
+                    56.08248587
+                ],
+                [
+                    -3.44097697,
+                    56.05247826
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/dunfermline_2.html",
+        "terms_text": "National Library of Scotland - Dunfermline 1894"
+    },
+    {
+        "name": "OS Town Plans, Edinburgh 1849-1851 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Edinburgh 1849-1851, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/edinburgh1849/{zoom}/{x}/{y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.2361048,
+                    55.921366
+                ],
+                [
+                    -3.23836397,
+                    55.99217223
+                ],
+                [
+                    -3.14197035,
+                    55.99310288
+                ],
+                [
+                    -3.13988689,
+                    55.92229419
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/edinburgh1056_1.html",
+        "terms_text": "National Library of Scotland - Edinburgh 1849-1851"
+    },
+    {
+        "name": "OS Town Plans, Edinburgh 1876-1877 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Edinburgh 1876-1877, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/edinburgh1876/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.24740498,
+                    55.92116518
+                ],
+                [
+                    -3.24989581,
+                    55.99850896
+                ],
+                [
+                    -3.13061127,
+                    55.99966059
+                ],
+                [
+                    -3.12835798,
+                    55.92231348
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/edinburgh1056_2.html",
+        "terms_text": "National Library of Scotland - Edinburgh 1876-1877"
+    },
+    {
+        "name": "OS Town Plans, Edinburgh 1893-1894 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Edinburgh 1893-1894, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/edinburgh1893/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.26111081,
+                    55.89555387
+                ],
+                [
+                    -3.26450423,
+                    55.9997912
+                ],
+                [
+                    -3.11970824,
+                    56.00119128
+                ],
+                [
+                    -3.1167031,
+                    55.89694851
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/edinburgh500.html",
+        "terms_text": "National Library of Scotland - Edinburgh 1893-1894"
+    },
+    {
+        "name": "OS Town Plans, Elgin 1868 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Elgin 1868, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/elgin/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.33665196,
+                    57.62879017
+                ],
+                [
+                    -3.33776583,
+                    57.65907381
+                ],
+                [
+                    -3.29380859,
+                    57.65953111
+                ],
+                [
+                    -3.29273129,
+                    57.62924695
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/elgin.html",
+        "terms_text": "National Library of Scotland - Elgin 1868"
+    },
+    {
+        "name": "OS Town Plans, Falkirk 1858-1859 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Falkirk 1858-1859, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/falkirk/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.79587441,
+                    55.99343101
+                ],
+                [
+                    -3.79697783,
+                    56.01720281
+                ],
+                [
+                    -3.76648151,
+                    56.01764348
+                ],
+                [
+                    -3.76539679,
+                    55.99387129
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/falkirk.html",
+        "terms_text": "National Library of Scotland - Falkirk 1858-1859"
+    },
+    {
+        "name": "OS Town Plans, Forfar 1860-1861 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Forfar 1860-1861, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/forfar/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -2.90326183,
+                    56.6289471
+                ],
+                [
+                    -2.90378797,
+                    56.65095013
+                ],
+                [
+                    -2.87228457,
+                    56.65117489
+                ],
+                [
+                    -2.87177676,
+                    56.62917168
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/forfar.html",
+        "terms_text": "National Library of Scotland - Forfar 1860-1861"
+    },
+    {
+        "name": "OS Town Plans, Forres 1868 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Forres 1868, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/forres/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.63516795,
+                    57.58887872
+                ],
+                [
+                    -3.63647637,
+                    57.618002
+                ],
+                [
+                    -3.57751453,
+                    57.61875171
+                ],
+                [
+                    -3.5762532,
+                    57.58962759
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/forres.html",
+        "terms_text": "National Library of Scotland - Forres 1868"
+    },
+    {
+        "name": "OS Town Plans, Galashiels 1858 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Galashiels 1858, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/galashiels/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -2.82918609,
+                    55.59586303
+                ],
+                [
+                    -2.82981273,
+                    55.62554026
+                ],
+                [
+                    -2.78895254,
+                    55.62580992
+                ],
+                [
+                    -2.78835674,
+                    55.59613239
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/galashiels.html",
+        "terms_text": "National Library of Scotland - Galashiels 1858"
+    },
+    {
+        "name": "OS Town Plans, Girvan 1857 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Girvan 1857, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/girvan/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -4.87424251,
+                    55.22679729
+                ],
+                [
+                    -4.87587895,
+                    55.24945946
+                ],
+                [
+                    -4.84447382,
+                    55.25019598
+                ],
+                [
+                    -4.84285519,
+                    55.22753318
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/girvan.html",
+        "terms_text": "National Library of Scotland - Girvan 1857"
+    },
+    {
+        "name": "OS Town Plans, Glasgow 1857-1858 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Glasgow 1857-1858, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/glasgow1857/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -4.31575491,
+                    55.82072009
+                ],
+                [
+                    -4.319683,
+                    55.88667625
+                ],
+                [
+                    -4.1771319,
+                    55.88928081
+                ],
+                [
+                    -4.1734447,
+                    55.82331825
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/glasgow_1.html",
+        "terms_text": "National Library of Scotland - Glasgow 1857-1858"
+    },
+    {
+        "name": "OS Town Plans, Glasgow 1892-1894 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Glasgow 1892-1894, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/glasgow1894/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -4.3465357,
+                    55.81456228
+                ],
+                [
+                    -4.35157646,
+                    55.89806268
+                ],
+                [
+                    -4.17788765,
+                    55.9012587
+                ],
+                [
+                    -4.17321842,
+                    55.81774834
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/glasgow_2.html",
+        "terms_text": "National Library of Scotland - Glasgow 1892-1894"
+    },
+    {
+        "name": "OS Town Plans, Greenock 1857 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Greenock 1857, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/greenock/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -4.78108857,
+                    55.92617865
+                ],
+                [
+                    -4.78382957,
+                    55.96437481
+                ],
+                [
+                    -4.7302257,
+                    55.96557475
+                ],
+                [
+                    -4.72753731,
+                    55.92737687
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/greenock.html",
+        "terms_text": "National Library of Scotland - Greenock 1857"
+    },
+    {
+        "name": "OS Town Plans, Haddington 1853 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Haddington 1853, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/haddington1853/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -2.78855542,
+                    55.9451862
+                ],
+                [
+                    -2.78888196,
+                    55.96124194
+                ],
+                [
+                    -2.76674325,
+                    55.9613817
+                ],
+                [
+                    -2.76642588,
+                    55.94532587
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/haddington_1.html",
+        "terms_text": "National Library of Scotland - Haddington 1853"
+    },
+    {
+        "name": "OS Town Plans, Haddington 1893 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Haddington 1893, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/haddington1893/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -2.80152293,
+                    55.93428734
+                ],
+                [
+                    -2.80214693,
+                    55.96447189
+                ],
+                [
+                    -2.76038069,
+                    55.9647367
+                ],
+                [
+                    -2.75978916,
+                    55.93455185
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/haddington_2.html",
+        "terms_text": "National Library of Scotland - Haddington 1893"
+    },
+    {
+        "name": "OS Town Plans, Hamilton 1858 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Hamilton 1858, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/hamilton/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -4.06721642,
+                    55.74877265
+                ],
+                [
+                    -4.06924047,
+                    55.78698508
+                ],
+                [
+                    -4.01679233,
+                    55.78785698
+                ],
+                [
+                    -4.01481949,
+                    55.74964331
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/hamilton.html",
+        "terms_text": "National Library of Scotland - Hamilton 1858"
+    },
+    {
+        "name": "OS Town Plans, Hawick 1857-1858 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Hawick 1857-1858, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/hawick/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -2.80130149,
+                    55.4102516
+                ],
+                [
+                    -2.80176329,
+                    55.43304638
+                ],
+                [
+                    -2.7708832,
+                    55.43324489
+                ],
+                [
+                    -2.77043917,
+                    55.41044995
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/hawick.html",
+        "terms_text": "National Library of Scotland - Hawick 1857-1858"
+    },
+    {
+        "name": "OS Town Plans, Inverness 1867-1868 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Inverness 1867-1868, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/inverness/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -4.25481758,
+                    57.45916363
+                ],
+                [
+                    -4.25752308,
+                    57.50302387
+                ],
+                [
+                    -4.19713638,
+                    57.50409032
+                ],
+                [
+                    -4.1945031,
+                    57.46022829
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/inverness.html",
+        "terms_text": "National Library of Scotland - Inverness 1867-1868"
+    },
+    {
+        "name": "OS Town Plans, Irvine 1859 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Irvine 1859, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/irvine/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -4.67540402,
+                    55.60649957
+                ],
+                [
+                    -4.67643252,
+                    55.62159024
+                ],
+                [
+                    -4.65537888,
+                    55.62204812
+                ],
+                [
+                    -4.65435844,
+                    55.60695719
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/irvine.html",
+        "terms_text": "National Library of Scotland - Irvine 1859"
+    },
+    {
+        "name": "OS Town Plans, Jedburgh 1858 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Jedburgh 1858, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/jedburgh/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -2.56332521,
+                    55.47105448
+                ],
+                [
+                    -2.56355503,
+                    55.48715562
+                ],
+                [
+                    -2.54168193,
+                    55.48725438
+                ],
+                [
+                    -2.54146103,
+                    55.47115318
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/jedburgh.html",
+        "terms_text": "National Library of Scotland - Jedburgh 1858"
+    },
+    {
+        "name": "OS Town Plans, Kelso 1857 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Kelso 1857, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/kelso/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -2.44924544,
+                    55.58390848
+                ],
+                [
+                    -2.44949757,
+                    55.6059582
+                ],
+                [
+                    -2.41902085,
+                    55.60606617
+                ],
+                [
+                    -2.41878581,
+                    55.58401636
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/kelso.html",
+        "terms_text": "National Library of Scotland - Kelso 1857"
+    },
+    {
+        "name": "OS Town Plans, Kilmarnock 1857-1859 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Kilmarnock 1857-1859, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/kilmarnock/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -4.51746876,
+                    55.58950933
+                ],
+                [
+                    -4.5194347,
+                    55.62017114
+                ],
+                [
+                    -4.47675652,
+                    55.62104083
+                ],
+                [
+                    -4.4748238,
+                    55.59037802
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/kilmarnock.html",
+        "terms_text": "National Library of Scotland - Kilmarnock 1857-1859"
+    },
+    {
+        "name": "OS Town Plans, Kirkcaldy 1855 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Kirkcaldy 1855, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/kirkcaldy1855/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.17455285,
+                    56.09518942
+                ],
+                [
+                    -3.17554995,
+                    56.12790251
+                ],
+                [
+                    -3.12991402,
+                    56.12832843
+                ],
+                [
+                    -3.12895559,
+                    56.09561481
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/kirkcaldy_1.html",
+        "terms_text": "National Library of Scotland - Kirkcaldy 1855"
+    },
+    {
+        "name": "OS Town Plans, Kirkcaldy 1894 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Kirkcaldy 1894, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/kirkcaldy1894/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.17460426,
+                    56.09513375
+                ],
+                [
+                    -3.17560428,
+                    56.12794116
+                ],
+                [
+                    -3.12989512,
+                    56.12836777
+                ],
+                [
+                    -3.12893395,
+                    56.09555983
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/kirkcaldy_2.html",
+        "terms_text": "National Library of Scotland - Kirkcaldy 1894"
+    },
+    {
+        "name": "OS Town Plans, Kirkcudbright 1850 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Kirkcudbright 1850, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/kirkcudbright1850/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -4.06154334,
+                    54.82586314
+                ],
+                [
+                    -4.0623081,
+                    54.84086061
+                ],
+                [
+                    -4.0420219,
+                    54.84120364
+                ],
+                [
+                    -4.04126464,
+                    54.82620598
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/kirkcudbright_1.html",
+        "terms_text": "National Library of Scotland - Kirkcudbright 1850"
+    },
+    {
+        "name": "OS Town Plans, Kirkcudbright 1893 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Kirkcudbright 1893, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/kirkcudbright1893/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -4.06001868,
+                    54.82720122
+                ],
+                [
+                    -4.06079036,
+                    54.84234455
+                ],
+                [
+                    -4.04025067,
+                    54.84269158
+                ],
+                [
+                    -4.03948667,
+                    54.82754805
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/kirkcudbright_2.html",
+        "terms_text": "National Library of Scotland - Kirkcudbright 1893"
+    },
+    {
+        "name": "OS Town Plans, Kirkintilloch 1859 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Kirkintilloch 1859, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/kirkintilloch/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -4.16664222,
+                    55.93124287
+                ],
+                [
+                    -4.16748402,
+                    55.94631265
+                ],
+                [
+                    -4.14637318,
+                    55.94668235
+                ],
+                [
+                    -4.14553956,
+                    55.93161237
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/kirkintilloch.html",
+        "terms_text": "National Library of Scotland - Kirkintilloch 1859"
+    },
+    {
+        "name": "OS Town Plans, Kirriemuir 1861 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Kirriemuir 1861, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/kirriemuir/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.01255744,
+                    56.65896044
+                ],
+                [
+                    -3.01302683,
+                    56.67645382
+                ],
+                [
+                    -2.98815879,
+                    56.67665366
+                ],
+                [
+                    -2.98770092,
+                    56.65916014
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/kirriemuir.html",
+        "terms_text": "National Library of Scotland - Kirriemuir 1861"
+    },
+    {
+        "name": "OS Town Plans, Lanark 1858 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Lanark 1858, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/lanark/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.78642584,
+                    55.66308804
+                ],
+                [
+                    -3.78710605,
+                    55.67800854
+                ],
+                [
+                    -3.76632876,
+                    55.67830935
+                ],
+                [
+                    -3.76565645,
+                    55.66338868
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/lanark.html",
+        "terms_text": "National Library of Scotland - Lanark 1858"
+    },
+    {
+        "name": "OS Town Plans, Linlithgow 1856 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Linlithgow 1856, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/linlithgow/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.61908334,
+                    55.95549561
+                ],
+                [
+                    -3.62033259,
+                    55.98538615
+                ],
+                [
+                    -3.57838447,
+                    55.98593047
+                ],
+                [
+                    -3.57716753,
+                    55.95603932
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/linlithgow.html",
+        "terms_text": "National Library of Scotland - Linlithgow 1856"
+    },
+    {
+        "name": "OS Town Plans, Mayole 1856-1857 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Mayole 1856-1857, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/maybole/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -4.69086378,
+                    55.34340178
+                ],
+                [
+                    -4.6918884,
+                    55.35849731
+                ],
+                [
+                    -4.67089656,
+                    55.35895813
+                ],
+                [
+                    -4.6698799,
+                    55.34386234
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/maybole.html",
+        "terms_text": "National Library of Scotland - Mayole 1856-1857"
+    },
+    {
+        "name": "OS Town Plans, Montrose 1861-1862 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Montrose 1861-1862, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/montrose/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -2.4859324,
+                    56.69645192
+                ],
+                [
+                    -2.4862257,
+                    56.71918799
+                ],
+                [
+                    -2.45405417,
+                    56.71930941
+                ],
+                [
+                    -2.45378027,
+                    56.69657324
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/montrose.html",
+        "terms_text": "National Library of Scotland - Montrose 1861-1862"
+    },
+    {
+        "name": "OS Town Plans, Musselburgh 1853 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Musselburgh 1853, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/musselburgh1853/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.07888558,
+                    55.93371953
+                ],
+                [
+                    -3.07954151,
+                    55.95729781
+                ],
+                [
+                    -3.03240684,
+                    55.95770177
+                ],
+                [
+                    -3.03177952,
+                    55.93412313
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/musselburgh_1.html",
+        "terms_text": "National Library of Scotland - Musselburgh 1853"
+    },
+    {
+        "name": "OS Town Plans, Musselburgh 1893 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Musselburgh 1893, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/musselburgh1893/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.07017621,
+                    55.92694102
+                ],
+                [
+                    -3.07078961,
+                    55.94917624
+                ],
+                [
+                    -3.03988228,
+                    55.94944099
+                ],
+                [
+                    -3.03928658,
+                    55.92720556
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/musselburgh_2.html",
+        "terms_text": "National Library of Scotland - Musselburgh 1893"
+    },
+    {
+        "name": "OS Town Plans, Nairn 1867-1868 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Nairn 1867-1868, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/nairn/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.88433907,
+                    57.57899149
+                ],
+                [
+                    -3.88509905,
+                    57.5936822
+                ],
+                [
+                    -3.85931017,
+                    57.59406441
+                ],
+                [
+                    -3.85856057,
+                    57.57937348
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/nairn.html",
+        "terms_text": "National Library of Scotland - Nairn 1867-1868"
+    },
+    {
+        "name": "OS Town Plans, Oban 1867-1868 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Oban 1867-1868, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/oban/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -5.49548449,
+                    56.39080407
+                ],
+                [
+                    -5.49836627,
+                    56.42219039
+                ],
+                [
+                    -5.45383984,
+                    56.42343933
+                ],
+                [
+                    -5.45099456,
+                    56.39205153
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/oban.html",
+        "terms_text": "National Library of Scotland - Oban 1867-1868"
+    },
+    {
+        "name": "OS Town Plans, Paisley 1858 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Paisley 1858, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/paisley/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -4.45144945,
+                    55.85448259
+                ],
+                [
+                    -4.4036847,
+                    55.85420972
+                ],
+                [
+                    -4.40371385,
+                    55.83065193
+                ],
+                [
+                    -4.4514497,
+                    55.83092507
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/paisley.html",
+        "terms_text": "National Library of Scotland - Paisley 1858"
+    },
+    {
+        "name": "OS Town Plans, Peebles 1856 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Peebles 1856, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/peebles/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.20921287,
+                    55.63635834
+                ],
+                [
+                    -3.20990288,
+                    55.65873817
+                ],
+                [
+                    -3.17896372,
+                    55.65903935
+                ],
+                [
+                    -3.17829135,
+                    55.63665927
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/peebles.html",
+        "terms_text": "National Library of Scotland - Peebles 1856"
+    },
+    {
+        "name": "OS Town Plans, Perth 1860 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Perth 1860, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/perth/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.45302495,
+                    56.37794226
+                ],
+                [
+                    -3.45416664,
+                    56.40789908
+                ],
+                [
+                    -3.41187528,
+                    56.40838777
+                ],
+                [
+                    -3.41076676,
+                    56.3784304
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/perth.html",
+        "terms_text": "National Library of Scotland - Perth 1860"
+    },
+    {
+        "name": "OS Town Plans, Peterhead 1868 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Peterhead 1868, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/peterhead/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -1.80513747,
+                    57.48046916
+                ],
+                [
+                    -1.80494005,
+                    57.51755411
+                ],
+                [
+                    -1.75135366,
+                    57.51746003
+                ],
+                [
+                    -1.75160539,
+                    57.48037522
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/peterhead",
+        "terms_text": "National Library of Scotland - Peterhead 1868"
+    },
+    {
+        "name": "OS Town Plans, Port Glasgow 1856-1857 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Port Glasgow 1856-1857, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/portglasgow/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -4.70063209,
+                    55.91995983
+                ],
+                [
+                    -4.70222026,
+                    55.9427679
+                ],
+                [
+                    -4.67084958,
+                    55.94345237
+                ],
+                [
+                    -4.6692798,
+                    55.92064372
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/port-glasgow.html",
+        "terms_text": "National Library of Scotland - Port Glasgow 1856-1857"
+    },
+    {
+        "name": "OS Town Plans, Portobello 1893-1894 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Portobello 1893-1894, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/portobello/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.12437919,
+                    55.93846889
+                ],
+                [
+                    -3.1250234,
+                    55.96068605
+                ],
+                [
+                    -3.09394827,
+                    55.96096586
+                ],
+                [
+                    -3.09332184,
+                    55.93874847
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/portobello.html",
+        "terms_text": "National Library of Scotland - Portobello 1893-1894"
+    },
+    {
+        "name": "OS Town Plans, Rothesay 1862-1863 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Rothesay 1862-1863, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/rothesay/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -5.06449893,
+                    55.82864114
+                ],
+                [
+                    -5.06569719,
+                    55.84385927
+                ],
+                [
+                    -5.04413114,
+                    55.84439519
+                ],
+                [
+                    -5.04294127,
+                    55.82917676
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/rothesay.html",
+        "terms_text": "National Library of Scotland - Rothesay 1862-1863"
+    },
+    {
+        "name": "OS Town Plans, Selkirk 1865 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Selkirk 1865, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/selkirk/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -2.85998582,
+                    55.53499576
+                ],
+                [
+                    -2.86063259,
+                    55.56459732
+                ],
+                [
+                    -2.82003242,
+                    55.56487574
+                ],
+                [
+                    -2.81941615,
+                    55.53527387
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/selkirk.html",
+        "terms_text": "National Library of Scotland - Selkirk 1865"
+    },
+    {
+        "name": "OS Town Plans, St Andrews 1854 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of St Andrews 1854, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/standrews1854/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -2.81342686,
+                    56.32097352
+                ],
+                [
+                    -2.81405804,
+                    56.3506222
+                ],
+                [
+                    -2.77243712,
+                    56.35088865
+                ],
+                [
+                    -2.77183819,
+                    56.32123967
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/st-andrews_1.html",
+        "terms_text": "National Library of Scotland - St Andrews 1854"
+    },
+    {
+        "name": "OS Town Plans, St Andrews 1893 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of St Andrews 1893, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/standrews1893/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -2.81545583,
+                    56.31861733
+                ],
+                [
+                    -2.81609919,
+                    56.3487653
+                ],
+                [
+                    -2.77387785,
+                    56.34903619
+                ],
+                [
+                    -2.77326775,
+                    56.31888792
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/st-andrews_2.html",
+        "terms_text": "National Library of Scotland - St Andrews 1893"
+    },
+    {
+        "name": "OS Town Plans, Stirling 1858 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Stirling 1858, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/stirling/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.95768489,
+                    56.10754239
+                ],
+                [
+                    -3.95882978,
+                    56.13007142
+                ],
+                [
+                    -3.92711024,
+                    56.13057046
+                ],
+                [
+                    -3.92598386,
+                    56.10804101
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/stirling.html",
+        "terms_text": "National Library of Scotland - Stirling 1858"
+    },
+    {
+        "name": "OS Town Plans, Stonehaven 1864 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Stonehaven 1864, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/stonehaven/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -2.220167,
+                    56.9565098
+                ],
+                [
+                    -2.2202543,
+                    56.97129283
+                ],
+                [
+                    -2.19924399,
+                    56.9713281
+                ],
+                [
+                    -2.19916501,
+                    56.95654504
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/stonehaven.html",
+        "terms_text": "National Library of Scotland - Stonehaven 1864"
+    },
+    {
+        "name": "OS Town Plans, Stranraer 1847 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Stranraer 1847, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/stranraer1847/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -5.04859743,
+                    54.8822997
+                ],
+                [
+                    -5.0508954,
+                    54.91268061
+                ],
+                [
+                    -5.0095373,
+                    54.91371278
+                ],
+                [
+                    -5.00727037,
+                    54.88333071
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/stranraer_1.html",
+        "terms_text": "National Library of Scotland - Stranraer 1847"
+    },
+    {
+        "name": "OS Town Plans, Stranraer 1863-1877 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Stranraer 1863-1877, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/stranraer1867/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -5.04877289,
+                    54.88228699
+                ],
+                [
+                    -5.05107324,
+                    54.9126976
+                ],
+                [
+                    -5.00947337,
+                    54.91373582
+                ],
+                [
+                    -5.00720427,
+                    54.88332405
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/stranraer_1a.html",
+        "terms_text": "National Library of Scotland - Stranraer 1863-1877"
+    },
+    {
+        "name": "OS Town Plans, Stranraer 1893 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Stranraer 1893, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/stranraer1893/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -5.04418424,
+                    54.89773858
+                ],
+                [
+                    -5.04511026,
+                    54.90999885
+                ],
+                [
+                    -5.0140499,
+                    54.91077389
+                ],
+                [
+                    -5.0131333,
+                    54.89851327
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/stranraer_2.html",
+        "terms_text": "National Library of Scotland - Stranraer 1893"
+    },
+    {
+        "name": "OS Town Plans, Strathaven 1858 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Strathaven 1858, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/strathaven/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -4.06914872,
+                    55.67242091
+                ],
+                [
+                    -4.06954357,
+                    55.67989707
+                ],
+                [
+                    -4.05917487,
+                    55.6800715
+                ],
+                [
+                    -4.05878199,
+                    55.67259529
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/strathaven.html",
+        "terms_text": "National Library of Scotland - Strathaven 1858"
+    },
+    {
+        "name": "OS Town Plans, Wick 1872 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Wick 1872, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/wick/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -3.11470001,
+                    58.41344839
+                ],
+                [
+                    -3.11588837,
+                    58.45101446
+                ],
+                [
+                    -3.05949843,
+                    58.45149284
+                ],
+                [
+                    -3.05837008,
+                    58.41392606
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/wick.html",
+        "terms_text": "National Library of Scotland - Wick 1872"
+    },
+    {
+        "name": "OS Town Plans, Wigtown 1848 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Wigtown 1848, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/wigtown1848/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -4.45235587,
+                    54.8572296
+                ],
+                [
+                    -4.45327284,
+                    54.87232603
+                ],
+                [
+                    -4.43254469,
+                    54.87274317
+                ],
+                [
+                    -4.43163545,
+                    54.85764651
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/wigtown_1.html",
+        "terms_text": "National Library of Scotland - Wigtown 1848"
+    },
+    {
+        "name": "OS Town Plans, Wigtown 1894 (NLS)",
+        "type": "tms",
+        "description": "Detailed town plan of Wigtown 1894, courtesy of National Library of Scotland.",
+        "template": "http://geo.nls.uk/maps/towns/wigtown1894/{zoom}/{x}/{-y}.png",
+        "scaleExtent": [
+            13,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    -4.45233361,
+                    54.85721131
+                ],
+                [
+                    -4.45325423,
+                    54.87236807
+                ],
+                [
+                    -4.43257837,
+                    54.87278416
+                ],
+                [
+                    -4.43166549,
+                    54.85762716
+                ]
+            ]
+        ],
+        "terms_url": "http://maps.nls.uk/townplans/wigtown_2.html",
+        "terms_text": "National Library of Scotland - Wigtown 1894"
+    },
+    {
+        "name": "OpenPT Map (overlay)",
+        "type": "tms",
+        "template": "http://openptmap.de/tiles/{zoom}/{x}/{y}.png",
+        "scaleExtent": [
+            5,
+            16
+        ],
+        "polygon": [
+            [
+                [
+                    6.4901072,
+                    53.665658
+                ],
+                [
+                    8.5665347,
+                    53.9848257
+                ],
+                [
+                    8.1339457,
+                    54.709715
+                ],
+                [
+                    8.317796,
+                    55.0952362
+                ],
+                [
+                    10.1887438,
+                    54.7783834
+                ],
+                [
+                    10.6321475,
+                    54.4778841
+                ],
+                [
+                    11.2702164,
+                    54.6221504
+                ],
+                [
+                    11.681176,
+                    54.3709243
+                ],
+                [
+                    12.0272473,
+                    54.3898199
+                ],
+                [
+                    13.3250145,
+                    54.8531617
+                ],
+                [
+                    13.9198245,
+                    54.6972173
+                ],
+                [
+                    14.2118221,
+                    54.1308273
+                ],
+                [
+                    14.493005,
+                    53.2665063
+                ],
+                [
+                    14.1577485,
+                    52.8766495
+                ],
+                [
+                    14.7525584,
+                    52.5819369
+                ],
+                [
+                    15.0986297,
+                    51.0171541
+                ],
+                [
+                    14.9364088,
+                    50.8399279
+                ],
+                [
+                    14.730929,
+                    50.7920977
+                ],
+                [
+                    14.4389313,
+                    50.8808862
+                ],
+                [
+                    12.9573138,
+                    50.3939044
+                ],
+                [
+                    12.51391,
+                    50.3939044
+                ],
+                [
+                    12.3084302,
+                    50.1173237
+                ],
+                [
+                    12.6112425,
+                    49.9088337
+                ],
+                [
+                    12.394948,
+                    49.7344006
+                ],
+                [
+                    12.7734634,
+                    49.4047626
+                ],
+                [
+                    14.1469337,
+                    48.6031036
+                ],
+                [
+                    14.6768553,
+                    48.6531391
+                ],
+                [
+                    15.0661855,
+                    49.0445497
+                ],
+                [
+                    16.2666202,
+                    48.7459305
+                ],
+                [
+                    16.4937294,
+                    48.8741286
+                ],
+                [
+                    16.904689,
+                    48.7173975
+                ],
+                [
+                    16.9371332,
+                    48.5315383
+                ],
+                [
+                    16.8384693,
+                    48.3823161
+                ],
+                [
+                    17.2017097,
+                    48.010204
+                ],
+                [
+                    17.1214145,
+                    47.6997605
+                ],
+                [
+                    16.777292,
+                    47.6585709
+                ],
+                [
+                    16.6090543,
+                    47.7460598
+                ],
+                [
+                    16.410228,
+                    47.6637214
+                ],
+                [
+                    16.7352326,
+                    47.6147714
+                ],
+                [
+                    16.5555242,
+                    47.3589738
+                ],
+                [
+                    16.4790525,
+                    46.9768539
+                ],
+                [
+                    16.0355168,
+                    46.8096295
+                ],
+                [
+                    16.0508112,
+                    46.6366332
+                ],
+                [
+                    14.9572663,
+                    46.6313822
+                ],
+                [
+                    14.574908,
+                    46.3892866
+                ],
+                [
+                    12.3954655,
+                    46.6891149
+                ],
+                [
+                    12.1507562,
+                    47.0550608
+                ],
+                [
+                    11.1183887,
+                    46.9142058
+                ],
+                [
+                    11.0342699,
+                    46.7729797
+                ],
+                [
+                    10.4836739,
+                    46.8462544
+                ],
+                [
+                    10.4607324,
+                    46.5472973
+                ],
+                [
+                    10.1013156,
+                    46.5735879
+                ],
+                [
+                    10.2007287,
+                    46.1831867
+                ],
+                [
+                    9.8948421,
+                    46.3629068
+                ],
+                [
+                    9.5966026,
+                    46.2889758
+                ],
+                [
+                    9.2983631,
+                    46.505206
+                ],
+                [
+                    9.2830687,
+                    46.2572605
+                ],
+                [
+                    9.0536537,
+                    45.7953255
+                ],
+                [
+                    8.4265861,
+                    46.2466846
+                ],
+                [
+                    8.4418804,
+                    46.4736161
+                ],
+                [
+                    7.8759901,
+                    45.9284607
+                ],
+                [
+                    7.0959791,
+                    45.8645956
+                ],
+                [
+                    6.7747981,
+                    46.1620044
+                ],
+                [
+                    6.8206811,
+                    46.4051083
+                ],
+                [
+                    6.5453831,
+                    46.4578142
+                ],
+                [
+                    6.3312624,
+                    46.3840116
+                ],
+                [
+                    6.3847926,
+                    46.2466846
+                ],
+                [
+                    5.8953739,
+                    46.0878021
+                ],
+                [
+                    6.1171418,
+                    46.3681838
+                ],
+                [
+                    6.0942003,
+                    46.5998657
+                ],
+                [
+                    6.4383228,
+                    46.7782169
+                ],
+                [
+                    6.4306756,
+                    46.9298747
+                ],
+                [
+                    7.0806847,
+                    47.3460216
+                ],
+                [
+                    6.8436226,
+                    47.3719227
+                ],
+                [
+                    6.9965659,
+                    47.5012373
+                ],
+                [
+                    7.1800979,
+                    47.5064033
+                ],
+                [
+                    7.2336281,
+                    47.439206
+                ],
+                [
+                    7.4553959,
+                    47.4805683
+                ],
+                [
+                    7.7842241,
+                    48.645735
+                ],
+                [
+                    8.1971711,
+                    49.0282701
+                ],
+                [
+                    7.6006921,
+                    49.0382974
+                ],
+                [
+                    7.4477487,
+                    49.1634679
+                ],
+                [
+                    7.2030394,
+                    49.1034255
+                ],
+                [
+                    6.6677378,
+                    49.1634679
+                ],
+                [
+                    6.6371491,
+                    49.3331933
+                ],
+                [
+                    6.3542039,
+                    49.4576194
+                ],
+                [
+                    6.5453831,
+                    49.8043366
+                ],
+                [
+                    6.2471436,
+                    49.873384
+                ],
+                [
+                    6.0789059,
+                    50.1534883
+                ],
+                [
+                    6.3618511,
+                    50.3685934
+                ],
+                [
+                    6.0865531,
+                    50.7039632
+                ],
+                [
+                    5.8800796,
+                    51.0513752
+                ],
+                [
+                    6.1247889,
+                    51.1618085
+                ],
+                [
+                    6.1936134,
+                    51.491527
+                ],
+                [
+                    5.9641984,
+                    51.7526501
+                ],
+                [
+                    6.0253758,
+                    51.8897286
+                ],
+                [
+                    6.4536171,
+                    51.8661241
+                ],
+                [
+                    6.8436226,
+                    51.9557552
+                ],
+                [
+                    6.6906793,
+                    52.0499105
+                ],
+                [
+                    7.0042131,
+                    52.2282603
+                ],
+                [
+                    7.0195074,
+                    52.4525245
+                ],
+                [
+                    6.6983264,
+                    52.4665032
+                ],
+                [
+                    6.6906793,
+                    52.6524628
+                ],
+                [
+                    7.0348017,
+                    52.6385432
+                ],
+                [
+                    7.0730376,
+                    52.8330151
+                ],
+                [
+                    7.2183337,
+                    52.9852064
+                ],
+                [
+                    7.1953922,
+                    53.3428087
+                ],
+                [
+                    7.0042131,
+                    53.3291098
+                ]
+            ]
+        ],
+        "terms_url": "http://openstreetmap.org/",
+        "terms_text": "© OpenStreetMap contributors, CC-BY-SA"
+    },
+    {
+        "name": "OpenStreetMap (Mapnik)",
+        "type": "tms",
+        "description": "The default OpenStreetMap layer.",
+        "template": "http://{switch:a,b,c}.tile.openstreetmap.org/{zoom}/{x}/{y}.png",
+        "scaleExtent": [
+            0,
+            19
+        ],
+        "terms_url": "http://openstreetmap.org/",
+        "terms_text": "© OpenStreetMap contributors, CC-BY-SA",
+        "id": "MAPNIK",
+        "default": true
+    },
+    {
+        "name": "OpenStreetMap GPS traces",
+        "type": "tms",
+        "description": "Public GPS traces uploaded to OpenStreetMap.",
+        "template": "http://{switch:a,b,c}.gps-tile.openstreetmap.org/lines/{zoom}/{x}/{y}.png",
+        "scaleExtent": [
+            0,
+            20
+        ],
+        "terms_url": "http://www.openstreetmap.org/copyright",
+        "terms_text": "© OpenStreetMap contributors",
+        "terms_html": "© <a href='http://www.openstreetmap.org/copyright'>OpenStreetMap contributors</a>. North: <span style='display: inline-block; width: 10px; height: 10px; background-color: #7fed11;'></span> South: <span style='display: inline-block; width: 10px; height: 10px; background-color: #7f11ed;'></span> East: <span style='display: inline-block; width: 10px; height: 10px; background-color: #ff3f3f;'></span> West: <span style='display: inline-block; width: 10px; height: 10px; background-color: #00bfbf;'></span>",
+        "overlay": true
+    },
+    {
+        "name": "Pangasinán/Bulacan (Phillipines HiRes)",
+        "type": "tms",
+        "template": "http://gravitystorm.dev.openstreetmap.org/imagery/philippines/{zoom}/{x}/{y}.png",
+        "scaleExtent": [
+            12,
+            19
+        ],
+        "polygon": [
+            [
+                [
+                    120.336593,
+                    15.985768
+                ],
+                [
+                    120.445995,
+                    15.984
+                ],
+                [
+                    120.446134,
+                    15.974459
+                ],
+                [
+                    120.476464,
+                    15.974592
+                ],
+                [
+                    120.594247,
+                    15.946832
+                ],
+                [
+                    120.598064,
+                    16.090795
+                ],
+                [
+                    120.596537,
+                    16.197999
+                ],
+                [
+                    120.368537,
+                    16.218527
+                ],
+                [
+                    120.347576,
+                    16.042308
+                ],
+                [
+                    120.336593,
+                    15.985768
+                ]
+            ],
+            [
+                [
+                    120.8268,
+                    15.3658
+                ],
+                [
+                    121.2684,
+                    15.2602
+                ],
+                [
+                    121.2699,
+                    14.7025
+                ],
+                [
+                    120.695,
+                    14.8423
+                ]
+            ]
+        ]
+    },
+    {
+        "name": "Slovakia EEA CORINE 2006",
+        "type": "tms",
+        "template": "http://www.freemap.sk/tms/clc/{zoom}/{x}/{y}.png",
+        "polygon": [
+            [
+                [
+                    19.83682,
+                    49.25529
+                ],
+                [
+                    19.80075,
+                    49.42385
+                ],
+                [
+                    19.60437,
+                    49.48058
+                ],
+                [
+                    19.49179,
+                    49.63961
+                ],
+                [
+                    19.21831,
+                    49.52604
+                ],
+                [
+                    19.16778,
+                    49.42521
+                ],
+                [
+                    19.00308,
+                    49.42236
+                ],
+                [
+                    18.97611,
+                    49.5308
+                ],
+                [
+                    18.54685,
+                    49.51425
+                ],
+                [
+                    18.31432,
+                    49.33818
+                ],
+                [
+                    18.15913,
+                    49.2961
+                ],
+                [
+                    18.05564,
+                    49.11134
+                ],
+                [
+                    17.56396,
+                    48.84938
+                ],
+                [
+                    17.17929,
+                    48.88816
+                ],
+                [
+                    17.058,
+                    48.81105
+                ],
+                [
+                    16.90426,
+                    48.61947
+                ],
+                [
+                    16.79685,
+                    48.38561
+                ],
+                [
+                    17.06762,
+                    48.01116
+                ],
+                [
+                    17.32787,
+                    47.97749
+                ],
+                [
+                    17.51699,
+                    47.82535
+                ],
+                [
+                    17.74776,
+                    47.73093
+                ],
+                [
+                    18.29515,
+                    47.72075
+                ],
+                [
+                    18.67959,
+                    47.75541
+                ],
+                [
+                    18.89755,
+                    47.81203
+                ],
+                [
+                    18.79463,
+                    47.88245
+                ],
+                [
+                    18.84318,
+                    48.04046
+                ],
+                [
+                    19.46212,
+                    48.05333
+                ],
+                [
+                    19.62064,
+                    48.22938
+                ],
+                [
+                    19.89585,
+                    48.09387
+                ],
+                [
+                    20.33766,
+                    48.2643
+                ],
+                [
+                    20.55395,
+                    48.52358
+                ],
+                [
+                    20.82335,
+                    48.55714
+                ],
+                [
+                    21.10271,
+                    48.47096
+                ],
+                [
+                    21.45863,
+                    48.55513
+                ],
+                [
+                    21.74536,
+                    48.31435
+                ],
+                [
+                    22.15293,
+                    48.37179
+                ],
+                [
+                    22.61255,
+                    49.08914
+                ],
+                [
+                    22.09997,
+                    49.23814
+                ],
+                [
+                    21.9686,
+                    49.36363
+                ],
+                [
+                    21.6244,
+                    49.46989
+                ],
+                [
+                    21.06873,
+                    49.46402
+                ],
+                [
+                    20.94336,
+                    49.31088
+                ],
+                [
+                    20.73052,
+                    49.44006
+                ],
+                [
+                    20.22804,
+                    49.41714
+                ],
+                [
+                    20.05234,
+                    49.23052
+                ],
+                [
+                    19.83682,
+                    49.25529
+                ]
+            ]
+        ],
+        "terms_url": "http://www.eea.europa.eu/data-and-maps/data/clc-2006-vector-data-version-1",
+        "terms_text": "EEA Corine 2006"
+    },
+    {
+        "name": "Slovakia EEA GMES Urban Atlas",
+        "type": "tms",
+        "template": "http://www.freemap.sk/tms/urbanatlas/{zoom}/{x}/{y}.png",
+        "polygon": [
+            [
+                [
+                    19.83682,
+                    49.25529
+                ],
+                [
+                    19.80075,
+                    49.42385
+                ],
+                [
+                    19.60437,
+                    49.48058
+                ],
+                [
+                    19.49179,
+                    49.63961
+                ],
+                [
+                    19.21831,
+                    49.52604
+                ],
+                [
+                    19.16778,
+                    49.42521
+                ],
+                [
+                    19.00308,
+                    49.42236
+                ],
+                [
+                    18.97611,
+                    49.5308
+                ],
+                [
+                    18.54685,
+                    49.51425
+                ],
+                [
+                    18.31432,
+                    49.33818
+                ],
+                [
+                    18.15913,
+                    49.2961
+                ],
+                [
+                    18.05564,
+                    49.11134
+                ],
+                [
+                    17.56396,
+                    48.84938
+                ],
+                [
+                    17.17929,
+                    48.88816
+                ],
+                [
+                    17.058,
+                    48.81105
+                ],
+                [
+                    16.90426,
+                    48.61947
+                ],
+                [
+                    16.79685,
+                    48.38561
+                ],
+                [
+                    17.06762,
+                    48.01116
+                ],
+                [
+                    17.32787,
+                    47.97749
+                ],
+                [
+                    17.51699,
+                    47.82535
+                ],
+                [
+                    17.74776,
+                    47.73093
+                ],
+                [
+                    18.29515,
+                    47.72075
+                ],
+                [
+                    18.67959,
+                    47.75541
+                ],
+                [
+                    18.89755,
+                    47.81203
+                ],
+                [
+                    18.79463,
+                    47.88245
+                ],
+                [
+                    18.84318,
+                    48.04046
+                ],
+                [
+                    19.46212,
+                    48.05333
+                ],
+                [
+                    19.62064,
+                    48.22938
+                ],
+                [
+                    19.89585,
+                    48.09387
+                ],
+                [
+                    20.33766,
+                    48.2643
+                ],
+                [
+                    20.55395,
+                    48.52358
+                ],
+                [
+                    20.82335,
+                    48.55714
+                ],
+                [
+                    21.10271,
+                    48.47096
+                ],
+                [
+                    21.45863,
+                    48.55513
+                ],
+                [
+                    21.74536,
+                    48.31435
+                ],
+                [
+                    22.15293,
+                    48.37179
+                ],
+                [
+                    22.61255,
+                    49.08914
+                ],
+                [
+                    22.09997,
+                    49.23814
+                ],
+                [
+                    21.9686,
+                    49.36363
+                ],
+                [
+                    21.6244,
+                    49.46989
+                ],
+                [
+                    21.06873,
+                    49.46402
+                ],
+                [
+                    20.94336,
+                    49.31088
+                ],
+                [
+                    20.73052,
+                    49.44006
+                ],
+                [
+                    20.22804,
+                    49.41714
+                ],
+                [
+                    20.05234,
+                    49.23052
+                ],
+                [
+                    19.83682,
+                    49.25529
+                ]
+            ]
+        ],
+        "terms_url": "http://www.eea.europa.eu/data-and-maps/data/urban-atlas",
+        "terms_text": "EEA GMES Urban Atlas"
+    },
+    {
+        "name": "Slovakia Historic Maps",
+        "type": "tms",
+        "template": "http://tms.freemap.sk/historicke/{zoom}/{x}/{y}.png",
+        "scaleExtent": [
+            0,
+            12
+        ],
+        "polygon": [
+            [
+                [
+                    16.8196949,
+                    47.4927236
+                ],
+                [
+                    16.8196949,
+                    49.5030322
+                ],
+                [
+                    22.8388318,
+                    49.5030322
+                ],
+                [
+                    22.8388318,
+                    47.4927236
+                ],
+                [
+                    16.8196949,
+                    47.4927236
+                ]
+            ]
+        ]
+    },
+    {
+        "name": "South Africa CD:NGI Aerial",
+        "type": "tms",
+        "template": "http://{switch:a,b,c}.aerial.openstreetmap.org.za/ngi-aerial/{zoom}/{x}/{y}.jpg",
+        "scaleExtent": [
+            1,
+            22
+        ],
+        "polygon": [
+            [
+                [
+                    17.8396817,
+                    -32.7983384
+                ],
+                [
+                    17.8893509,
+                    -32.6972835
+                ],
+                [
+                    18.00364,
+                    -32.6982187
+                ],
+                [
+                    18.0991679,
+                    -32.7485251
+                ],
+                [
+                    18.2898747,
+                    -32.5526645
+                ],
+                [
+                    18.2930182,
+                    -32.0487089
+                ],
+                [
+                    18.105455,
+                    -31.6454966
+                ],
+                [
+                    17.8529257,
+                    -31.3443951
+                ],
+                [
+                    17.5480046,
+                    -30.902171
+                ],
+                [
+                    17.4044506,
+                    -30.6374731
+                ],
+                [
+                    17.2493704,
+                    -30.3991663
+                ],
+                [
+                    16.9936977,
+                    -29.6543552
+                ],
+                [
+                    16.7987996,
+                    -29.19437
+                ],
+                [
+                    16.5494139,
+                    -28.8415949
+                ],
+                [
+                    16.4498691,
+                    -28.691876
+                ],
+                [
+                    16.4491046,
+                    -28.5515766
+                ],
+                [
+                    16.6002551,
+                    -28.4825663
+                ],
+                [
+                    16.7514057,
+                    -28.4486958
+                ],
+                [
+                    16.7462192,
+                    -28.2458973
+                ],
+                [
+                    16.8855148,
+                    -28.04729
+                ],
+                [
+                    16.9929502,
+                    -28.0244005
+                ],
+                [
+                    17.0529659,
+                    -28.0257086
+                ],
+                [
+                    17.1007562,
+                    -28.0338839
+                ],
+                [
+                    17.2011527,
+                    -28.0930546
+                ],
+                [
+                    17.2026346,
+                    -28.2328424
+                ],
+                [
+                    17.2474611,
+                    -28.2338215
+                ],
+                [
+                    17.2507953,
+                    -28.198892
+                ],
+                [
+                    17.3511919,
+                    -28.1975861
+                ],
+                [
+                    17.3515624,
+                    -28.2442655
+                ],
+                [
+                    17.4015754,
+                    -28.2452446
+                ],
+                [
+                    17.4149122,
+                    -28.3489751
+                ],
+                [
+                    17.4008345,
+                    -28.547997
+                ],
+                [
+                    17.4526999,
+                    -28.5489733
+                ],
+                [
+                    17.4512071,
+                    -28.6495106
+                ],
+                [
+                    17.4983599,
+                    -28.6872054
+                ],
+                [
+                    17.6028204,
+                    -28.6830048
+                ],
+                [
+                    17.6499732,
+                    -28.6967928
+                ],
+                [
+                    17.6525928,
+                    -28.7381457
+                ],
+                [
+                    17.801386,
+                    -28.7381457
+                ],
+                [
+                    17.9994276,
+                    -28.7560602
+                ],
+                [
+                    18.0002748,
+                    -28.7956172
+                ],
+                [
+                    18.1574507,
+                    -28.8718055
+                ],
+                [
+                    18.5063811,
+                    -28.8718055
+                ],
+                [
+                    18.6153564,
+                    -28.8295875
+                ],
+                [
+                    18.9087513,
+                    -28.8277516
+                ],
+                [
+                    19.1046973,
+                    -28.9488548
+                ],
+                [
+                    19.1969071,
+                    -28.9378513
+                ],
+                [
+                    19.243012,
+                    -28.8516164
+                ],
+                [
+                    19.2314858,
+                    -28.802963
+                ],
+                [
+                    19.2587296,
+                    -28.7009928
+                ],
+                [
+                    19.4431493,
+                    -28.6973163
+                ],
+                [
+                    19.5500289,
+                    -28.4958332
+                ],
+                [
+                    19.6967264,
+                    -28.4939914
+                ],
+                [
+                    19.698822,
+                    -28.4479358
+                ],
+                [
+                    19.8507587,
+                    -28.4433291
+                ],
+                [
+                    19.8497109,
+                    -28.4027818
+                ],
+                [
+                    19.9953605,
+                    -28.399095
+                ],
+                [
+                    19.9893671,
+                    -24.7497859
+                ],
+                [
+                    20.2916682,
+                    -24.9192346
+                ],
+                [
+                    20.4724562,
+                    -25.1501701
+                ],
+                [
+                    20.6532441,
+                    -25.4529449
+                ],
+                [
+                    20.733265,
+                    -25.6801957
+                ],
+                [
+                    20.8281046,
+                    -25.8963498
+                ],
+                [
+                    20.8429232,
+                    -26.215851
+                ],
+                [
+                    20.6502804,
+                    -26.4840868
+                ],
+                [
+                    20.6532441,
+                    -26.8204869
+                ],
+                [
+                    21.0889134,
+                    -26.846933
+                ],
+                [
+                    21.6727695,
+                    -26.8389998
+                ],
+                [
+                    21.7765003,
+                    -26.6696268
+                ],
+                [
+                    21.9721069,
+                    -26.6431395
+                ],
+                [
+                    22.2803355,
+                    -26.3274702
+                ],
+                [
+                    22.5707817,
+                    -26.1333967
+                ],
+                [
+                    22.7752795,
+                    -25.6775246
+                ],
+                [
+                    23.0005235,
+                    -25.2761948
+                ],
+                [
+                    23.4658301,
+                    -25.2735148
+                ],
+                [
+                    23.883717,
+                    -25.597366
+                ],
+                [
+                    24.2364017,
+                    -25.613402
+                ],
+                [
+                    24.603905,
+                    -25.7896563
+                ],
+                [
+                    25.110704,
+                    -25.7389432
+                ],
+                [
+                    25.5078447,
+                    -25.6855376
+                ],
+                [
+                    25.6441766,
+                    -25.4823781
+                ],
+                [
+                    25.8419267,
+                    -24.7805437
+                ],
+                [
+                    25.846641,
+                    -24.7538456
+                ],
+                [
+                    26.3928487,
+                    -24.6332894
+                ],
+                [
+                    26.4739066,
+                    -24.5653312
+                ],
+                [
+                    26.5089966,
+                    -24.4842437
+                ],
+                [
+                    26.5861946,
+                    -24.4075775
+                ],
+                [
+                    26.7300635,
+                    -24.3014458
+                ],
+                [
+                    26.8567384,
+                    -24.2499463
+                ],
+                [
+                    26.8574402,
+                    -24.1026901
+                ],
+                [
+                    26.9215471,
+                    -23.8990957
+                ],
+                [
+                    26.931831,
+                    -23.8461891
+                ],
+                [
+                    26.9714827,
+                    -23.6994344
+                ],
+                [
+                    27.0006074,
+                    -23.6367644
+                ],
+                [
+                    27.0578041,
+                    -23.6052574
+                ],
+                [
+                    27.1360547,
+                    -23.5203437
+                ],
+                [
+                    27.3339623,
+                    -23.3973792
+                ],
+                [
+                    27.5144057,
+                    -23.3593929
+                ],
+                [
+                    27.5958145,
+                    -23.2085465
+                ],
+                [
+                    27.8098634,
+                    -23.0994957
+                ],
+                [
+                    27.8828506,
+                    -23.0620496
+                ],
+                [
+                    27.9382928,
+                    -22.9496487
+                ],
+                [
+                    28.0407556,
+                    -22.8255118
+                ],
+                [
+                    28.2056786,
+                    -22.6552861
+                ],
+                [
+                    28.3397223,
+                    -22.5639374
+                ],
+                [
+                    28.4906093,
+                    -22.560697
+                ],
+                [
+                    28.6108769,
+                    -22.5400248
+                ],
+                [
+                    28.828175,
+                    -22.4550173
+                ],
+                [
+                    28.9285324,
+                    -22.4232328
+                ],
+                [
+                    28.9594116,
+                    -22.3090081
+                ],
+                [
+                    29.0162574,
+                    -22.208335
+                ],
+                [
+                    29.2324117,
+                    -22.1693453
+                ],
+                [
+                    29.3531213,
+                    -22.1842926
+                ],
+                [
+                    29.6548952,
+                    -22.1186426
+                ],
+                [
+                    29.7777102,
+                    -22.1361956
+                ],
+                [
+                    29.9292989,
+                    -22.1849425
+                ],
+                [
+                    30.1166795,
+                    -22.2830348
+                ],
+                [
+                    30.2563377,
+                    -22.2914767
+                ],
+                [
+                    30.3033582,
+                    -22.3395204
+                ],
+                [
+                    30.5061784,
+                    -22.3057617
+                ],
+                [
+                    30.8374279,
+                    -22.284983
+                ],
+                [
+                    31.0058599,
+                    -22.3077095
+                ],
+                [
+                    31.1834152,
+                    -22.3232913
+                ],
+                [
+                    31.2930586,
+                    -22.3674647
+                ],
+                [
+                    31.5680579,
+                    -23.1903385
+                ],
+                [
+                    31.5568311,
+                    -23.4430809
+                ],
+                [
+                    31.6931122,
+                    -23.6175209
+                ],
+                [
+                    31.7119696,
+                    -23.741136
+                ],
+                [
+                    31.7774743,
+                    -23.8800628
+                ],
+                [
+                    31.8886337,
+                    -23.9481098
+                ],
+                [
+                    31.9144386,
+                    -24.1746736
+                ],
+                [
+                    31.9948307,
+                    -24.3040878
+                ],
+                [
+                    32.0166656,
+                    -24.4405988
+                ],
+                [
+                    32.0077331,
+                    -24.6536578
+                ],
+                [
+                    32.019643,
+                    -24.9140701
+                ],
+                [
+                    32.035523,
+                    -25.0849767
+                ],
+                [
+                    32.019643,
+                    -25.3821442
+                ],
+                [
+                    31.9928457,
+                    -25.4493771
+                ],
+                [
+                    31.9997931,
+                    -25.5165725
+                ],
+                [
+                    32.0057481,
+                    -25.6078978
+                ],
+                [
+                    32.0057481,
+                    -25.6624806
+                ],
+                [
+                    31.9362735,
+                    -25.8403721
+                ],
+                [
+                    31.9809357,
+                    -25.9546537
+                ],
+                [
+                    31.8687838,
+                    -26.0037251
+                ],
+                [
+                    31.4162062,
+                    -25.7277683
+                ],
+                [
+                    31.3229117,
+                    -25.7438611
+                ],
+                [
+                    31.2504595,
+                    -25.8296526
+                ],
+                [
+                    31.1393001,
+                    -25.9162746
+                ],
+                [
+                    31.1164727,
+                    -25.9912361
+                ],
+                [
+                    30.9656135,
+                    -26.2665756
+                ],
+                [
+                    30.8921689,
+                    -26.3279703
+                ],
+                [
+                    30.8534616,
+                    -26.4035568
+                ],
+                [
+                    30.8226943,
+                    -26.4488849
+                ],
+                [
+                    30.8022583,
+                    -26.5240694
+                ],
+                [
+                    30.8038369,
+                    -26.8082089
+                ],
+                [
+                    30.9020939,
+                    -26.7807451
+                ],
+                [
+                    30.9100338,
+                    -26.8489495
+                ],
+                [
+                    30.9824859,
+                    -26.9082627
+                ],
+                [
+                    30.976531,
+                    -27.0029222
+                ],
+                [
+                    31.0034434,
+                    -27.0441587
+                ],
+                [
+                    31.1543322,
+                    -27.1980416
+                ],
+                [
+                    31.5015607,
+                    -27.311117
+                ],
+                [
+                    31.9700183,
+                    -27.311117
+                ],
+                [
+                    31.9700183,
+                    -27.120472
+                ],
+                [
+                    31.9769658,
+                    -27.050664
+                ],
+                [
+                    32.0002464,
+                    -26.7983892
+                ],
+                [
+                    32.1069826,
+                    -26.7984645
+                ],
+                [
+                    32.3114546,
+                    -26.8479493
+                ],
+                [
+                    32.899986,
+                    -26.8516059
+                ],
+                [
+                    32.886091,
+                    -26.9816971
+                ],
+                [
+                    32.709427,
+                    -27.4785436
+                ],
+                [
+                    32.6240724,
+                    -27.7775144
+                ],
+                [
+                    32.5813951,
+                    -28.07479
+                ],
+                [
+                    32.5387178,
+                    -28.2288046
+                ],
+                [
+                    32.4275584,
+                    -28.5021568
+                ],
+                [
+                    32.3640388,
+                    -28.5945699
+                ],
+                [
+                    32.0702603,
+                    -28.8469827
+                ],
+                [
+                    31.9878832,
+                    -28.9069497
+                ],
+                [
+                    31.7764818,
+                    -28.969487
+                ],
+                [
+                    31.4638459,
+                    -29.2859343
+                ],
+                [
+                    31.359634,
+                    -29.3854348
+                ],
+                [
+                    31.1680825,
+                    -29.6307408
+                ],
+                [
+                    31.064863,
+                    -29.7893535
+                ],
+                [
+                    31.0534493,
+                    -29.8470469
+                ],
+                [
+                    31.0669933,
+                    -29.8640319
+                ],
+                [
+                    31.0455459,
+                    -29.9502017
+                ],
+                [
+                    30.9518556,
+                    -30.0033946
+                ],
+                [
+                    30.8651833,
+                    -30.1024093
+                ],
+                [
+                    30.7244725,
+                    -30.392502
+                ],
+                [
+                    30.3556256,
+                    -30.9308873
+                ],
+                [
+                    30.0972364,
+                    -31.2458274
+                ],
+                [
+                    29.8673136,
+                    -31.4304296
+                ],
+                [
+                    29.7409393,
+                    -31.5014699
+                ],
+                [
+                    29.481312,
+                    -31.6978686
+                ],
+                [
+                    28.8943171,
+                    -32.2898903
+                ],
+                [
+                    28.5497137,
+                    -32.5894641
+                ],
+                [
+                    28.1436499,
+                    -32.8320732
+                ],
+                [
+                    28.0748735,
+                    -32.941689
+                ],
+                [
+                    27.8450942,
+                    -33.082869
+                ],
+                [
+                    27.3757956,
+                    -33.3860685
+                ],
+                [
+                    26.8805407,
+                    -33.6458951
+                ],
+                [
+                    26.5916871,
+                    -33.7480756
+                ],
+                [
+                    26.4527308,
+                    -33.7935795
+                ],
+                [
+                    26.206754,
+                    -33.7548943
+                ],
+                [
+                    26.0077897,
+                    -33.7223961
+                ],
+                [
+                    25.8055494,
+                    -33.7524272
+                ],
+                [
+                    25.7511073,
+                    -33.8006512
+                ],
+                [
+                    25.6529079,
+                    -33.8543597
+                ],
+                [
+                    25.6529079,
+                    -33.9469768
+                ],
+                [
+                    25.7195789,
+                    -34.0040115
+                ],
+                [
+                    25.7202807,
+                    -34.0511235
+                ],
+                [
+                    25.5508915,
+                    -34.063151
+                ],
+                [
+                    25.3504571,
+                    -34.0502627
+                ],
+                [
+                    25.2810609,
+                    -34.0020322
+                ],
+                [
+                    25.0476316,
+                    -33.9994588
+                ],
+                [
+                    24.954724,
+                    -34.0043594
+                ],
+                [
+                    24.9496586,
+                    -34.1010363
+                ],
+                [
+                    24.8770358,
+                    -34.1506456
+                ],
+                [
+                    24.8762914,
+                    -34.2005281
+                ],
+                [
+                    24.8532574,
+                    -34.2189562
+                ],
+                [
+                    24.7645287,
+                    -34.2017946
+                ],
+                [
+                    24.5001356,
+                    -34.2003254
+                ],
+                [
+                    24.3486733,
+                    -34.1163824
+                ],
+                [
+                    24.1988819,
+                    -34.1019039
+                ],
+                [
+                    23.9963377,
+                    -34.0514443
+                ],
+                [
+                    23.8017509,
+                    -34.0524332
+                ],
+                [
+                    23.7493589,
+                    -34.0111855
+                ],
+                [
+                    23.4973536,
+                    -34.009014
+                ],
+                [
+                    23.4155191,
+                    -34.0434586
+                ],
+                [
+                    23.4154284,
+                    -34.1140433
+                ],
+                [
+                    22.9000853,
+                    -34.0993009
+                ],
+                [
+                    22.8412418,
+                    -34.0547911
+                ],
+                [
+                    22.6470321,
+                    -34.0502627
+                ],
+                [
+                    22.6459843,
+                    -34.0072768
+                ],
+                [
+                    22.570016,
+                    -34.0064081
+                ],
+                [
+                    22.5050499,
+                    -34.0645866
+                ],
+                [
+                    22.2519968,
+                    -34.0645866
+                ],
+                [
+                    22.2221334,
+                    -34.1014701
+                ],
+                [
+                    22.1621197,
+                    -34.1057019
+                ],
+                [
+                    22.1712431,
+                    -34.1521766
+                ],
+                [
+                    22.1576913,
+                    -34.2180897
+                ],
+                [
+                    22.0015632,
+                    -34.2172232
+                ],
+                [
+                    21.9496952,
+                    -34.3220009
+                ],
+                [
+                    21.8611528,
+                    -34.4007145
+                ],
+                [
+                    21.5614708,
+                    -34.4020114
+                ],
+                [
+                    21.5468011,
+                    -34.3661242
+                ],
+                [
+                    21.501744,
+                    -34.3669892
+                ],
+                [
+                    21.5006961,
+                    -34.4020114
+                ],
+                [
+                    21.4194886,
+                    -34.4465247
+                ],
+                [
+                    21.1978706,
+                    -34.4478208
+                ],
+                [
+                    21.0988193,
+                    -34.3991325
+                ],
+                [
+                    21.0033746,
+                    -34.3753872
+                ],
+                [
+                    20.893192,
+                    -34.3997115
+                ],
+                [
+                    20.8976647,
+                    -34.4854003
+                ],
+                [
+                    20.7446802,
+                    -34.4828092
+                ],
+                [
+                    20.5042011,
+                    -34.486264
+                ],
+                [
+                    20.2527197,
+                    -34.701477
+                ],
+                [
+                    20.0803502,
+                    -34.8361855
+                ],
+                [
+                    19.9923317,
+                    -34.8379056
+                ],
+                [
+                    19.899074,
+                    -34.8275845
+                ],
+                [
+                    19.8938348,
+                    -34.7936018
+                ],
+                [
+                    19.5972963,
+                    -34.7961833
+                ],
+                [
+                    19.3929677,
+                    -34.642015
+                ],
+                [
+                    19.2877095,
+                    -34.6404784
+                ],
+                [
+                    19.2861377,
+                    -34.5986563
+                ],
+                [
+                    19.3474363,
+                    -34.5244458
+                ],
+                [
+                    19.3285256,
+                    -34.4534372
+                ],
+                [
+                    19.098001,
+                    -34.449981
+                ],
+                [
+                    19.0725583,
+                    -34.3802371
+                ],
+                [
+                    19.0023531,
+                    -34.3525593
+                ],
+                [
+                    18.9520568,
+                    -34.3949373
+                ],
+                [
+                    18.7975006,
+                    -34.3936403
+                ],
+                [
+                    18.7984174,
+                    -34.1016376
+                ],
+                [
+                    18.501748,
+                    -34.1015292
+                ],
+                [
+                    18.4999545,
+                    -34.3616945
+                ],
+                [
+                    18.4477325,
+                    -34.3620007
+                ],
+                [
+                    18.4479944,
+                    -34.3522691
+                ],
+                [
+                    18.3974362,
+                    -34.3514041
+                ],
+                [
+                    18.3971742,
+                    -34.3022959
+                ],
+                [
+                    18.3565705,
+                    -34.3005647
+                ],
+                [
+                    18.3479258,
+                    -34.2020436
+                ],
+                [
+                    18.2972095,
+                    -34.1950274
+                ],
+                [
+                    18.2951139,
+                    -33.9937138
+                ],
+                [
+                    18.3374474,
+                    -33.9914079
+                ],
+                [
+                    18.3476638,
+                    -33.8492427
+                ],
+                [
+                    18.3479258,
+                    -33.781555
+                ],
+                [
+                    18.4124718,
+                    -33.7448849
+                ],
+                [
+                    18.3615477,
+                    -33.6501624
+                ],
+                [
+                    18.2992013,
+                    -33.585591
+                ],
+                [
+                    18.2166839,
+                    -33.448872
+                ],
+                [
+                    18.1389858,
+                    -33.3974083
+                ],
+                [
+                    17.9473472,
+                    -33.1602647
+                ],
+                [
+                    17.8855247,
+                    -33.0575732
+                ],
+                [
+                    17.8485884,
+                    -32.9668505
+                ],
+                [
+                    17.8396817,
+                    -32.8507302
+                ]
             ]
         ],
-        "terms_url": "http://maps.nls.uk/townplans/annan.html",
-        "terms_text": "National Library of Scotland - Annan 1859"
+        "best": true
     },
     {
-        "name": "OS Town Plans, Arbroath 1858 (NLS)",
+        "name": "South Tyrol Orthofoto 2011",
         "type": "tms",
-        "description": "Detailed town plan of Arbroath 1858, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/arbroath/{zoom}/{x}/{-y}.png",
+        "description": "Orthophoto of South Tyrol from 2011",
+        "template": "http://geoservices.buergernetz.bz.it/geoserver/gwc/service/wmts/?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=P_BZ_OF_2011_EPSG3857&STYLE=default&TILEMATRIXSET=GoogleMapsCompatible&TILEMATRIX=GoogleMapsCompatible%3A{zoom}&TILEROW={y}&TILECOL={x}&FORMAT=image%2Fjpeg",
         "scaleExtent": [
-            13,
-            20
+            0,
+            18
         ],
         "polygon": [
             [
                 [
-                    -2.60716469,
-                    56.53995105
+                    10.38615,
+                    46.68821
+                ],
+                [
+                    10.39201,
+                    46.69016
+                ],
+                [
+                    10.40215,
+                    46.70624
+                ],
+                [
+                    10.41274,
+                    46.70821
+                ],
+                [
+                    10.41622,
+                    46.71479
+                ],
+                [
+                    10.4168,
+                    46.71847
+                ],
+                [
+                    10.39934,
+                    46.73435
+                ],
+                [
+                    10.43464,
+                    46.75356
+                ],
+                [
+                    10.44107,
+                    46.75413
+                ],
+                [
+                    10.44011,
+                    46.77149
+                ],
+                [
+                    10.42123,
+                    46.78861
+                ],
+                [
+                    10.42845,
+                    46.79755
+                ],
+                [
+                    10.43851,
+                    46.79869
+                ],
+                [
+                    10.44925,
+                    46.80462
+                ],
+                [
+                    10.45602,
+                    46.81635
+                ],
+                [
+                    10.45438,
+                    46.82221
+                ],
+                [
+                    10.4583,
+                    46.82478
+                ],
+                [
+                    10.45513,
+                    46.83059
+                ],
+                [
+                    10.45906,
+                    46.83548
+                ],
+                [
+                    10.46483,
+                    46.83624
+                ],
+                [
+                    10.46229,
+                    46.8413
+                ],
+                [
+                    10.46987,
+                    46.84933
+                ],
+                [
+                    10.46819,
+                    46.8553
+                ],
+                [
+                    10.47838,
+                    46.86013
+                ],
+                [
+                    10.48372,
+                    46.85543
+                ],
+                [
+                    10.49628,
+                    46.85305
+                ],
+                [
+                    10.49931,
+                    46.84857
+                ],
+                [
+                    10.52124,
+                    46.84653
+                ],
+                [
+                    10.5527,
+                    46.8511
+                ],
+                [
+                    10.55795,
+                    46.84695
+                ],
+                [
+                    10.55264,
+                    46.8408
+                ],
+                [
+                    10.55536,
+                    46.84087
+                ],
+                [
+                    10.58883,
+                    46.85125
+                ],
+                [
+                    10.59502,
+                    46.85829
+                ],
+                [
+                    10.60936,
+                    46.8597
+                ],
+                [
+                    10.62441,
+                    46.86558
+                ],
+                [
+                    10.64858,
+                    46.86655
+                ],
+                [
+                    10.66787,
+                    46.87651
+                ],
+                [
+                    10.67297,
+                    46.87138
+                ],
+                [
+                    10.69112,
+                    46.86861
+                ],
+                [
+                    10.69786,
+                    46.86339
+                ],
+                [
+                    10.69508,
+                    46.85308
+                ],
+                [
+                    10.70594,
+                    46.84786
+                ],
+                [
+                    10.71763,
+                    46.84795
+                ],
+                [
+                    10.72333,
+                    46.83892
+                ],
+                [
+                    10.75621,
+                    46.83383
+                ],
+                [
+                    10.76481,
+                    46.82409
+                ],
+                [
+                    10.76387,
+                    46.81971
+                ],
+                [
+                    10.75239,
+                    46.81387
+                ],
+                [
+                    10.74506,
+                    46.80223
+                ],
+                [
+                    10.7276,
+                    46.79709
+                ],
+                [
+                    10.73122,
+                    46.78925
+                ],
+                [
+                    10.75722,
+                    46.78624
+                ],
+                [
+                    10.77744,
+                    46.79149
+                ],
+                [
+                    10.78678,
+                    46.79735
+                ],
+                [
+                    10.81439,
+                    46.77662
+                ],
+                [
+                    10.82479,
+                    46.77472
+                ],
+                [
+                    10.83129,
+                    46.78138
+                ],
+                [
+                    10.84112,
+                    46.78282
+                ],
+                [
+                    10.85354,
+                    46.77506
+                ],
+                [
+                    10.86845,
+                    46.77313
+                ],
+                [
+                    10.86993,
+                    46.7669
+                ],
+                [
+                    10.88294,
+                    46.76393
+                ],
+                [
+                    10.88962,
+                    46.76529
+                ],
+                [
+                    10.8951,
+                    46.77092
+                ],
+                [
+                    10.90527,
+                    46.76911
+                ],
+                [
+                    10.92299,
+                    46.7764
+                ],
+                [
+                    10.92821,
+                    46.77408
+                ],
+                [
+                    10.94388,
+                    46.77648
+                ],
+                [
+                    10.97522,
+                    46.77361
+                ],
+                [
+                    10.97932,
+                    46.77014
+                ],
+                [
+                    10.99475,
+                    46.76804
+                ],
+                [
+                    11.01397,
+                    46.77317
+                ],
+                [
+                    11.02328,
+                    46.76715
+                ],
+                [
+                    11.0346,
+                    46.79428
+                ],
+                [
+                    11.04234,
+                    46.801
+                ],
+                [
+                    11.03792,
+                    46.80562
+                ],
+                [
+                    11.05633,
+                    46.80928
+                ],
+                [
+                    11.07279,
+                    46.82092
+                ],
+                [
+                    11.08171,
+                    46.82252
+                ],
+                [
+                    11.0762,
+                    46.83384
+                ],
+                [
+                    11.06887,
+                    46.83793
+                ],
+                [
+                    11.07303,
+                    46.84345
+                ],
+                [
+                    11.06988,
+                    46.85348
+                ],
+                [
+                    11.08742,
+                    46.87927
+                ],
+                [
+                    11.09961,
+                    46.88922
+                ],
+                [
+                    11.09538,
+                    46.89178
+                ],
+                [
+                    11.09795,
+                    46.89844
+                ],
+                [
+                    11.0946,
+                    46.91247
+                ],
+                [
+                    11.10792,
+                    46.91706
+                ],
+                [
+                    11.10804,
+                    46.92632
+                ],
+                [
+                    11.11418,
+                    46.93234
+                ],
+                [
+                    11.13851,
+                    46.92865
+                ],
+                [
+                    11.16322,
+                    46.94091
+                ],
+                [
+                    11.16642,
+                    46.94479
+                ],
+                [
+                    11.16114,
+                    46.94979
+                ],
+                [
+                    11.1637,
+                    46.96677
+                ],
+                [
+                    11.17598,
+                    46.96367
+                ],
+                [
+                    11.18658,
+                    46.97062
+                ],
+                [
+                    11.19527,
+                    46.97152
+                ],
+                [
+                    11.20418,
+                    46.96877
                 ],
                 [
-                    -2.60764981,
-                    56.57022426
+                    11.20688,
+                    46.96403
                 ],
                 [
-                    -2.56498708,
-                    56.57042549
+                    11.22047,
+                    46.97025
                 ],
                 [
-                    -2.564536,
-                    56.54015206
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/arbroath.html",
-        "terms_text": "National Library of Scotland - Arbroath 1858"
-    },
-    {
-        "name": "OS Town Plans, Ayr 1855 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Ayr 1855, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/ayr/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.24139,
+                    46.9708
+                ],
                 [
-                    -4.66768105,
-                    55.43748864
+                    11.24865,
+                    46.97517
                 ],
                 [
-                    -4.67080057,
-                    55.48363961
+                    11.25582,
+                    46.97535
                 ],
                 [
-                    -4.60609844,
-                    55.48503484
+                    11.26272,
+                    46.98169
                 ],
                 [
-                    -4.60305426,
-                    55.43888149
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/ayr.html",
-        "terms_text": "National Library of Scotland - Ayr 1855"
-    },
-    {
-        "name": "OS Town Plans, Berwick-upon-Tweed 1852 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Berwick-upon-Tweed 1852, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/berwick/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.27662,
+                    46.98168
+                ],
                 [
-                    -2.02117487,
-                    55.75577627
+                    11.28762,
+                    46.98699
                 ],
                 [
-                    -2.02118763,
-                    55.77904118
+                    11.30709,
+                    46.98525
                 ],
                 [
-                    -1.98976956,
-                    55.77904265
+                    11.3205,
+                    46.99345
                 ],
                 [
-                    -1.9897755,
-                    55.75577774
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/berwick.html",
-        "terms_text": "National Library of Scotland - Berwick-upon-Tweed 1852"
-    },
-    {
-        "name": "OS Town Plans, Brechin 1862 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Brechin 1862, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/brechin/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.33765,
+                    46.98606
+                ],
                 [
-                    -2.67480248,
-                    56.71456775
+                    11.34516,
+                    46.99169
                 ],
                 [
-                    -2.67521172,
-                    56.73739937
+                    11.35932,
+                    46.99154
                 ],
                 [
-                    -2.64319679,
-                    56.73756872
+                    11.37697,
+                    46.98025
                 ],
                 [
-                    -2.64280695,
-                    56.71473694
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/brechin.html",
-        "terms_text": "National Library of Scotland - Brechin 1862"
-    },
-    {
-        "name": "OS Town Plans, Burntisland 1894 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Burntisland 1894, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/burntisland/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.38324,
+                    46.97168
+                ],
                 [
-                    -3.24879624,
-                    56.04240046
+                    11.40465,
+                    46.96609
                 ],
                 [
-                    -3.2495182,
-                    56.06472996
+                    11.43929,
+                    46.97601
                 ],
                 [
-                    -3.21830572,
-                    56.06504207
+                    11.45134,
+                    46.99294
                 ],
                 [
-                    -3.21760179,
-                    56.0427123
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/burntisland.html",
-        "terms_text": "National Library of Scotland - Burntisland 1894"
-    },
-    {
-        "name": "OS Town Plans, Campbelton 1865 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Campbelton 1865, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/campbeltown/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.46803,
+                    46.99582
+                ],
                 [
-                    -5.62345307,
-                    55.40255998
+                    11.46859,
+                    47.003
                 ],
                 [
-                    -5.62631353,
-                    55.43375303
+                    11.47831,
+                    47.01201
                 ],
                 [
-                    -5.58276654,
-                    55.43503753
+                    11.50238,
+                    47.01073
                 ],
                 [
-                    -5.57994024,
-                    55.40384299
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/campbelton.html",
-        "terms_text": "National Library of Scotland - Campbelton 1865"
-    },
-    {
-        "name": "OS Town Plans, Coatbridge 1858 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Coatbridge 1858, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/coatbridge/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.50313,
+                    47.00808
+                ],
                 [
-                    -4.05035921,
-                    55.84648689
+                    11.51366,
+                    47.00595
                 ],
                 [
-                    -4.05157062,
-                    55.86947193
+                    11.51679,
+                    47.00091
                 ],
                 [
-                    -4.01953905,
-                    55.87000186
+                    11.53381,
+                    46.99233
                 ],
                 [
-                    -4.01834651,
-                    55.84701638
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/coatbridge.html",
-        "terms_text": "National Library of Scotland - Coatbridge 1858"
-    },
-    {
-        "name": "OS Town Plans, Cupar 1854 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Cupar 1854, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/cupar1854/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.53846,
+                    46.98519
+                ],
                 [
-                    -3.04765872,
-                    56.28653177
+                    11.55297,
+                    46.99149
                 ],
                 [
-                    -3.04890965,
-                    56.332192
+                    11.57663,
+                    46.99657
                 ],
                 [
-                    -2.98498515,
-                    56.33271677
+                    11.58,
+                    47.00277
                 ],
                 [
-                    -2.98381041,
-                    56.28705563
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/cupar_1.html",
-        "terms_text": "National Library of Scotland - Cupar 1854"
-    },
-    {
-        "name": "OS Town Plans, Cupar 1893-1894 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Cupar 1893-1894, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/cupar1893/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.58879,
+                    47.00641
+                ],
                 [
-                    -3.0327697,
-                    56.30243657
+                    11.59901,
+                    47.00657
                 ],
                 [
-                    -3.03338443,
-                    56.32520139
+                    11.60944,
+                    47.01207
                 ],
                 [
-                    -3.00146629,
-                    56.32546356
+                    11.62697,
+                    47.01437
                 ],
                 [
-                    -3.00087054,
-                    56.30269852
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/cupar_2.html",
-        "terms_text": "National Library of Scotland - Cupar 1893-1894"
-    },
-    {
-        "name": "OS Town Plans, Dalkeith 1852 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Dalkeith 1852, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/dalkeith1852/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.63629,
+                    47.00383
+                ],
                 [
-                    -3.07862465,
-                    55.88900264
+                    11.66542,
+                    46.99304
                 ],
                 [
-                    -3.0790381,
-                    55.90389729
+                    11.6885,
+                    46.99658
                 ],
                 [
-                    -3.05835611,
-                    55.90407681
+                    11.71226,
+                    46.99416
                 ],
                 [
-                    -3.05795059,
-                    55.88918206
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/dalkeith_1.html",
-        "terms_text": "National Library of Scotland - Dalkeith 1852"
-    },
-    {
-        "name": "OS Town Plans, Dalkeith 1893 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Dalkeith 1893, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/dalkeith1893/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.72897,
+                    46.97322
+                ],
                 [
-                    -3.08600192,
-                    55.87936087
+                    11.74698,
+                    46.97013
                 ],
                 [
-                    -3.08658588,
-                    55.90025926
+                    11.76411,
+                    46.97412
                 ],
                 [
-                    -3.0436473,
-                    55.90063074
+                    11.78106,
+                    46.99342
                 ],
                 [
-                    -3.04308639,
-                    55.87973206
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/dalkeith_2.html",
-        "terms_text": "National Library of Scotland - Dalkeith 1893"
-    },
-    {
-        "name": "OS Town Plans, Dumbarton 1859 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Dumbarton 1859, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/dumbarton/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.81526,
+                    46.991
+                ],
                 [
-                    -4.58559982,
-                    55.92742578
+                    11.83564,
+                    46.99417
                 ],
                 [
-                    -4.58714245,
-                    55.95056014
+                    11.84396,
+                    47.0025
                 ],
                 [
-                    -4.55463269,
-                    55.95123882
+                    11.85192,
+                    47.0014
                 ],
                 [
-                    -4.55310939,
-                    55.92810387
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/dumbarton.html",
-        "terms_text": "National Library of Scotland - Dumbarton 1859"
-    },
-    {
-        "name": "OS Town Plans, Dumfries 1850 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Dumfries 1850, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/dumfries1850/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.86722,
+                    47.01252
+                ],
                 [
-                    -3.63928076,
-                    55.03715991
+                    11.87393,
+                    47.01136
                 ],
                 [
-                    -3.64116352,
-                    55.08319002
+                    11.8794,
+                    47.01714
                 ],
                 [
-                    -3.57823183,
-                    55.08402202
+                    11.89137,
+                    47.01728
                 ],
                 [
-                    -3.57642118,
-                    55.0379905
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/dumfries_1.html",
-        "terms_text": "National Library of Scotland - Dumfries 1850"
-    },
-    {
-        "name": "OS Town Plans, Dumfries 1893 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Dumfries 1893, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/dumfries1893/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.91627,
+                    47.03422
+                ],
                 [
-                    -3.63179081,
-                    55.04150111
+                    11.9329,
+                    47.03864
                 ],
                 [
-                    -3.63330662,
-                    55.07873429
+                    11.94688,
+                    47.03464
                 ],
                 [
-                    -3.58259012,
-                    55.07940411
+                    11.95457,
+                    47.04374
                 ],
                 [
-                    -3.58112132,
-                    55.04217001
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/dumfries_2.html",
-        "terms_text": "National Library of Scotland - Dumfries 1893"
-    },
-    {
-        "name": "OS Town Plans, Dundee 1857-1858 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Dundee 1857-1858, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/dundee1857/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.96773,
+                    47.04158
+                ],
                 [
-                    -3.02584468,
-                    56.44879161
+                    11.97912,
+                    47.0511
                 ],
                 [
-                    -3.02656969,
-                    56.47566815
+                    11.98587,
+                    47.04815
                 ],
                 [
-                    -2.94710317,
-                    56.47629984
+                    11.99534,
+                    47.05064
                 ],
                 [
-                    -2.94643424,
-                    56.44942266
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/dundee_1.html",
-        "terms_text": "National Library of Scotland - Dundee 1857-1858"
-    },
-    {
-        "name": "OS Town Plans, Dundee 1870-1872 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Dundee 1870-1872, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/dundee1870/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    12.02037,
+                    47.04821
+                ],
                 [
-                    -3.03399945,
-                    56.448497
+                    12.02968,
+                    47.05127
                 ],
                 [
-                    -3.03497463,
-                    56.48435238
+                    12.03353,
+                    47.0583
                 ],
                 [
-                    -2.92352705,
-                    56.48523137
+                    12.04276,
+                    47.06228
                 ],
                 [
-                    -2.92265681,
-                    56.4493748
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/dundee_2.html",
-        "terms_text": "National Library of Scotland - Dundee 1870-1872"
-    },
-    {
-        "name": "OS Town Plans, Dunfermline 1854 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Dunfermline 1854, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/dunfermline1854/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    12.07543,
+                    47.0605
+                ],
                 [
-                    -3.49045481,
-                    56.0605979
+                    12.08035,
+                    47.06951
                 ],
                 [
-                    -3.49116489,
-                    56.07898822
+                    12.09308,
+                    47.07791
                 ],
                 [
-                    -3.44374075,
-                    56.07955208
+                    12.10329,
+                    47.07931
                 ],
                 [
-                    -3.44305323,
-                    56.06116138
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/dunfermline_1.html",
-        "terms_text": "National Library of Scotland - Dunfermline 1854"
-    },
-    {
-        "name": "OS Town Plans, Dunfermline 1894 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Dunfermline 1894, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/dunfermline1893/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    12.11867,
+                    47.07445
+                ],
                 [
-                    -3.48284159,
-                    56.05198219
+                    12.13561,
+                    47.08171
                 ],
                 [
-                    -3.48399434,
-                    56.08198924
+                    12.15125,
+                    47.08049
                 ],
                 [
-                    -3.44209721,
-                    56.08248587
+                    12.15997,
+                    47.08267
                 ],
                 [
-                    -3.44097697,
-                    56.05247826
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/dunfermline_2.html",
-        "terms_text": "National Library of Scotland - Dunfermline 1894"
-    },
-    {
-        "name": "OS Town Plans, Edinburgh 1849-1851 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Edinburgh 1849-1851, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/edinburgh1849/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    12.18589,
+                    47.09322
+                ],
                 [
-                    -3.2361048,
-                    55.921366
+                    12.2278,
+                    47.08302
                 ],
                 [
-                    -3.23836397,
-                    55.99217223
+                    12.24228,
+                    47.06892
                 ],
                 [
-                    -3.14197035,
-                    55.99310288
+                    12.23786,
+                    47.0644
                 ],
                 [
-                    -3.13988689,
-                    55.92229419
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/edinburgh1056_1.html",
-        "terms_text": "National Library of Scotland - Edinburgh 1849-1851"
-    },
-    {
-        "name": "OS Town Plans, Edinburgh 1876-1877 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Edinburgh 1876-1877, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/edinburgh1876/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    12.21821,
+                    47.05795
+                ],
+                [
+                    12.2182,
+                    47.04483
+                ],
+                [
+                    12.20552,
+                    47.02595
+                ],
+                [
+                    12.18048,
+                    47.02414
+                ],
+                [
+                    12.16423,
+                    47.01782
+                ],
+                [
+                    12.14786,
+                    47.02357
+                ],
+                [
+                    12.12723,
+                    47.01218
+                ],
+                [
+                    12.12285,
+                    47.00662
+                ],
+                [
+                    12.1322,
+                    46.99339
+                ],
+                [
+                    12.12974,
+                    46.98593
+                ],
                 [
-                    -3.24740498,
-                    55.92116518
+                    12.13977,
+                    46.982
                 ],
                 [
-                    -3.24989581,
-                    55.99850896
+                    12.13808,
+                    46.96514
                 ],
                 [
-                    -3.13061127,
-                    55.99966059
+                    12.13328,
+                    46.96292
                 ],
                 [
-                    -3.12835798,
-                    55.92231348
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/edinburgh1056_2.html",
-        "terms_text": "National Library of Scotland - Edinburgh 1876-1877"
-    },
-    {
-        "name": "OS Town Plans, Edinburgh 1893-1894 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Edinburgh 1893-1894, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/edinburgh1893/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    12.13882,
+                    46.95764
+                ],
                 [
-                    -3.26111081,
-                    55.89555387
+                    12.15927,
+                    46.95133
                 ],
                 [
-                    -3.26450423,
-                    55.9997912
+                    12.1702,
+                    46.93758
                 ],
                 [
-                    -3.11970824,
-                    56.00119128
+                    12.15414,
+                    46.91654
                 ],
                 [
-                    -3.1167031,
-                    55.89694851
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/edinburgh500.html",
-        "terms_text": "National Library of Scotland - Edinburgh 1893-1894"
-    },
-    {
-        "name": "OS Town Plans, Elgin 1868 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Elgin 1868, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/elgin/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    12.14675,
+                    46.91413
+                ],
                 [
-                    -3.33665196,
-                    57.62879017
+                    12.16205,
+                    46.908
                 ],
                 [
-                    -3.33776583,
-                    57.65907381
+                    12.16959,
+                    46.91121
                 ],
                 [
-                    -3.29380859,
-                    57.65953111
+                    12.19154,
+                    46.90682
                 ],
                 [
-                    -3.29273129,
-                    57.62924695
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/elgin.html",
-        "terms_text": "National Library of Scotland - Elgin 1868"
-    },
-    {
-        "name": "OS Town Plans, Falkirk 1858-1859 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Falkirk 1858-1859, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/falkirk/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    12.20106,
+                    46.8965
+                ],
                 [
-                    -3.79587441,
-                    55.99343101
+                    12.2022,
+                    46.88806
                 ],
                 [
-                    -3.79697783,
-                    56.01720281
+                    12.21663,
+                    46.87517
                 ],
                 [
-                    -3.76648151,
-                    56.01764348
+                    12.22147,
+                    46.88084
                 ],
                 [
-                    -3.76539679,
-                    55.99387129
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/falkirk.html",
-        "terms_text": "National Library of Scotland - Falkirk 1858-1859"
-    },
-    {
-        "name": "OS Town Plans, Forfar 1860-1861 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Forfar 1860-1861, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/forfar/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    12.23125,
+                    46.88146
+                ],
                 [
-                    -2.90326183,
-                    56.6289471
+                    12.2345,
+                    46.88919
                 ],
                 [
-                    -2.90378797,
-                    56.65095013
+                    12.24162,
+                    46.89192
                 ],
                 [
-                    -2.87228457,
-                    56.65117489
+                    12.27486,
+                    46.88512
                 ],
                 [
-                    -2.87177676,
-                    56.62917168
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/forfar.html",
-        "terms_text": "National Library of Scotland - Forfar 1860-1861"
-    },
-    {
-        "name": "OS Town Plans, Forres 1868 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Forres 1868, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/forres/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    12.27979,
+                    46.87921
+                ],
                 [
-                    -3.63516795,
-                    57.58887872
+                    12.27736,
+                    46.87319
                 ],
                 [
-                    -3.63647637,
-                    57.618002
+                    12.29326,
+                    46.86566
                 ],
                 [
-                    -3.57751453,
-                    57.61875171
+                    12.2912,
+                    46.85704
                 ],
                 [
-                    -3.5762532,
-                    57.58962759
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/forres.html",
-        "terms_text": "National Library of Scotland - Forres 1868"
-    },
-    {
-        "name": "OS Town Plans, Galashiels 1858 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Galashiels 1858, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/galashiels/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    12.29733,
+                    46.84455
+                ],
                 [
-                    -2.82918609,
-                    55.59586303
+                    12.30833,
+                    46.84137
                 ],
                 [
-                    -2.82981273,
-                    55.62554026
+                    12.30726,
+                    46.83271
                 ],
                 [
-                    -2.78895254,
-                    55.62580992
+                    12.285,
+                    46.81503
                 ],
                 [
-                    -2.78835674,
-                    55.59613239
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/galashiels.html",
-        "terms_text": "National Library of Scotland - Galashiels 1858"
-    },
-    {
-        "name": "OS Town Plans, Girvan 1857 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Girvan 1857, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/girvan/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    12.29383,
+                    46.8027
+                ],
                 [
-                    -4.87424251,
-                    55.22679729
+                    12.28905,
+                    46.79948
                 ],
                 [
-                    -4.87587895,
-                    55.24945946
+                    12.28889,
+                    46.79427
                 ],
                 [
-                    -4.84447382,
-                    55.25019598
+                    12.28232,
+                    46.79153
                 ],
                 [
-                    -4.84285519,
-                    55.22753318
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/girvan.html",
-        "terms_text": "National Library of Scotland - Girvan 1857"
-    },
-    {
-        "name": "OS Town Plans, Glasgow 1857-1858 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Glasgow 1857-1858, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/glasgow1857/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    12.28539,
+                    46.7839
+                ],
                 [
-                    -4.31575491,
-                    55.82072009
+                    12.30943,
+                    46.78603
                 ],
                 [
-                    -4.319683,
-                    55.88667625
+                    12.35837,
+                    46.77583
                 ],
                 [
-                    -4.1771319,
-                    55.88928081
+                    12.37036,
+                    46.74163
                 ],
                 [
-                    -4.1734447,
-                    55.82331825
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/glasgow_1.html",
-        "terms_text": "National Library of Scotland - Glasgow 1857-1858"
-    },
-    {
-        "name": "OS Town Plans, Glasgow 1892-1894 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Glasgow 1892-1894, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/glasgow1894/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    12.38475,
+                    46.71745
+                ],
                 [
-                    -4.3465357,
-                    55.81456228
+                    12.40283,
+                    46.70811
                 ],
                 [
-                    -4.35157646,
-                    55.89806268
+                    12.41103,
+                    46.70701
                 ],
                 [
-                    -4.17788765,
-                    55.9012587
+                    12.41522,
+                    46.70163
                 ],
                 [
-                    -4.17321842,
-                    55.81774834
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/glasgow_2.html",
-        "terms_text": "National Library of Scotland - Glasgow 1892-1894"
-    },
-    {
-        "name": "OS Town Plans, Greenock 1857 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Greenock 1857, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/greenock/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    12.42862,
+                    46.6997
+                ],
                 [
-                    -4.78108857,
-                    55.92617865
+                    12.42943,
+                    46.69567
                 ],
                 [
-                    -4.78382957,
-                    55.96437481
+                    12.44268,
+                    46.68979
                 ],
                 [
-                    -4.7302257,
-                    55.96557475
+                    12.47501,
+                    46.68756
                 ],
                 [
-                    -4.72753731,
-                    55.92737687
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/greenock.html",
-        "terms_text": "National Library of Scotland - Greenock 1857"
-    },
-    {
-        "name": "OS Town Plans, Haddington 1853 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Haddington 1853, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/haddington1853/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    12.4795,
+                    46.67969
+                ],
                 [
-                    -2.78855542,
-                    55.9451862
+                    12.43473,
+                    46.66714
                 ],
                 [
-                    -2.78888196,
-                    55.96124194
+                    12.40648,
+                    46.64167
                 ],
                 [
-                    -2.76674325,
-                    55.9613817
+                    12.38115,
+                    46.64183
                 ],
                 [
-                    -2.76642588,
-                    55.94532587
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/haddington_1.html",
-        "terms_text": "National Library of Scotland - Haddington 1853"
-    },
-    {
-        "name": "OS Town Plans, Haddington 1893 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Haddington 1893, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/haddington1893/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    12.37944,
+                    46.63733
+                ],
                 [
-                    -2.80152293,
-                    55.93428734
+                    12.3915,
+                    46.62765
                 ],
                 [
-                    -2.80214693,
-                    55.96447189
+                    12.38577,
+                    46.62154
                 ],
                 [
-                    -2.76038069,
-                    55.9647367
+                    12.35939,
+                    46.61829
                 ],
                 [
-                    -2.75978916,
-                    55.93455185
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/haddington_2.html",
-        "terms_text": "National Library of Scotland - Haddington 1893"
-    },
-    {
-        "name": "OS Town Plans, Hamilton 1858 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Hamilton 1858, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/hamilton/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    12.34465,
+                    46.62376
+                ],
                 [
-                    -4.06721642,
-                    55.74877265
+                    12.34034,
+                    46.63022
                 ],
                 [
-                    -4.06924047,
-                    55.78698508
+                    12.33578,
+                    46.62732
                 ],
                 [
-                    -4.01679233,
-                    55.78785698
+                    12.3172,
+                    46.62876
                 ],
                 [
-                    -4.01481949,
-                    55.74964331
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/hamilton.html",
-        "terms_text": "National Library of Scotland - Hamilton 1858"
-    },
-    {
-        "name": "OS Town Plans, Hawick 1857-1858 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Hawick 1857-1858, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/hawick/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    12.31785,
+                    46.62355
+                ],
                 [
-                    -2.80130149,
-                    55.4102516
+                    12.30802,
+                    46.61811
                 ],
                 [
-                    -2.80176329,
-                    55.43304638
+                    12.28413,
+                    46.61623
                 ],
                 [
-                    -2.7708832,
-                    55.43324489
+                    12.26982,
+                    46.62003
                 ],
                 [
-                    -2.77043917,
-                    55.41044995
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/hawick.html",
-        "terms_text": "National Library of Scotland - Hawick 1857-1858"
-    },
-    {
-        "name": "OS Town Plans, Inverness 1867-1868 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Inverness 1867-1868, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/inverness/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    12.25931,
+                    46.62809
+                ],
                 [
-                    -4.25481758,
-                    57.45916363
+                    12.24502,
+                    46.62326
                 ],
                 [
-                    -4.25752308,
-                    57.50302387
+                    12.24198,
+                    46.61586
                 ],
                 [
-                    -4.19713638,
-                    57.50409032
+                    12.21241,
+                    46.60918
                 ],
                 [
-                    -4.1945031,
-                    57.46022829
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/inverness.html",
-        "terms_text": "National Library of Scotland - Inverness 1867-1868"
-    },
-    {
-        "name": "OS Town Plans, Irvine 1859 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Irvine 1859, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/irvine/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    12.20444,
+                    46.59836
+                ],
                 [
-                    -4.67540402,
-                    55.60649957
+                    12.19228,
+                    46.59321
                 ],
                 [
-                    -4.67643252,
-                    55.62159024
+                    12.19261,
+                    46.62059
                 ],
                 [
-                    -4.65537888,
-                    55.62204812
+                    12.1818,
+                    46.6192
                 ],
                 [
-                    -4.65435844,
-                    55.60695719
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/irvine.html",
-        "terms_text": "National Library of Scotland - Irvine 1859"
-    },
-    {
-        "name": "OS Town Plans, Jedburgh 1858 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Jedburgh 1858, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/jedburgh/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    12.17117,
+                    46.63275
+                ],
                 [
-                    -2.56332521,
-                    55.47105448
+                    12.16062,
+                    46.63574
                 ],
                 [
-                    -2.56355503,
-                    55.48715562
+                    12.1511,
+                    46.63215
                 ],
                 [
-                    -2.54168193,
-                    55.48725438
+                    12.1436,
+                    46.6327
                 ],
                 [
-                    -2.54146103,
-                    55.47115318
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/jedburgh.html",
-        "terms_text": "National Library of Scotland - Jedburgh 1858"
-    },
-    {
-        "name": "OS Town Plans, Kelso 1857 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Kelso 1857, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/kelso/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    12.13739,
+                    46.64122
+                ],
                 [
-                    -2.44924544,
-                    55.58390848
+                    12.12342,
+                    46.64475
                 ],
                 [
-                    -2.44949757,
-                    55.6059582
+                    12.10949,
+                    46.65204
                 ],
                 [
-                    -2.41902085,
-                    55.60606617
+                    12.10609,
+                    46.65783
                 ],
                 [
-                    -2.41878581,
-                    55.58401636
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/kelso.html",
-        "terms_text": "National Library of Scotland - Kelso 1857"
-    },
-    {
-        "name": "OS Town Plans, Kilmarnock 1857-1859 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Kilmarnock 1857-1859, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/kilmarnock/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    12.09345,
+                    46.66123
+                ],
+                [
+                    12.08826,
+                    46.66638
+                ],
+                [
+                    12.07985,
+                    46.66686
+                ],
+                [
+                    12.07038,
+                    46.67386
+                ],
+                [
+                    12.07173,
+                    46.66064
+                ],
+                [
+                    12.06686,
+                    46.65364
+                ],
+                [
+                    12.07479,
+                    46.64329
+                ],
+                [
+                    12.06837,
+                    46.63997
+                ],
+                [
+                    12.06495,
+                    46.62121
+                ],
+                [
+                    12.05448,
+                    46.61778
+                ],
                 [
-                    -4.51746876,
-                    55.58950933
+                    12.05318,
+                    46.60989
                 ],
                 [
-                    -4.5194347,
-                    55.62017114
+                    12.04613,
+                    46.60716
                 ],
                 [
-                    -4.47675652,
-                    55.62104083
+                    12.05043,
+                    46.60016
                 ],
                 [
-                    -4.4748238,
-                    55.59037802
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/kilmarnock.html",
-        "terms_text": "National Library of Scotland - Kilmarnock 1857-1859"
-    },
-    {
-        "name": "OS Town Plans, Kirkcaldy 1855 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Kirkcaldy 1855, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/kirkcaldy1855/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    12.04763,
+                    46.58357
+                ],
                 [
-                    -3.17455285,
-                    56.09518942
+                    12.03665,
+                    46.57668
                 ],
                 [
-                    -3.17554995,
-                    56.12790251
+                    12.0266,
+                    46.55871
                 ],
                 [
-                    -3.12991402,
-                    56.12832843
+                    12.02189,
+                    46.55791
                 ],
                 [
-                    -3.12895559,
-                    56.09561481
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/kirkcaldy_1.html",
-        "terms_text": "National Library of Scotland - Kirkcaldy 1855"
-    },
-    {
-        "name": "OS Town Plans, Kirkcaldy 1894 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Kirkcaldy 1894, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/kirkcaldy1894/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.99941,
+                    46.53208
+                ],
                 [
-                    -3.17460426,
-                    56.09513375
+                    11.99411,
+                    46.53345
                 ],
                 [
-                    -3.17560428,
-                    56.12794116
+                    11.98704,
+                    46.54417
                 ],
                 [
-                    -3.12989512,
-                    56.12836777
+                    11.96633,
+                    46.54363
                 ],
                 [
-                    -3.12893395,
-                    56.09555983
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/kirkcaldy_2.html",
-        "terms_text": "National Library of Scotland - Kirkcaldy 1894"
-    },
-    {
-        "name": "OS Town Plans, Kirkcudbright 1850 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Kirkcudbright 1850, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/kirkcudbright1850/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.95094,
+                    46.53869
+                ],
                 [
-                    -4.06154334,
-                    54.82586314
+                    11.94719,
+                    46.52879
                 ],
                 [
-                    -4.0623081,
-                    54.84086061
+                    11.94147,
+                    46.52689
                 ],
                 [
-                    -4.0420219,
-                    54.84120364
+                    11.93294,
+                    46.52631
                 ],
                 [
-                    -4.04126464,
-                    54.82620598
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/kirkcudbright_1.html",
-        "terms_text": "National Library of Scotland - Kirkcudbright 1850"
-    },
-    {
-        "name": "OS Town Plans, Kirkcudbright 1893 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Kirkcudbright 1893, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/kirkcudbright1893/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.9121,
+                    46.532
+                ],
                 [
-                    -4.06001868,
-                    54.82720122
+                    11.8904,
+                    46.52175
                 ],
                 [
-                    -4.06079036,
-                    54.84234455
+                    11.85192,
+                    46.51682
                 ],
                 [
-                    -4.04025067,
-                    54.84269158
+                    11.82849,
+                    46.50783
                 ],
                 [
-                    -4.03948667,
-                    54.82754805
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/kirkcudbright_2.html",
-        "terms_text": "National Library of Scotland - Kirkcudbright 1893"
-    },
-    {
-        "name": "OS Town Plans, Kirkintilloch 1859 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Kirkintilloch 1859, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/kirkintilloch/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.82334,
+                    46.51315
+                ],
                 [
-                    -4.16664222,
-                    55.93124287
+                    11.82391,
+                    46.52141
                 ],
                 [
-                    -4.16748402,
-                    55.94631265
+                    11.81086,
+                    46.53146
                 ],
                 [
-                    -4.14637318,
-                    55.94668235
+                    11.79385,
+                    46.52023
                 ],
                 [
-                    -4.14553956,
-                    55.93161237
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/kirkintilloch.html",
-        "terms_text": "National Library of Scotland - Kirkintilloch 1859"
-    },
-    {
-        "name": "OS Town Plans, Kirriemuir 1861 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Kirriemuir 1861, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/kirriemuir/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.79189,
+                    46.51322
+                ],
                 [
-                    -3.01255744,
-                    56.65896044
+                    11.76157,
+                    46.50503
                 ],
                 [
-                    -3.01302683,
-                    56.67645382
+                    11.74317,
+                    46.50391
                 ],
                 [
-                    -2.98815879,
-                    56.67665366
+                    11.73202,
+                    46.50877
                 ],
                 [
-                    -2.98770092,
-                    56.65916014
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/kirriemuir.html",
-        "terms_text": "National Library of Scotland - Kirriemuir 1861"
-    },
-    {
-        "name": "OS Town Plans, Lanark 1858 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Lanark 1858, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/lanark/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.71935,
+                    46.50916
+                ],
                 [
-                    -3.78642584,
-                    55.66308804
+                    11.71524,
+                    46.51245
                 ],
                 [
-                    -3.78710605,
-                    55.67800854
+                    11.69889,
+                    46.50218
                 ],
                 [
-                    -3.76632876,
-                    55.67830935
+                    11.6672,
+                    46.49647
                 ],
                 [
-                    -3.76565645,
-                    55.66338868
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/lanark.html",
-        "terms_text": "National Library of Scotland - Lanark 1858"
-    },
-    {
-        "name": "OS Town Plans, Linlithgow 1856 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Linlithgow 1856, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/linlithgow/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.64515,
+                    46.49743
+                ],
                 [
-                    -3.61908334,
-                    55.95549561
+                    11.63849,
+                    46.50051
                 ],
                 [
-                    -3.62033259,
-                    55.98538615
+                    11.63495,
+                    46.49486
                 ],
                 [
-                    -3.57838447,
-                    55.98593047
+                    11.64297,
+                    46.49346
                 ],
                 [
-                    -3.57716753,
-                    55.95603932
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/linlithgow.html",
-        "terms_text": "National Library of Scotland - Linlithgow 1856"
-    },
-    {
-        "name": "OS Town Plans, Mayole 1856-1857 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Mayole 1856-1857, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/maybole/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.65174,
+                    46.48271
+                ],
                 [
-                    -4.69086378,
-                    55.34340178
+                    11.64536,
+                    46.47189
                 ],
                 [
-                    -4.6918884,
-                    55.35849731
+                    11.64179,
+                    46.47439
                 ],
                 [
-                    -4.67089656,
-                    55.35895813
+                    11.62679,
+                    46.4708
                 ],
                 [
-                    -4.6698799,
-                    55.34386234
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/maybole.html",
-        "terms_text": "National Library of Scotland - Mayole 1856-1857"
-    },
-    {
-        "name": "OS Town Plans, Montrose 1861-1862 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Montrose 1861-1862, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/montrose/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.62987,
+                    46.46377
+                ],
                 [
-                    -2.4859324,
-                    56.69645192
+                    11.61882,
+                    46.44325
                 ],
                 [
-                    -2.4862257,
-                    56.71918799
+                    11.62143,
+                    46.42539
                 ],
                 [
-                    -2.45405417,
-                    56.71930941
+                    11.60161,
+                    46.39731
                 ],
                 [
-                    -2.45378027,
-                    56.69657324
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/montrose.html",
-        "terms_text": "National Library of Scotland - Montrose 1861-1862"
-    },
-    {
-        "name": "OS Town Plans, Musselburgh 1853 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Musselburgh 1853, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/musselburgh1853/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.60307,
+                    46.38924
+                ],
                 [
-                    -3.07888558,
-                    55.93371953
+                    11.5932,
+                    46.38265
                 ],
                 [
-                    -3.07954151,
-                    55.95729781
+                    11.56489,
+                    46.38018
                 ],
                 [
-                    -3.03240684,
-                    55.95770177
+                    11.55878,
+                    46.35076
                 ],
                 [
-                    -3.03177952,
-                    55.93412313
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/musselburgh_1.html",
-        "terms_text": "National Library of Scotland - Musselburgh 1853"
-    },
-    {
-        "name": "OS Town Plans, Musselburgh 1893 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Musselburgh 1893, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/musselburgh1893/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.55249,
+                    46.34418
+                ],
                 [
-                    -3.07017621,
-                    55.92694102
+                    11.54423,
+                    46.34483
                 ],
                 [
-                    -3.07078961,
-                    55.94917624
+                    11.53837,
+                    46.35015
                 ],
                 [
-                    -3.03988228,
-                    55.94944099
+                    11.52445,
+                    46.35502
                 ],
                 [
-                    -3.03928658,
-                    55.92720556
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/musselburgh_2.html",
-        "terms_text": "National Library of Scotland - Musselburgh 1893"
-    },
-    {
-        "name": "OS Town Plans, Nairn 1867-1868 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Nairn 1867-1868, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/nairn/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.47969,
+                    46.36277
+                ],
                 [
-                    -3.88433907,
-                    57.57899149
+                    11.48052,
+                    46.3551
                 ],
                 [
-                    -3.88509905,
-                    57.5936822
+                    11.46322,
+                    46.34922
                 ],
                 [
-                    -3.85931017,
-                    57.59406441
+                    11.45556,
+                    46.33396
                 ],
                 [
-                    -3.85856057,
-                    57.57937348
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/nairn.html",
-        "terms_text": "National Library of Scotland - Nairn 1867-1868"
-    },
-    {
-        "name": "OS Town Plans, Oban 1867-1868 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Oban 1867-1868, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/oban/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.42105,
+                    46.32441
+                ],
                 [
-                    -5.49548449,
-                    56.39080407
+                    11.40517,
+                    46.32387
                 ],
                 [
-                    -5.49836627,
-                    56.42219039
+                    11.39865,
+                    46.31426
                 ],
                 [
-                    -5.45383984,
-                    56.42343933
+                    11.39994,
+                    46.30709
                 ],
                 [
-                    -5.45099456,
-                    56.39205153
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/oban.html",
-        "terms_text": "National Library of Scotland - Oban 1867-1868"
-    },
-    {
-        "name": "OS Town Plans, Peebles 1856 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Peebles 1856, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/peebles/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.39569,
+                    46.3083
+                ],
                 [
-                    -3.20921287,
-                    55.63635834
+                    11.38188,
+                    46.30052
                 ],
                 [
-                    -3.20990288,
-                    55.65873817
+                    11.36088,
+                    46.29906
                 ],
                 [
-                    -3.17896372,
-                    55.65903935
+                    11.36078,
+                    46.29682
                 ],
                 [
-                    -3.17829135,
-                    55.63665927
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/peebles.html",
-        "terms_text": "National Library of Scotland - Peebles 1856"
-    },
-    {
-        "name": "OS Town Plans, Perth 1860 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Perth 1860, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/perth/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.38256,
+                    46.29177
+                ],
                 [
-                    -3.45302495,
-                    56.37794226
+                    11.3871,
+                    46.28143
                 ],
                 [
-                    -3.45416664,
-                    56.40789908
+                    11.39609,
+                    46.27423
                 ],
                 [
-                    -3.41187528,
-                    56.40838777
+                    11.39862,
+                    46.264
                 ],
                 [
-                    -3.41076676,
-                    56.3784304
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/perth.html",
-        "terms_text": "National Library of Scotland - Perth 1860"
-    },
-    {
-        "name": "OS Town Plans, Peterhead 1868 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Peterhead 1868, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/peterhead/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.38756,
+                    46.26029
+                ],
                 [
-                    -1.80513747,
-                    57.48046916
+                    11.37347,
+                    46.2629
                 ],
                 [
-                    -1.80494005,
-                    57.51755411
+                    11.36836,
+                    46.26135
                 ],
                 [
-                    -1.75135366,
-                    57.51746003
+                    11.35783,
+                    46.26481
                 ],
                 [
-                    -1.75160539,
-                    57.48037522
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/peterhead",
-        "terms_text": "National Library of Scotland - Peterhead 1868"
-    },
-    {
-        "name": "OS Town Plans, Port Glasgow 1856-1857 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Port Glasgow 1856-1857, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/portglasgow/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.35495,
+                    46.27564
+                ],
                 [
-                    -4.70063209,
-                    55.91995983
+                    11.33912,
+                    46.28306
                 ],
                 [
-                    -4.70222026,
-                    55.9427679
+                    11.33379,
+                    46.29049
                 ],
                 [
-                    -4.67084958,
-                    55.94345237
+                    11.33471,
+                    46.2962
                 ],
                 [
-                    -4.6692798,
-                    55.92064372
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/port-glasgow.html",
-        "terms_text": "National Library of Scotland - Port Glasgow 1856-1857"
-    },
-    {
-        "name": "OS Town Plans, Portobello 1893-1894 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Portobello 1893-1894, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/portobello/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.3129,
+                    46.28256
+                ],
+                [
+                    11.31737,
+                    46.27303
+                ],
+                [
+                    11.30645,
+                    46.25786
+                ],
+                [
+                    11.29124,
+                    46.2604
+                ],
+                [
+                    11.24743,
+                    46.22933
+                ],
+                [
+                    11.20622,
+                    46.2187
+                ],
+                [
+                    11.18267,
+                    46.22496
+                ],
+                [
+                    11.17077,
+                    46.23806
+                ],
+                [
+                    11.17994,
+                    46.24434
+                ],
+                [
+                    11.18351,
+                    46.25269
+                ],
                 [
-                    -3.12437919,
-                    55.93846889
+                    11.18935,
+                    46.25354
                 ],
                 [
-                    -3.1250234,
-                    55.96068605
+                    11.19448,
+                    46.2461
                 ],
                 [
-                    -3.09394827,
-                    55.96096586
+                    11.20029,
+                    46.25566
                 ],
                 [
-                    -3.09332184,
-                    55.93874847
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/portobello.html",
-        "terms_text": "National Library of Scotland - Portobello 1893-1894"
-    },
-    {
-        "name": "OS Town Plans, Rothesay 1862-1863 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Rothesay 1862-1863, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/rothesay/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.16604,
+                    46.26129
+                ],
                 [
-                    -5.06449893,
-                    55.82864114
+                    11.14885,
+                    46.27904
                 ],
                 [
-                    -5.06569719,
-                    55.84385927
+                    11.13725,
+                    46.28336
                 ],
                 [
-                    -5.04413114,
-                    55.84439519
+                    11.14293,
+                    46.28934
                 ],
                 [
-                    -5.04294127,
-                    55.82917676
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/rothesay.html",
-        "terms_text": "National Library of Scotland - Rothesay 1862-1863"
-    },
-    {
-        "name": "OS Town Plans, Selkirk 1865 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Selkirk 1865, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/selkirk/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.15847,
+                    46.29059
+                ],
                 [
-                    -2.85998582,
-                    55.53499576
+                    11.16439,
+                    46.2986
                 ],
                 [
-                    -2.86063259,
-                    55.56459732
+                    11.1761,
+                    46.30346
                 ],
                 [
-                    -2.82003242,
-                    55.56487574
+                    11.1847,
+                    46.32104
                 ],
                 [
-                    -2.81941615,
-                    55.53527387
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/selkirk.html",
-        "terms_text": "National Library of Scotland - Selkirk 1865"
-    },
-    {
-        "name": "OS Town Plans, St Andrews 1854 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of St Andrews 1854, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/standrews1854/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.18894,
+                    46.32151
+                ],
                 [
-                    -2.81342686,
-                    56.32097352
+                    11.18696,
+                    46.32673
                 ],
                 [
-                    -2.81405804,
-                    56.3506222
+                    11.1942,
+                    46.33016
                 ],
                 [
-                    -2.77243712,
-                    56.35088865
+                    11.20204,
+                    46.34212
                 ],
                 [
-                    -2.77183819,
-                    56.32123967
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/st-andrews_1.html",
-        "terms_text": "National Library of Scotland - St Andrews 1854"
-    },
-    {
-        "name": "OS Town Plans, St Andrews 1893 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of St Andrews 1893, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/standrews1893/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.19001,
+                    46.35984
+                ],
                 [
-                    -2.81545583,
-                    56.31861733
+                    11.19263,
+                    46.36578
                 ],
                 [
-                    -2.81609919,
-                    56.3487653
+                    11.20393,
+                    46.36765
                 ],
                 [
-                    -2.77387785,
-                    56.34903619
+                    11.19792,
+                    46.37232
                 ],
                 [
-                    -2.77326775,
-                    56.31888792
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/st-andrews_2.html",
-        "terms_text": "National Library of Scotland - St Andrews 1893"
-    },
-    {
-        "name": "OS Town Plans, Stirling 1858 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Stirling 1858, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/stirling/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.21275,
+                    46.39804
+                ],
                 [
-                    -3.95768489,
-                    56.10754239
+                    11.21345,
+                    46.40675
                 ],
                 [
-                    -3.95882978,
-                    56.13007142
+                    11.20565,
+                    46.4166
                 ],
                 [
-                    -3.92711024,
-                    56.13057046
+                    11.21026,
+                    46.4206
                 ],
                 [
-                    -3.92598386,
-                    56.10804101
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/stirling.html",
-        "terms_text": "National Library of Scotland - Stirling 1858"
-    },
-    {
-        "name": "OS Town Plans, Stonehaven 1864 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Stonehaven 1864, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/stonehaven/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.20347,
+                    46.42682
+                ],
                 [
-                    -2.220167,
-                    56.9565098
+                    11.21416,
+                    46.43556
                 ],
                 [
-                    -2.2202543,
-                    56.97129283
+                    11.21634,
+                    46.44255
                 ],
                 [
-                    -2.19924399,
-                    56.9713281
+                    11.20903,
+                    46.45293
                 ],
                 [
-                    -2.19916501,
-                    56.95654504
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/stonehaven.html",
-        "terms_text": "National Library of Scotland - Stonehaven 1864"
-    },
-    {
-        "name": "OS Town Plans, Stranraer 1847 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Stranraer 1847, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/stranraer1847/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.21419,
+                    46.45807
+                ],
                 [
-                    -5.04859743,
-                    54.8822997
+                    11.21736,
+                    46.45731
                 ],
                 [
-                    -5.0508954,
-                    54.91268061
+                    11.21886,
+                    46.46199
                 ],
                 [
-                    -5.0095373,
-                    54.91371278
+                    11.21626,
+                    46.47277
                 ],
                 [
-                    -5.00727037,
-                    54.88333071
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/stranraer_1.html",
-        "terms_text": "National Library of Scotland - Stranraer 1847"
-    },
-    {
-        "name": "OS Town Plans, Stranraer 1863-1877 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Stranraer 1863-1877, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/stranraer1867/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.20939,
+                    46.481
+                ],
                 [
-                    -5.04877289,
-                    54.88228699
+                    11.20876,
+                    46.49346
                 ],
                 [
-                    -5.05107324,
-                    54.9126976
+                    11.19608,
+                    46.50241
                 ],
                 [
-                    -5.00947337,
-                    54.91373582
+                    11.1924,
+                    46.501
                 ],
                 [
-                    -5.00720427,
-                    54.88332405
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/stranraer_1a.html",
-        "terms_text": "National Library of Scotland - Stranraer 1863-1877"
-    },
-    {
-        "name": "OS Town Plans, Stranraer 1893 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Stranraer 1893, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/stranraer1893/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.18686,
+                    46.50734
+                ],
                 [
-                    -5.04418424,
-                    54.89773858
+                    11.18002,
+                    46.49823
                 ],
                 [
-                    -5.04511026,
-                    54.90999885
+                    11.17014,
+                    46.49635
                 ],
                 [
-                    -5.0140499,
-                    54.91077389
+                    11.16095,
+                    46.4878
                 ],
                 [
-                    -5.0131333,
-                    54.89851327
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/stranraer_2.html",
-        "terms_text": "National Library of Scotland - Stranraer 1893"
-    },
-    {
-        "name": "OS Town Plans, Strathaven 1858 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Strathaven 1858, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/strathaven/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.12934,
+                    46.48058
+                ],
                 [
-                    -4.06914872,
-                    55.67242091
+                    11.1103,
+                    46.49643
                 ],
                 [
-                    -4.06954357,
-                    55.67989707
+                    11.10449,
+                    46.4948
                 ],
                 [
-                    -4.05917487,
-                    55.6800715
+                    11.08812,
+                    46.50128
                 ],
                 [
-                    -4.05878199,
-                    55.67259529
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/strathaven.html",
-        "terms_text": "National Library of Scotland - Strathaven 1858"
-    },
-    {
-        "name": "OS Town Plans, Wick 1872 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Wick 1872, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/wick/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.08173,
+                    46.53021
+                ],
                 [
-                    -3.11470001,
-                    58.41344839
+                    11.05915,
+                    46.51508
                 ],
                 [
-                    -3.11588837,
-                    58.45101446
+                    11.03795,
+                    46.51357
                 ],
                 [
-                    -3.05949843,
-                    58.45149284
+                    11.05006,
+                    46.50784
                 ],
                 [
-                    -3.05837008,
-                    58.41392606
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/wick.html",
-        "terms_text": "National Library of Scotland - Wick 1872"
-    },
-    {
-        "name": "OS Town Plans, Wigtown 1848 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Wigtown 1848, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/wigtown1848/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.05773,
+                    46.49235
+                ],
                 [
-                    -4.45235587,
-                    54.8572296
+                    11.06278,
+                    46.4894
                 ],
                 [
-                    -4.45327284,
-                    54.87232603
+                    11.06894,
+                    46.46619
                 ],
                 [
-                    -4.43254469,
-                    54.87274317
+                    11.07625,
+                    46.45487
                 ],
                 [
-                    -4.43163545,
-                    54.85764651
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/wigtown_1.html",
-        "terms_text": "National Library of Scotland - Wigtown 1848"
-    },
-    {
-        "name": "OS Town Plans, Wigtown 1894 (NLS)",
-        "type": "tms",
-        "description": "Detailed town plan of Wigtown 1894, courtesy of National Library of Scotland.",
-        "template": "http://geo.nls.uk/maps/towns/wigtown1894/{zoom}/{x}/{-y}.png",
-        "scaleExtent": [
-            13,
-            20
-        ],
-        "polygon": [
-            [
+                    11.0778,
+                    46.44569
+                ],
                 [
-                    -4.45233361,
-                    54.85721131
+                    11.07301,
+                    46.44042
                 ],
                 [
-                    -4.45325423,
-                    54.87236807
+                    11.05394,
+                    46.44849
                 ],
                 [
-                    -4.43257837,
-                    54.87278416
+                    11.0414,
+                    46.44569
                 ],
                 [
-                    -4.43166549,
-                    54.85762716
-                ]
-            ]
-        ],
-        "terms_url": "http://maps.nls.uk/townplans/wigtown_2.html",
-        "terms_text": "National Library of Scotland - Wigtown 1894"
-    },
-    {
-        "name": "OpenPT Map (overlay)",
-        "type": "tms",
-        "template": "http://openptmap.de/tiles/{zoom}/{x}/{y}.png",
-        "scaleExtent": [
-            5,
-            16
-        ],
-        "polygon": [
-            [
+                    11.02817,
+                    46.46116
+                ],
                 [
-                    6.4901072,
-                    53.665658
+                    11.00952,
+                    46.46917
                 ],
                 [
-                    8.5665347,
-                    53.9848257
+                    11.00462,
+                    46.47607
                 ],
                 [
-                    8.1339457,
-                    54.709715
+                    10.98695,
+                    46.48289
                 ],
                 [
-                    8.317796,
-                    55.0952362
+                    10.96543,
+                    46.48103
                 ],
                 [
-                    10.1887438,
-                    54.7783834
+                    10.95791,
+                    46.46983
                 ],
                 [
-                    10.6321475,
-                    54.4778841
+                    10.93819,
+                    46.46578
                 ],
                 [
-                    11.2702164,
-                    54.6221504
+                    10.9325,
+                    46.45831
                 ],
                 [
-                    11.681176,
-                    54.3709243
+                    10.93332,
+                    46.4528
                 ],
                 [
-                    12.0272473,
-                    54.3898199
+                    10.91305,
+                    46.44284
                 ],
                 [
-                    13.3250145,
-                    54.8531617
+                    10.89161,
+                    46.44366
                 ],
                 [
-                    13.9198245,
-                    54.6972173
+                    10.88324,
+                    46.44995
                 ],
                 [
-                    14.2118221,
-                    54.1308273
+                    10.88093,
+                    46.44579
                 ],
                 [
-                    14.493005,
-                    53.2665063
+                    10.87162,
+                    46.4438
                 ],
                 [
-                    14.1577485,
-                    52.8766495
+                    10.86174,
+                    46.43509
                 ],
                 [
-                    14.7525584,
-                    52.5819369
+                    10.85113,
+                    46.43817
                 ],
                 [
-                    15.0986297,
-                    51.0171541
+                    10.80034,
+                    46.44185
                 ],
                 [
-                    14.9364088,
-                    50.8399279
+                    10.78906,
+                    46.45164
                 ],
                 [
-                    14.730929,
-                    50.7920977
+                    10.77835,
+                    46.47112
                 ],
                 [
-                    14.4389313,
-                    50.8808862
+                    10.76934,
+                    46.47609
                 ],
                 [
-                    12.9573138,
-                    50.3939044
+                    10.76463,
+                    46.4848
                 ],
                 [
-                    12.51391,
-                    50.3939044
+                    10.75906,
+                    46.48547
                 ],
                 [
-                    12.3084302,
-                    50.1173237
+                    10.74422,
+                    46.48333
                 ],
                 [
-                    12.6112425,
-                    49.9088337
+                    10.71753,
+                    46.46022
                 ],
                 [
-                    12.394948,
-                    49.7344006
+                    10.69667,
+                    46.4573
                 ],
                 [
-                    12.7734634,
-                    49.4047626
+                    10.68293,
+                    46.44846
                 ],
                 [
-                    14.1469337,
-                    48.6031036
+                    10.66821,
+                    46.45122
                 ],
                 [
-                    14.6768553,
-                    48.6531391
+                    10.63303,
+                    46.44309
                 ],
                 [
-                    15.0661855,
-                    49.0445497
+                    10.61439,
+                    46.45098
                 ],
                 [
-                    16.2666202,
-                    48.7459305
+                    10.60128,
+                    46.46139
                 ],
                 [
-                    16.4937294,
-                    48.8741286
+                    10.59995,
+                    46.46766
                 ],
                 [
-                    16.904689,
-                    48.7173975
+                    10.57672,
+                    46.47237
                 ],
                 [
-                    16.9371332,
-                    48.5315383
+                    10.55875,
+                    46.48187
                 ],
                 [
-                    16.8384693,
-                    48.3823161
+                    10.54986,
+                    46.49123
                 ],
                 [
-                    17.2017097,
-                    48.010204
+                    10.53685,
+                    46.49062
                 ],
                 [
-                    17.1214145,
-                    47.6997605
+                    10.52657,
+                    46.49425
                 ],
                 [
-                    16.777292,
-                    47.6585709
+                    10.49366,
+                    46.49719
                 ],
                 [
-                    16.6090543,
-                    47.7460598
+                    10.48141,
+                    46.49337
                 ],
                 [
-                    16.410228,
-                    47.6637214
+                    10.45714,
+                    46.5096
                 ],
                 [
-                    16.7352326,
-                    47.6147714
+                    10.45124,
+                    46.53083
                 ],
                 [
-                    16.5555242,
-                    47.3589738
+                    10.45814,
+                    46.54215
                 ],
                 [
-                    16.4790525,
-                    46.9768539
+                    10.47056,
+                    46.54377
                 ],
                 [
-                    16.0355168,
-                    46.8096295
+                    10.46954,
+                    46.54856
                 ],
                 [
-                    16.0508112,
-                    46.6366332
+                    10.47617,
+                    46.55749
                 ],
                 [
-                    14.9572663,
-                    46.6313822
+                    10.47321,
+                    46.56701
                 ],
                 [
-                    14.574908,
-                    46.3892866
+                    10.48305,
+                    46.5777
                 ],
                 [
-                    12.3954655,
-                    46.6891149
+                    10.48575,
+                    46.58921
                 ],
                 [
-                    12.1507562,
-                    47.0550608
+                    10.48221,
+                    46.59199
                 ],
                 [
-                    11.1183887,
-                    46.9142058
+                    10.48576,
+                    46.59805
                 ],
                 [
-                    11.0342699,
-                    46.7729797
+                    10.48291,
+                    46.60512
                 ],
                 [
-                    10.4836739,
-                    46.8462544
+                    10.49055,
+                    46.61394
                 ],
                 [
-                    10.4607324,
-                    46.5472973
+                    10.44632,
+                    46.63989
                 ],
                 [
-                    10.1013156,
-                    46.5735879
+                    10.40935,
+                    46.63389
                 ],
                 [
-                    10.2007287,
-                    46.1831867
+                    10.40011,
+                    46.63648
                 ],
                 [
-                    9.8948421,
-                    46.3629068
+                    10.39873,
+                    46.6455
                 ],
                 [
-                    9.5966026,
-                    46.2889758
+                    10.38946,
+                    46.65862
                 ],
                 [
-                    9.2983631,
-                    46.505206
+                    10.39057,
+                    46.67089
                 ],
                 [
-                    9.2830687,
-                    46.2572605
+                    10.3803,
+                    46.68399
                 ],
                 [
-                    9.0536537,
-                    45.7953255
+                    10.38615,
+                    46.68821
+                ]
+            ]
+        ],
+        "id": "South-Tyrol-Orthofoto2011"
+    },
+    {
+        "name": "South Tyrol Topomap",
+        "type": "tms",
+        "description": "Topographical basemap of South Tyrol",
+        "template": "http://sdi.provincia.bz.it/geoserver/gwc/service/tms/1.0.0/WMTS_TOPOMAP_APB-PAB@GoogleMapsCompatible@png8/{z}/{x}/{-y}.png",
+        "scaleExtent": [
+            0,
+            20
+        ],
+        "polygon": [
+            [
+                [
+                    10.38615,
+                    46.68821
                 ],
                 [
-                    8.4265861,
-                    46.2466846
+                    10.39201,
+                    46.69016
                 ],
                 [
-                    8.4418804,
-                    46.4736161
+                    10.40215,
+                    46.70624
                 ],
                 [
-                    7.8759901,
-                    45.9284607
+                    10.41274,
+                    46.70821
                 ],
                 [
-                    7.0959791,
-                    45.8645956
+                    10.41622,
+                    46.71479
                 ],
                 [
-                    6.7747981,
-                    46.1620044
+                    10.4168,
+                    46.71847
                 ],
                 [
-                    6.8206811,
-                    46.4051083
+                    10.39934,
+                    46.73435
                 ],
                 [
-                    6.5453831,
-                    46.4578142
+                    10.43464,
+                    46.75356
                 ],
                 [
-                    6.3312624,
-                    46.3840116
+                    10.44107,
+                    46.75413
+                ],
+                [
+                    10.44011,
+                    46.77149
                 ],
                 [
-                    6.3847926,
-                    46.2466846
+                    10.42123,
+                    46.78861
                 ],
                 [
-                    5.8953739,
-                    46.0878021
+                    10.42845,
+                    46.79755
                 ],
                 [
-                    6.1171418,
-                    46.3681838
+                    10.43851,
+                    46.79869
                 ],
                 [
-                    6.0942003,
-                    46.5998657
+                    10.44925,
+                    46.80462
                 ],
                 [
-                    6.4383228,
-                    46.7782169
+                    10.45602,
+                    46.81635
                 ],
                 [
-                    6.4306756,
-                    46.9298747
+                    10.45438,
+                    46.82221
                 ],
                 [
-                    7.0806847,
-                    47.3460216
+                    10.4583,
+                    46.82478
                 ],
                 [
-                    6.8436226,
-                    47.3719227
+                    10.45513,
+                    46.83059
                 ],
                 [
-                    6.9965659,
-                    47.5012373
+                    10.45906,
+                    46.83548
                 ],
                 [
-                    7.1800979,
-                    47.5064033
+                    10.46483,
+                    46.83624
                 ],
                 [
-                    7.2336281,
-                    47.439206
+                    10.46229,
+                    46.8413
                 ],
                 [
-                    7.4553959,
-                    47.4805683
+                    10.46987,
+                    46.84933
                 ],
                 [
-                    7.7842241,
-                    48.645735
+                    10.46819,
+                    46.8553
                 ],
                 [
-                    8.1971711,
-                    49.0282701
+                    10.47838,
+                    46.86013
                 ],
                 [
-                    7.6006921,
-                    49.0382974
+                    10.48372,
+                    46.85543
                 ],
                 [
-                    7.4477487,
-                    49.1634679
+                    10.49628,
+                    46.85305
                 ],
                 [
-                    7.2030394,
-                    49.1034255
+                    10.49931,
+                    46.84857
                 ],
                 [
-                    6.6677378,
-                    49.1634679
+                    10.52124,
+                    46.84653
                 ],
                 [
-                    6.6371491,
-                    49.3331933
+                    10.5527,
+                    46.8511
                 ],
                 [
-                    6.3542039,
-                    49.4576194
+                    10.55795,
+                    46.84695
                 ],
                 [
-                    6.5453831,
-                    49.8043366
+                    10.55264,
+                    46.8408
                 ],
                 [
-                    6.2471436,
-                    49.873384
+                    10.55536,
+                    46.84087
                 ],
                 [
-                    6.0789059,
-                    50.1534883
+                    10.58883,
+                    46.85125
                 ],
                 [
-                    6.3618511,
-                    50.3685934
+                    10.59502,
+                    46.85829
                 ],
                 [
-                    6.0865531,
-                    50.7039632
+                    10.60936,
+                    46.8597
                 ],
                 [
-                    5.8800796,
-                    51.0513752
+                    10.62441,
+                    46.86558
                 ],
                 [
-                    6.1247889,
-                    51.1618085
+                    10.64858,
+                    46.86655
                 ],
                 [
-                    6.1936134,
-                    51.491527
+                    10.66787,
+                    46.87651
                 ],
                 [
-                    5.9641984,
-                    51.7526501
+                    10.67297,
+                    46.87138
                 ],
                 [
-                    6.0253758,
-                    51.8897286
+                    10.69112,
+                    46.86861
                 ],
                 [
-                    6.4536171,
-                    51.8661241
+                    10.69786,
+                    46.86339
                 ],
                 [
-                    6.8436226,
-                    51.9557552
+                    10.69508,
+                    46.85308
                 ],
                 [
-                    6.6906793,
-                    52.0499105
+                    10.70594,
+                    46.84786
                 ],
                 [
-                    7.0042131,
-                    52.2282603
+                    10.71763,
+                    46.84795
                 ],
                 [
-                    7.0195074,
-                    52.4525245
+                    10.72333,
+                    46.83892
                 ],
                 [
-                    6.6983264,
-                    52.4665032
+                    10.75621,
+                    46.83383
                 ],
                 [
-                    6.6906793,
-                    52.6524628
+                    10.76481,
+                    46.82409
                 ],
                 [
-                    7.0348017,
-                    52.6385432
+                    10.76387,
+                    46.81971
                 ],
                 [
-                    7.0730376,
-                    52.8330151
+                    10.75239,
+                    46.81387
                 ],
                 [
-                    7.2183337,
-                    52.9852064
+                    10.74506,
+                    46.80223
                 ],
                 [
-                    7.1953922,
-                    53.3428087
+                    10.7276,
+                    46.79709
                 ],
                 [
-                    7.0042131,
-                    53.3291098
-                ]
-            ]
-        ],
-        "terms_url": "http://openstreetmap.org/",
-        "terms_text": "© OpenStreetMap contributors, CC-BY-SA"
-    },
-    {
-        "name": "OpenStreetMap (Mapnik)",
-        "type": "tms",
-        "description": "The default OpenStreetMap layer.",
-        "template": "http://{switch:a,b,c}.tile.openstreetmap.org/{zoom}/{x}/{y}.png",
-        "scaleExtent": [
-            0,
-            19
-        ],
-        "terms_url": "http://openstreetmap.org/",
-        "terms_text": "© OpenStreetMap contributors, CC-BY-SA",
-        "id": "MAPNIK",
-        "default": true
-    },
-    {
-        "name": "OpenStreetMap GPS traces",
-        "type": "tms",
-        "description": "Public GPS traces uploaded to OpenStreetMap.",
-        "template": "http://{switch:a,b,c}.gps-tile.openstreetmap.org/lines/{zoom}/{x}/{y}.png",
-        "scaleExtent": [
-            0,
-            20
-        ],
-        "terms_url": "http://www.openstreetmap.org/copyright",
-        "terms_text": "© OpenStreetMap contributors",
-        "terms_html": "© <a href='http://www.openstreetmap.org/copyright'>OpenStreetMap contributors</a>. North: <span style='display: inline-block; width: 10px; height: 10px; background-color: #7fed11;'></span> South: <span style='display: inline-block; width: 10px; height: 10px; background-color: #7f11ed;'></span> East: <span style='display: inline-block; width: 10px; height: 10px; background-color: #ff3f3f;'></span> West: <span style='display: inline-block; width: 10px; height: 10px; background-color: #00bfbf;'></span>",
-        "overlay": true
-    },
-    {
-        "name": "Pangasinán/Bulacan (Phillipines HiRes)",
-        "type": "tms",
-        "template": "http://gravitystorm.dev.openstreetmap.org/imagery/philippines/{zoom}/{x}/{y}.png",
-        "scaleExtent": [
-            12,
-            19
-        ],
-        "polygon": [
-            [
+                    10.73122,
+                    46.78925
+                ],
                 [
-                    120.336593,
-                    15.985768
+                    10.75722,
+                    46.78624
                 ],
                 [
-                    120.445995,
-                    15.984
+                    10.77744,
+                    46.79149
                 ],
                 [
-                    120.446134,
-                    15.974459
+                    10.78678,
+                    46.79735
                 ],
                 [
-                    120.476464,
-                    15.974592
+                    10.81439,
+                    46.77662
                 ],
                 [
-                    120.594247,
-                    15.946832
+                    10.82479,
+                    46.77472
                 ],
                 [
-                    120.598064,
-                    16.090795
+                    10.83129,
+                    46.78138
                 ],
                 [
-                    120.596537,
-                    16.197999
+                    10.84112,
+                    46.78282
                 ],
                 [
-                    120.368537,
-                    16.218527
+                    10.85354,
+                    46.77506
                 ],
                 [
-                    120.347576,
-                    16.042308
+                    10.86845,
+                    46.77313
                 ],
                 [
-                    120.336593,
-                    15.985768
-                ]
-            ],
-            [
+                    10.86993,
+                    46.7669
+                ],
                 [
-                    120.8268,
-                    15.3658
+                    10.88294,
+                    46.76393
                 ],
                 [
-                    121.2684,
-                    15.2602
+                    10.88962,
+                    46.76529
                 ],
                 [
-                    121.2699,
-                    14.7025
+                    10.8951,
+                    46.77092
                 ],
                 [
-                    120.695,
-                    14.8423
-                ]
-            ]
-        ]
-    },
-    {
-        "name": "Slovakia EEA CORINE 2006",
-        "type": "tms",
-        "template": "http://www.freemap.sk/tms/clc/{zoom}/{x}/{y}.png",
-        "polygon": [
-            [
+                    10.90527,
+                    46.76911
+                ],
                 [
-                    19.83682,
-                    49.25529
+                    10.92299,
+                    46.7764
                 ],
                 [
-                    19.80075,
-                    49.42385
+                    10.92821,
+                    46.77408
                 ],
                 [
-                    19.60437,
-                    49.48058
+                    10.94388,
+                    46.77648
                 ],
                 [
-                    19.49179,
-                    49.63961
+                    10.97522,
+                    46.77361
                 ],
                 [
-                    19.21831,
-                    49.52604
+                    10.97932,
+                    46.77014
                 ],
                 [
-                    19.16778,
-                    49.42521
+                    10.99475,
+                    46.76804
                 ],
                 [
-                    19.00308,
-                    49.42236
+                    11.01397,
+                    46.77317
                 ],
                 [
-                    18.97611,
-                    49.5308
+                    11.02328,
+                    46.76715
                 ],
                 [
-                    18.54685,
-                    49.51425
+                    11.0346,
+                    46.79428
                 ],
                 [
-                    18.31432,
-                    49.33818
+                    11.04234,
+                    46.801
                 ],
                 [
-                    18.15913,
-                    49.2961
+                    11.03792,
+                    46.80562
                 ],
                 [
-                    18.05564,
-                    49.11134
+                    11.05633,
+                    46.80928
                 ],
                 [
-                    17.56396,
-                    48.84938
+                    11.07279,
+                    46.82092
                 ],
                 [
-                    17.17929,
-                    48.88816
+                    11.08171,
+                    46.82252
                 ],
                 [
-                    17.058,
-                    48.81105
+                    11.0762,
+                    46.83384
                 ],
                 [
-                    16.90426,
-                    48.61947
+                    11.06887,
+                    46.83793
                 ],
                 [
-                    16.79685,
-                    48.38561
+                    11.07303,
+                    46.84345
                 ],
                 [
-                    17.06762,
-                    48.01116
+                    11.06988,
+                    46.85348
                 ],
                 [
-                    17.32787,
-                    47.97749
+                    11.08742,
+                    46.87927
                 ],
                 [
-                    17.51699,
-                    47.82535
+                    11.09961,
+                    46.88922
                 ],
                 [
-                    17.74776,
-                    47.73093
+                    11.09538,
+                    46.89178
                 ],
                 [
-                    18.29515,
-                    47.72075
+                    11.09795,
+                    46.89844
                 ],
                 [
-                    18.67959,
-                    47.75541
+                    11.0946,
+                    46.91247
                 ],
                 [
-                    18.89755,
-                    47.81203
+                    11.10792,
+                    46.91706
                 ],
                 [
-                    18.79463,
-                    47.88245
+                    11.10804,
+                    46.92632
                 ],
                 [
-                    18.84318,
-                    48.04046
+                    11.11418,
+                    46.93234
                 ],
                 [
-                    19.46212,
-                    48.05333
+                    11.13851,
+                    46.92865
                 ],
                 [
-                    19.62064,
-                    48.22938
+                    11.16322,
+                    46.94091
                 ],
                 [
-                    19.89585,
-                    48.09387
+                    11.16642,
+                    46.94479
                 ],
                 [
-                    20.33766,
-                    48.2643
+                    11.16114,
+                    46.94979
                 ],
                 [
-                    20.55395,
-                    48.52358
+                    11.1637,
+                    46.96677
                 ],
                 [
-                    20.82335,
-                    48.55714
+                    11.17598,
+                    46.96367
                 ],
                 [
-                    21.10271,
-                    48.47096
+                    11.18658,
+                    46.97062
                 ],
                 [
-                    21.45863,
-                    48.55513
+                    11.19527,
+                    46.97152
                 ],
                 [
-                    21.74536,
-                    48.31435
+                    11.20418,
+                    46.96877
                 ],
                 [
-                    22.15293,
-                    48.37179
+                    11.20688,
+                    46.96403
                 ],
                 [
-                    22.61255,
-                    49.08914
+                    11.22047,
+                    46.97025
                 ],
                 [
-                    22.09997,
-                    49.23814
+                    11.24139,
+                    46.9708
                 ],
                 [
-                    21.9686,
-                    49.36363
+                    11.24865,
+                    46.97517
                 ],
                 [
-                    21.6244,
-                    49.46989
+                    11.25582,
+                    46.97535
                 ],
                 [
-                    21.06873,
-                    49.46402
+                    11.26272,
+                    46.98169
                 ],
                 [
-                    20.94336,
-                    49.31088
+                    11.27662,
+                    46.98168
                 ],
                 [
-                    20.73052,
-                    49.44006
+                    11.28762,
+                    46.98699
                 ],
                 [
-                    20.22804,
-                    49.41714
+                    11.30709,
+                    46.98525
                 ],
                 [
-                    20.05234,
-                    49.23052
+                    11.3205,
+                    46.99345
                 ],
                 [
-                    19.83682,
-                    49.25529
-                ]
-            ]
-        ],
-        "terms_url": "http://www.eea.europa.eu/data-and-maps/data/clc-2006-vector-data-version-1",
-        "terms_text": "EEA Corine 2006"
-    },
-    {
-        "name": "Slovakia EEA GMES Urban Atlas",
-        "type": "tms",
-        "template": "http://www.freemap.sk/tms/urbanatlas/{zoom}/{x}/{y}.png",
-        "polygon": [
-            [
+                    11.33765,
+                    46.98606
+                ],
                 [
-                    19.83682,
-                    49.25529
+                    11.34516,
+                    46.99169
                 ],
                 [
-                    19.80075,
-                    49.42385
+                    11.35932,
+                    46.99154
                 ],
                 [
-                    19.60437,
-                    49.48058
+                    11.37697,
+                    46.98025
                 ],
                 [
-                    19.49179,
-                    49.63961
+                    11.38324,
+                    46.97168
                 ],
                 [
-                    19.21831,
-                    49.52604
+                    11.40465,
+                    46.96609
                 ],
                 [
-                    19.16778,
-                    49.42521
+                    11.43929,
+                    46.97601
                 ],
                 [
-                    19.00308,
-                    49.42236
+                    11.45134,
+                    46.99294
                 ],
                 [
-                    18.97611,
-                    49.5308
+                    11.46803,
+                    46.99582
                 ],
                 [
-                    18.54685,
-                    49.51425
+                    11.46859,
+                    47.003
                 ],
                 [
-                    18.31432,
-                    49.33818
+                    11.47831,
+                    47.01201
                 ],
                 [
-                    18.15913,
-                    49.2961
+                    11.50238,
+                    47.01073
                 ],
                 [
-                    18.05564,
-                    49.11134
+                    11.50313,
+                    47.00808
                 ],
                 [
-                    17.56396,
-                    48.84938
+                    11.51366,
+                    47.00595
                 ],
                 [
-                    17.17929,
-                    48.88816
+                    11.51679,
+                    47.00091
                 ],
                 [
-                    17.058,
-                    48.81105
+                    11.53381,
+                    46.99233
                 ],
                 [
-                    16.90426,
-                    48.61947
+                    11.53846,
+                    46.98519
                 ],
                 [
-                    16.79685,
-                    48.38561
+                    11.55297,
+                    46.99149
                 ],
                 [
-                    17.06762,
-                    48.01116
+                    11.57663,
+                    46.99657
                 ],
                 [
-                    17.32787,
-                    47.97749
+                    11.58,
+                    47.00277
                 ],
                 [
-                    17.51699,
-                    47.82535
+                    11.58879,
+                    47.00641
                 ],
                 [
-                    17.74776,
-                    47.73093
+                    11.59901,
+                    47.00657
                 ],
                 [
-                    18.29515,
-                    47.72075
+                    11.60944,
+                    47.01207
                 ],
                 [
-                    18.67959,
-                    47.75541
+                    11.62697,
+                    47.01437
                 ],
                 [
-                    18.89755,
-                    47.81203
+                    11.63629,
+                    47.00383
                 ],
                 [
-                    18.79463,
-                    47.88245
+                    11.66542,
+                    46.99304
                 ],
                 [
-                    18.84318,
-                    48.04046
+                    11.6885,
+                    46.99658
                 ],
                 [
-                    19.46212,
-                    48.05333
+                    11.71226,
+                    46.99416
                 ],
                 [
-                    19.62064,
-                    48.22938
+                    11.72897,
+                    46.97322
                 ],
                 [
-                    19.89585,
-                    48.09387
+                    11.74698,
+                    46.97013
                 ],
                 [
-                    20.33766,
-                    48.2643
+                    11.76411,
+                    46.97412
                 ],
                 [
-                    20.55395,
-                    48.52358
+                    11.78106,
+                    46.99342
                 ],
                 [
-                    20.82335,
-                    48.55714
+                    11.81526,
+                    46.991
                 ],
                 [
-                    21.10271,
-                    48.47096
+                    11.83564,
+                    46.99417
                 ],
                 [
-                    21.45863,
-                    48.55513
+                    11.84396,
+                    47.0025
                 ],
                 [
-                    21.74536,
-                    48.31435
+                    11.85192,
+                    47.0014
                 ],
                 [
-                    22.15293,
-                    48.37179
+                    11.86722,
+                    47.01252
                 ],
                 [
-                    22.61255,
-                    49.08914
+                    11.87393,
+                    47.01136
                 ],
                 [
-                    22.09997,
-                    49.23814
+                    11.8794,
+                    47.01714
                 ],
                 [
-                    21.9686,
-                    49.36363
+                    11.89137,
+                    47.01728
                 ],
                 [
-                    21.6244,
-                    49.46989
+                    11.91627,
+                    47.03422
                 ],
                 [
-                    21.06873,
-                    49.46402
+                    11.9329,
+                    47.03864
                 ],
                 [
-                    20.94336,
-                    49.31088
+                    11.94688,
+                    47.03464
                 ],
                 [
-                    20.73052,
-                    49.44006
+                    11.95457,
+                    47.04374
                 ],
                 [
-                    20.22804,
-                    49.41714
+                    11.96773,
+                    47.04158
                 ],
                 [
-                    20.05234,
-                    49.23052
+                    11.97912,
+                    47.0511
                 ],
                 [
-                    19.83682,
-                    49.25529
-                ]
-            ]
-        ],
-        "terms_url": "http://www.eea.europa.eu/data-and-maps/data/urban-atlas",
-        "terms_text": "EEA GMES Urban Atlas"
-    },
-    {
-        "name": "Slovakia Historic Maps",
-        "type": "tms",
-        "template": "http://tms.freemap.sk/historicke/{zoom}/{x}/{y}.png",
-        "scaleExtent": [
-            0,
-            12
-        ],
-        "polygon": [
-            [
+                    11.98587,
+                    47.04815
+                ],
                 [
-                    16.8196949,
-                    47.4927236
+                    11.99534,
+                    47.05064
                 ],
                 [
-                    16.8196949,
-                    49.5030322
+                    12.02037,
+                    47.04821
                 ],
                 [
-                    22.8388318,
-                    49.5030322
+                    12.02968,
+                    47.05127
                 ],
                 [
-                    22.8388318,
-                    47.4927236
+                    12.03353,
+                    47.0583
                 ],
                 [
-                    16.8196949,
-                    47.4927236
-                ]
-            ]
-        ]
-    },
-    {
-        "name": "South Africa CD:NGI Aerial",
-        "type": "tms",
-        "template": "http://{switch:a,b,c}.aerial.openstreetmap.org.za/ngi-aerial/{zoom}/{x}/{y}.jpg",
-        "scaleExtent": [
-            1,
-            22
-        ],
-        "polygon": [
-            [
+                    12.04276,
+                    47.06228
+                ],
                 [
-                    17.8396817,
-                    -32.7983384
+                    12.07543,
+                    47.0605
                 ],
                 [
-                    17.8893509,
-                    -32.6972835
+                    12.08035,
+                    47.06951
                 ],
                 [
-                    18.00364,
-                    -32.6982187
+                    12.09308,
+                    47.07791
                 ],
                 [
-                    18.0991679,
-                    -32.7485251
+                    12.10329,
+                    47.07931
                 ],
                 [
-                    18.2898747,
-                    -32.5526645
+                    12.11867,
+                    47.07445
                 ],
                 [
-                    18.2930182,
-                    -32.0487089
+                    12.13561,
+                    47.08171
                 ],
                 [
-                    18.105455,
-                    -31.6454966
+                    12.15125,
+                    47.08049
                 ],
                 [
-                    17.8529257,
-                    -31.3443951
+                    12.15997,
+                    47.08267
                 ],
                 [
-                    17.5480046,
-                    -30.902171
+                    12.18589,
+                    47.09322
                 ],
                 [
-                    17.4044506,
-                    -30.6374731
+                    12.2278,
+                    47.08302
                 ],
                 [
-                    17.2493704,
-                    -30.3991663
+                    12.24228,
+                    47.06892
                 ],
                 [
-                    16.9936977,
-                    -29.6543552
+                    12.23786,
+                    47.0644
                 ],
                 [
-                    16.7987996,
-                    -29.19437
+                    12.21821,
+                    47.05795
                 ],
                 [
-                    16.5494139,
-                    -28.8415949
+                    12.2182,
+                    47.04483
                 ],
                 [
-                    16.4498691,
-                    -28.691876
+                    12.20552,
+                    47.02595
                 ],
                 [
-                    16.4491046,
-                    -28.5515766
+                    12.18048,
+                    47.02414
                 ],
                 [
-                    16.6002551,
-                    -28.4825663
+                    12.16423,
+                    47.01782
                 ],
                 [
-                    16.7514057,
-                    -28.4486958
+                    12.14786,
+                    47.02357
                 ],
                 [
-                    16.7462192,
-                    -28.2458973
+                    12.12723,
+                    47.01218
                 ],
                 [
-                    16.8855148,
-                    -28.04729
+                    12.12285,
+                    47.00662
                 ],
                 [
-                    16.9929502,
-                    -28.0244005
+                    12.1322,
+                    46.99339
                 ],
                 [
-                    17.0529659,
-                    -28.0257086
+                    12.12974,
+                    46.98593
                 ],
                 [
-                    17.1007562,
-                    -28.0338839
+                    12.13977,
+                    46.982
                 ],
                 [
-                    17.2011527,
-                    -28.0930546
+                    12.13808,
+                    46.96514
                 ],
                 [
-                    17.2026346,
-                    -28.2328424
+                    12.13328,
+                    46.96292
                 ],
                 [
-                    17.2474611,
-                    -28.2338215
+                    12.13882,
+                    46.95764
                 ],
                 [
-                    17.2507953,
-                    -28.198892
+                    12.15927,
+                    46.95133
                 ],
                 [
-                    17.3511919,
-                    -28.1975861
+                    12.1702,
+                    46.93758
                 ],
                 [
-                    17.3515624,
-                    -28.2442655
+                    12.15414,
+                    46.91654
                 ],
                 [
-                    17.4015754,
-                    -28.2452446
+                    12.14675,
+                    46.91413
                 ],
                 [
-                    17.4149122,
-                    -28.3489751
+                    12.16205,
+                    46.908
                 ],
                 [
-                    17.4008345,
-                    -28.547997
+                    12.16959,
+                    46.91121
                 ],
                 [
-                    17.4526999,
-                    -28.5489733
+                    12.19154,
+                    46.90682
                 ],
                 [
-                    17.4512071,
-                    -28.6495106
+                    12.20106,
+                    46.8965
                 ],
                 [
-                    17.4983599,
-                    -28.6872054
+                    12.2022,
+                    46.88806
                 ],
                 [
-                    17.6028204,
-                    -28.6830048
+                    12.21663,
+                    46.87517
                 ],
                 [
-                    17.6499732,
-                    -28.6967928
+                    12.22147,
+                    46.88084
                 ],
                 [
-                    17.6525928,
-                    -28.7381457
+                    12.23125,
+                    46.88146
                 ],
                 [
-                    17.801386,
-                    -28.7381457
+                    12.2345,
+                    46.88919
                 ],
                 [
-                    17.9994276,
-                    -28.7560602
+                    12.24162,
+                    46.89192
                 ],
                 [
-                    18.0002748,
-                    -28.7956172
+                    12.27486,
+                    46.88512
                 ],
                 [
-                    18.1574507,
-                    -28.8718055
+                    12.27979,
+                    46.87921
                 ],
                 [
-                    18.5063811,
-                    -28.8718055
+                    12.27736,
+                    46.87319
                 ],
                 [
-                    18.6153564,
-                    -28.8295875
+                    12.29326,
+                    46.86566
                 ],
                 [
-                    18.9087513,
-                    -28.8277516
+                    12.2912,
+                    46.85704
                 ],
                 [
-                    19.1046973,
-                    -28.9488548
+                    12.29733,
+                    46.84455
                 ],
                 [
-                    19.1969071,
-                    -28.9378513
+                    12.30833,
+                    46.84137
                 ],
                 [
-                    19.243012,
-                    -28.8516164
+                    12.30726,
+                    46.83271
                 ],
                 [
-                    19.2314858,
-                    -28.802963
+                    12.285,
+                    46.81503
                 ],
                 [
-                    19.2587296,
-                    -28.7009928
+                    12.29383,
+                    46.8027
+                ],
+                [
+                    12.28905,
+                    46.79948
                 ],
                 [
-                    19.4431493,
-                    -28.6973163
+                    12.28889,
+                    46.79427
                 ],
                 [
-                    19.5500289,
-                    -28.4958332
+                    12.28232,
+                    46.79153
                 ],
                 [
-                    19.6967264,
-                    -28.4939914
+                    12.28539,
+                    46.7839
                 ],
                 [
-                    19.698822,
-                    -28.4479358
+                    12.30943,
+                    46.78603
                 ],
                 [
-                    19.8507587,
-                    -28.4433291
+                    12.35837,
+                    46.77583
                 ],
                 [
-                    19.8497109,
-                    -28.4027818
+                    12.37036,
+                    46.74163
                 ],
                 [
-                    19.9953605,
-                    -28.399095
+                    12.38475,
+                    46.71745
                 ],
                 [
-                    19.9893671,
-                    -24.7497859
+                    12.40283,
+                    46.70811
                 ],
                 [
-                    20.2916682,
-                    -24.9192346
+                    12.41103,
+                    46.70701
                 ],
                 [
-                    20.4724562,
-                    -25.1501701
+                    12.41522,
+                    46.70163
                 ],
                 [
-                    20.6532441,
-                    -25.4529449
+                    12.42862,
+                    46.6997
                 ],
                 [
-                    20.733265,
-                    -25.6801957
+                    12.42943,
+                    46.69567
                 ],
                 [
-                    20.8281046,
-                    -25.8963498
+                    12.44268,
+                    46.68979
                 ],
                 [
-                    20.8429232,
-                    -26.215851
+                    12.47501,
+                    46.68756
                 ],
                 [
-                    20.6502804,
-                    -26.4840868
+                    12.4795,
+                    46.67969
                 ],
                 [
-                    20.6532441,
-                    -26.8204869
+                    12.43473,
+                    46.66714
                 ],
                 [
-                    21.0889134,
-                    -26.846933
+                    12.40648,
+                    46.64167
                 ],
                 [
-                    21.6727695,
-                    -26.8389998
+                    12.38115,
+                    46.64183
                 ],
                 [
-                    21.7765003,
-                    -26.6696268
+                    12.37944,
+                    46.63733
                 ],
                 [
-                    21.9721069,
-                    -26.6431395
+                    12.3915,
+                    46.62765
                 ],
                 [
-                    22.2803355,
-                    -26.3274702
+                    12.38577,
+                    46.62154
                 ],
                 [
-                    22.5707817,
-                    -26.1333967
+                    12.35939,
+                    46.61829
                 ],
                 [
-                    22.7752795,
-                    -25.6775246
+                    12.34465,
+                    46.62376
                 ],
                 [
-                    23.0005235,
-                    -25.2761948
+                    12.34034,
+                    46.63022
                 ],
                 [
-                    23.4658301,
-                    -25.2735148
+                    12.33578,
+                    46.62732
                 ],
                 [
-                    23.883717,
-                    -25.597366
+                    12.3172,
+                    46.62876
                 ],
                 [
-                    24.2364017,
-                    -25.613402
+                    12.31785,
+                    46.62355
                 ],
                 [
-                    24.603905,
-                    -25.7896563
+                    12.30802,
+                    46.61811
                 ],
                 [
-                    25.110704,
-                    -25.7389432
+                    12.28413,
+                    46.61623
                 ],
                 [
-                    25.5078447,
-                    -25.6855376
+                    12.26982,
+                    46.62003
                 ],
                 [
-                    25.6441766,
-                    -25.4823781
+                    12.25931,
+                    46.62809
                 ],
                 [
-                    25.8419267,
-                    -24.7805437
+                    12.24502,
+                    46.62326
                 ],
                 [
-                    25.846641,
-                    -24.7538456
+                    12.24198,
+                    46.61586
                 ],
                 [
-                    26.3928487,
-                    -24.6332894
+                    12.21241,
+                    46.60918
                 ],
                 [
-                    26.4739066,
-                    -24.5653312
+                    12.20444,
+                    46.59836
                 ],
                 [
-                    26.5089966,
-                    -24.4842437
+                    12.19228,
+                    46.59321
                 ],
                 [
-                    26.5861946,
-                    -24.4075775
+                    12.19261,
+                    46.62059
                 ],
                 [
-                    26.7300635,
-                    -24.3014458
+                    12.1818,
+                    46.6192
                 ],
                 [
-                    26.8567384,
-                    -24.2499463
+                    12.17117,
+                    46.63275
                 ],
                 [
-                    26.8574402,
-                    -24.1026901
+                    12.16062,
+                    46.63574
                 ],
                 [
-                    26.9215471,
-                    -23.8990957
+                    12.1511,
+                    46.63215
                 ],
                 [
-                    26.931831,
-                    -23.8461891
+                    12.1436,
+                    46.6327
                 ],
                 [
-                    26.9714827,
-                    -23.6994344
+                    12.13739,
+                    46.64122
                 ],
                 [
-                    27.0006074,
-                    -23.6367644
+                    12.12342,
+                    46.64475
                 ],
                 [
-                    27.0578041,
-                    -23.6052574
+                    12.10949,
+                    46.65204
                 ],
                 [
-                    27.1360547,
-                    -23.5203437
+                    12.10609,
+                    46.65783
                 ],
                 [
-                    27.3339623,
-                    -23.3973792
+                    12.09345,
+                    46.66123
                 ],
                 [
-                    27.5144057,
-                    -23.3593929
+                    12.08826,
+                    46.66638
                 ],
                 [
-                    27.5958145,
-                    -23.2085465
+                    12.07985,
+                    46.66686
                 ],
                 [
-                    27.8098634,
-                    -23.0994957
+                    12.07038,
+                    46.67386
                 ],
                 [
-                    27.8828506,
-                    -23.0620496
+                    12.07173,
+                    46.66064
                 ],
                 [
-                    27.9382928,
-                    -22.9496487
+                    12.06686,
+                    46.65364
                 ],
                 [
-                    28.0407556,
-                    -22.8255118
+                    12.07479,
+                    46.64329
                 ],
                 [
-                    28.2056786,
-                    -22.6552861
+                    12.06837,
+                    46.63997
                 ],
                 [
-                    28.3397223,
-                    -22.5639374
+                    12.06495,
+                    46.62121
                 ],
                 [
-                    28.4906093,
-                    -22.560697
+                    12.05448,
+                    46.61778
                 ],
                 [
-                    28.6108769,
-                    -22.5400248
+                    12.05318,
+                    46.60989
                 ],
                 [
-                    28.828175,
-                    -22.4550173
+                    12.04613,
+                    46.60716
                 ],
                 [
-                    28.9285324,
-                    -22.4232328
+                    12.05043,
+                    46.60016
                 ],
                 [
-                    28.9594116,
-                    -22.3090081
+                    12.04763,
+                    46.58357
                 ],
                 [
-                    29.0162574,
-                    -22.208335
+                    12.03665,
+                    46.57668
                 ],
                 [
-                    29.2324117,
-                    -22.1693453
+                    12.0266,
+                    46.55871
                 ],
                 [
-                    29.3531213,
-                    -22.1842926
+                    12.02189,
+                    46.55791
                 ],
                 [
-                    29.6548952,
-                    -22.1186426
+                    11.99941,
+                    46.53208
                 ],
                 [
-                    29.7777102,
-                    -22.1361956
+                    11.99411,
+                    46.53345
                 ],
                 [
-                    29.9292989,
-                    -22.1849425
+                    11.98704,
+                    46.54417
                 ],
                 [
-                    30.1166795,
-                    -22.2830348
+                    11.96633,
+                    46.54363
                 ],
                 [
-                    30.2563377,
-                    -22.2914767
+                    11.95094,
+                    46.53869
                 ],
                 [
-                    30.3033582,
-                    -22.3395204
+                    11.94719,
+                    46.52879
                 ],
                 [
-                    30.5061784,
-                    -22.3057617
+                    11.94147,
+                    46.52689
                 ],
                 [
-                    30.8374279,
-                    -22.284983
+                    11.93294,
+                    46.52631
                 ],
                 [
-                    31.0058599,
-                    -22.3077095
+                    11.9121,
+                    46.532
                 ],
                 [
-                    31.1834152,
-                    -22.3232913
+                    11.8904,
+                    46.52175
                 ],
                 [
-                    31.2930586,
-                    -22.3674647
+                    11.85192,
+                    46.51682
                 ],
                 [
-                    31.5680579,
-                    -23.1903385
+                    11.82849,
+                    46.50783
                 ],
                 [
-                    31.5568311,
-                    -23.4430809
+                    11.82334,
+                    46.51315
                 ],
                 [
-                    31.6931122,
-                    -23.6175209
+                    11.82391,
+                    46.52141
                 ],
                 [
-                    31.7119696,
-                    -23.741136
+                    11.81086,
+                    46.53146
                 ],
                 [
-                    31.7774743,
-                    -23.8800628
+                    11.79385,
+                    46.52023
                 ],
                 [
-                    31.8886337,
-                    -23.9481098
+                    11.79189,
+                    46.51322
                 ],
                 [
-                    31.9144386,
-                    -24.1746736
+                    11.76157,
+                    46.50503
                 ],
                 [
-                    31.9948307,
-                    -24.3040878
+                    11.74317,
+                    46.50391
                 ],
                 [
-                    32.0166656,
-                    -24.4405988
+                    11.73202,
+                    46.50877
                 ],
                 [
-                    32.0077331,
-                    -24.6536578
+                    11.71935,
+                    46.50916
                 ],
                 [
-                    32.019643,
-                    -24.9140701
+                    11.71524,
+                    46.51245
                 ],
                 [
-                    32.035523,
-                    -25.0849767
+                    11.69889,
+                    46.50218
                 ],
                 [
-                    32.019643,
-                    -25.3821442
+                    11.6672,
+                    46.49647
                 ],
                 [
-                    31.9928457,
-                    -25.4493771
+                    11.64515,
+                    46.49743
                 ],
                 [
-                    31.9997931,
-                    -25.5165725
+                    11.63849,
+                    46.50051
                 ],
                 [
-                    32.0057481,
-                    -25.6078978
+                    11.63495,
+                    46.49486
                 ],
                 [
-                    32.0057481,
-                    -25.6624806
+                    11.64297,
+                    46.49346
                 ],
                 [
-                    31.9362735,
-                    -25.8403721
+                    11.65174,
+                    46.48271
                 ],
                 [
-                    31.9809357,
-                    -25.9546537
+                    11.64536,
+                    46.47189
                 ],
                 [
-                    31.8687838,
-                    -26.0037251
+                    11.64179,
+                    46.47439
                 ],
                 [
-                    31.4162062,
-                    -25.7277683
+                    11.62679,
+                    46.4708
                 ],
                 [
-                    31.3229117,
-                    -25.7438611
+                    11.62987,
+                    46.46377
                 ],
                 [
-                    31.2504595,
-                    -25.8296526
+                    11.61882,
+                    46.44325
                 ],
                 [
-                    31.1393001,
-                    -25.9162746
+                    11.62143,
+                    46.42539
                 ],
                 [
-                    31.1164727,
-                    -25.9912361
+                    11.60161,
+                    46.39731
                 ],
                 [
-                    30.9656135,
-                    -26.2665756
+                    11.60307,
+                    46.38924
                 ],
                 [
-                    30.8921689,
-                    -26.3279703
+                    11.5932,
+                    46.38265
                 ],
                 [
-                    30.8534616,
-                    -26.4035568
+                    11.56489,
+                    46.38018
                 ],
                 [
-                    30.8226943,
-                    -26.4488849
+                    11.55878,
+                    46.35076
                 ],
                 [
-                    30.8022583,
-                    -26.5240694
+                    11.55249,
+                    46.34418
                 ],
                 [
-                    30.8038369,
-                    -26.8082089
+                    11.54423,
+                    46.34483
                 ],
                 [
-                    30.9020939,
-                    -26.7807451
+                    11.53837,
+                    46.35015
                 ],
                 [
-                    30.9100338,
-                    -26.8489495
+                    11.52445,
+                    46.35502
                 ],
                 [
-                    30.9824859,
-                    -26.9082627
+                    11.47969,
+                    46.36277
                 ],
                 [
-                    30.976531,
-                    -27.0029222
+                    11.48052,
+                    46.3551
                 ],
                 [
-                    31.0034434,
-                    -27.0441587
+                    11.46322,
+                    46.34922
                 ],
                 [
-                    31.1543322,
-                    -27.1980416
+                    11.45556,
+                    46.33396
                 ],
                 [
-                    31.5015607,
-                    -27.311117
+                    11.42105,
+                    46.32441
                 ],
                 [
-                    31.9700183,
-                    -27.311117
+                    11.40517,
+                    46.32387
                 ],
                 [
-                    31.9700183,
-                    -27.120472
+                    11.39865,
+                    46.31426
                 ],
                 [
-                    31.9769658,
-                    -27.050664
+                    11.39994,
+                    46.30709
                 ],
                 [
-                    32.0002464,
-                    -26.7983892
+                    11.39569,
+                    46.3083
                 ],
                 [
-                    32.1069826,
-                    -26.7984645
+                    11.38188,
+                    46.30052
                 ],
                 [
-                    32.3114546,
-                    -26.8479493
+                    11.36088,
+                    46.29906
                 ],
                 [
-                    32.899986,
-                    -26.8516059
+                    11.36078,
+                    46.29682
                 ],
                 [
-                    32.886091,
-                    -26.9816971
+                    11.38256,
+                    46.29177
                 ],
                 [
-                    32.709427,
-                    -27.4785436
+                    11.3871,
+                    46.28143
                 ],
                 [
-                    32.6240724,
-                    -27.7775144
+                    11.39609,
+                    46.27423
                 ],
                 [
-                    32.5813951,
-                    -28.07479
+                    11.39862,
+                    46.264
                 ],
                 [
-                    32.5387178,
-                    -28.2288046
+                    11.38756,
+                    46.26029
                 ],
                 [
-                    32.4275584,
-                    -28.5021568
+                    11.37347,
+                    46.2629
                 ],
                 [
-                    32.3640388,
-                    -28.5945699
+                    11.36836,
+                    46.26135
                 ],
                 [
-                    32.0702603,
-                    -28.8469827
+                    11.35783,
+                    46.26481
                 ],
                 [
-                    31.9878832,
-                    -28.9069497
+                    11.35495,
+                    46.27564
                 ],
                 [
-                    31.7764818,
-                    -28.969487
+                    11.33912,
+                    46.28306
                 ],
                 [
-                    31.4638459,
-                    -29.2859343
+                    11.33379,
+                    46.29049
                 ],
                 [
-                    31.359634,
-                    -29.3854348
+                    11.33471,
+                    46.2962
                 ],
                 [
-                    31.1680825,
-                    -29.6307408
+                    11.3129,
+                    46.28256
                 ],
                 [
-                    31.064863,
-                    -29.7893535
+                    11.31737,
+                    46.27303
                 ],
                 [
-                    31.0534493,
-                    -29.8470469
+                    11.30645,
+                    46.25786
                 ],
                 [
-                    31.0669933,
-                    -29.8640319
+                    11.29124,
+                    46.2604
                 ],
                 [
-                    31.0455459,
-                    -29.9502017
+                    11.24743,
+                    46.22933
                 ],
                 [
-                    30.9518556,
-                    -30.0033946
+                    11.20622,
+                    46.2187
                 ],
                 [
-                    30.8651833,
-                    -30.1024093
+                    11.18267,
+                    46.22496
                 ],
                 [
-                    30.7244725,
-                    -30.392502
+                    11.17077,
+                    46.23806
                 ],
                 [
-                    30.3556256,
-                    -30.9308873
+                    11.17994,
+                    46.24434
                 ],
                 [
-                    30.0972364,
-                    -31.2458274
+                    11.18351,
+                    46.25269
                 ],
                 [
-                    29.8673136,
-                    -31.4304296
+                    11.18935,
+                    46.25354
                 ],
                 [
-                    29.7409393,
-                    -31.5014699
+                    11.19448,
+                    46.2461
                 ],
                 [
-                    29.481312,
-                    -31.6978686
+                    11.20029,
+                    46.25566
                 ],
                 [
-                    28.8943171,
-                    -32.2898903
+                    11.16604,
+                    46.26129
                 ],
                 [
-                    28.5497137,
-                    -32.5894641
+                    11.14885,
+                    46.27904
                 ],
                 [
-                    28.1436499,
-                    -32.8320732
+                    11.13725,
+                    46.28336
                 ],
                 [
-                    28.0748735,
-                    -32.941689
+                    11.14293,
+                    46.28934
                 ],
                 [
-                    27.8450942,
-                    -33.082869
+                    11.15847,
+                    46.29059
                 ],
                 [
-                    27.3757956,
-                    -33.3860685
+                    11.16439,
+                    46.2986
                 ],
                 [
-                    26.8805407,
-                    -33.6458951
+                    11.1761,
+                    46.30346
                 ],
                 [
-                    26.5916871,
-                    -33.7480756
+                    11.1847,
+                    46.32104
                 ],
                 [
-                    26.4527308,
-                    -33.7935795
+                    11.18894,
+                    46.32151
                 ],
                 [
-                    26.206754,
-                    -33.7548943
+                    11.18696,
+                    46.32673
                 ],
                 [
-                    26.0077897,
-                    -33.7223961
+                    11.1942,
+                    46.33016
                 ],
                 [
-                    25.8055494,
-                    -33.7524272
+                    11.20204,
+                    46.34212
                 ],
                 [
-                    25.7511073,
-                    -33.8006512
+                    11.19001,
+                    46.35984
                 ],
                 [
-                    25.6529079,
-                    -33.8543597
+                    11.19263,
+                    46.36578
                 ],
                 [
-                    25.6529079,
-                    -33.9469768
+                    11.20393,
+                    46.36765
                 ],
                 [
-                    25.7195789,
-                    -34.0040115
+                    11.19792,
+                    46.37232
                 ],
                 [
-                    25.7202807,
-                    -34.0511235
+                    11.21275,
+                    46.39804
                 ],
                 [
-                    25.5508915,
-                    -34.063151
+                    11.21345,
+                    46.40675
                 ],
                 [
-                    25.3504571,
-                    -34.0502627
+                    11.20565,
+                    46.4166
                 ],
                 [
-                    25.2810609,
-                    -34.0020322
+                    11.21026,
+                    46.4206
                 ],
                 [
-                    25.0476316,
-                    -33.9994588
+                    11.20347,
+                    46.42682
                 ],
                 [
-                    24.954724,
-                    -34.0043594
+                    11.21416,
+                    46.43556
                 ],
                 [
-                    24.9496586,
-                    -34.1010363
+                    11.21634,
+                    46.44255
                 ],
                 [
-                    24.8770358,
-                    -34.1506456
+                    11.20903,
+                    46.45293
                 ],
                 [
-                    24.8762914,
-                    -34.2005281
+                    11.21419,
+                    46.45807
                 ],
                 [
-                    24.8532574,
-                    -34.2189562
+                    11.21736,
+                    46.45731
                 ],
                 [
-                    24.7645287,
-                    -34.2017946
+                    11.21886,
+                    46.46199
                 ],
                 [
-                    24.5001356,
-                    -34.2003254
+                    11.21626,
+                    46.47277
                 ],
                 [
-                    24.3486733,
-                    -34.1163824
+                    11.20939,
+                    46.481
                 ],
                 [
-                    24.1988819,
-                    -34.1019039
+                    11.20876,
+                    46.49346
                 ],
                 [
-                    23.9963377,
-                    -34.0514443
+                    11.19608,
+                    46.50241
                 ],
                 [
-                    23.8017509,
-                    -34.0524332
+                    11.1924,
+                    46.501
                 ],
                 [
-                    23.7493589,
-                    -34.0111855
+                    11.18686,
+                    46.50734
                 ],
                 [
-                    23.4973536,
-                    -34.009014
+                    11.18002,
+                    46.49823
                 ],
                 [
-                    23.4155191,
-                    -34.0434586
+                    11.17014,
+                    46.49635
                 ],
                 [
-                    23.4154284,
-                    -34.1140433
+                    11.16095,
+                    46.4878
                 ],
                 [
-                    22.9000853,
-                    -34.0993009
+                    11.12934,
+                    46.48058
                 ],
                 [
-                    22.8412418,
-                    -34.0547911
+                    11.1103,
+                    46.49643
                 ],
                 [
-                    22.6470321,
-                    -34.0502627
+                    11.10449,
+                    46.4948
                 ],
                 [
-                    22.6459843,
-                    -34.0072768
+                    11.08812,
+                    46.50128
                 ],
                 [
-                    22.570016,
-                    -34.0064081
+                    11.08173,
+                    46.53021
                 ],
                 [
-                    22.5050499,
-                    -34.0645866
+                    11.05915,
+                    46.51508
                 ],
                 [
-                    22.2519968,
-                    -34.0645866
+                    11.03795,
+                    46.51357
                 ],
                 [
-                    22.2221334,
-                    -34.1014701
+                    11.05006,
+                    46.50784
                 ],
                 [
-                    22.1621197,
-                    -34.1057019
+                    11.05773,
+                    46.49235
                 ],
                 [
-                    22.1712431,
-                    -34.1521766
+                    11.06278,
+                    46.4894
                 ],
                 [
-                    22.1576913,
-                    -34.2180897
+                    11.06894,
+                    46.46619
                 ],
                 [
-                    22.0015632,
-                    -34.2172232
+                    11.07625,
+                    46.45487
                 ],
                 [
-                    21.9496952,
-                    -34.3220009
+                    11.0778,
+                    46.44569
                 ],
                 [
-                    21.8611528,
-                    -34.4007145
+                    11.07301,
+                    46.44042
                 ],
                 [
-                    21.5614708,
-                    -34.4020114
+                    11.05394,
+                    46.44849
                 ],
                 [
-                    21.5468011,
-                    -34.3661242
+                    11.0414,
+                    46.44569
                 ],
                 [
-                    21.501744,
-                    -34.3669892
+                    11.02817,
+                    46.46116
                 ],
                 [
-                    21.5006961,
-                    -34.4020114
+                    11.00952,
+                    46.46917
                 ],
                 [
-                    21.4194886,
-                    -34.4465247
+                    11.00462,
+                    46.47607
                 ],
                 [
-                    21.1978706,
-                    -34.4478208
+                    10.98695,
+                    46.48289
                 ],
                 [
-                    21.0988193,
-                    -34.3991325
+                    10.96543,
+                    46.48103
                 ],
                 [
-                    21.0033746,
-                    -34.3753872
+                    10.95791,
+                    46.46983
                 ],
                 [
-                    20.893192,
-                    -34.3997115
+                    10.93819,
+                    46.46578
                 ],
                 [
-                    20.8976647,
-                    -34.4854003
+                    10.9325,
+                    46.45831
                 ],
                 [
-                    20.7446802,
-                    -34.4828092
+                    10.93332,
+                    46.4528
                 ],
                 [
-                    20.5042011,
-                    -34.486264
+                    10.91305,
+                    46.44284
                 ],
                 [
-                    20.2527197,
-                    -34.701477
+                    10.89161,
+                    46.44366
                 ],
                 [
-                    20.0803502,
-                    -34.8361855
+                    10.88324,
+                    46.44995
                 ],
                 [
-                    19.9923317,
-                    -34.8379056
+                    10.88093,
+                    46.44579
                 ],
                 [
-                    19.899074,
-                    -34.8275845
+                    10.87162,
+                    46.4438
                 ],
                 [
-                    19.8938348,
-                    -34.7936018
+                    10.86174,
+                    46.43509
                 ],
                 [
-                    19.5972963,
-                    -34.7961833
+                    10.85113,
+                    46.43817
                 ],
                 [
-                    19.3929677,
-                    -34.642015
+                    10.80034,
+                    46.44185
                 ],
                 [
-                    19.2877095,
-                    -34.6404784
+                    10.78906,
+                    46.45164
                 ],
                 [
-                    19.2861377,
-                    -34.5986563
+                    10.77835,
+                    46.47112
                 ],
                 [
-                    19.3474363,
-                    -34.5244458
+                    10.76934,
+                    46.47609
                 ],
                 [
-                    19.3285256,
-                    -34.4534372
+                    10.76463,
+                    46.4848
                 ],
                 [
-                    19.098001,
-                    -34.449981
+                    10.75906,
+                    46.48547
                 ],
                 [
-                    19.0725583,
-                    -34.3802371
+                    10.74422,
+                    46.48333
                 ],
                 [
-                    19.0023531,
-                    -34.3525593
+                    10.71753,
+                    46.46022
                 ],
                 [
-                    18.9520568,
-                    -34.3949373
+                    10.69667,
+                    46.4573
                 ],
                 [
-                    18.7975006,
-                    -34.3936403
+                    10.68293,
+                    46.44846
                 ],
                 [
-                    18.7984174,
-                    -34.1016376
+                    10.66821,
+                    46.45122
                 ],
                 [
-                    18.501748,
-                    -34.1015292
+                    10.63303,
+                    46.44309
                 ],
                 [
-                    18.4999545,
-                    -34.3616945
+                    10.61439,
+                    46.45098
                 ],
                 [
-                    18.4477325,
-                    -34.3620007
+                    10.60128,
+                    46.46139
                 ],
                 [
-                    18.4479944,
-                    -34.3522691
+                    10.59995,
+                    46.46766
                 ],
                 [
-                    18.3974362,
-                    -34.3514041
+                    10.57672,
+                    46.47237
                 ],
                 [
-                    18.3971742,
-                    -34.3022959
+                    10.55875,
+                    46.48187
                 ],
                 [
-                    18.3565705,
-                    -34.3005647
+                    10.54986,
+                    46.49123
                 ],
                 [
-                    18.3479258,
-                    -34.2020436
+                    10.53685,
+                    46.49062
                 ],
                 [
-                    18.2972095,
-                    -34.1950274
+                    10.52657,
+                    46.49425
                 ],
                 [
-                    18.2951139,
-                    -33.9937138
+                    10.49366,
+                    46.49719
                 ],
                 [
-                    18.3374474,
-                    -33.9914079
+                    10.48141,
+                    46.49337
                 ],
                 [
-                    18.3476638,
-                    -33.8492427
+                    10.45714,
+                    46.5096
                 ],
                 [
-                    18.3479258,
-                    -33.781555
+                    10.45124,
+                    46.53083
                 ],
                 [
-                    18.4124718,
-                    -33.7448849
+                    10.45814,
+                    46.54215
                 ],
                 [
-                    18.3615477,
-                    -33.6501624
+                    10.47056,
+                    46.54377
                 ],
                 [
-                    18.2992013,
-                    -33.585591
+                    10.46954,
+                    46.54856
                 ],
                 [
-                    18.2166839,
-                    -33.448872
+                    10.47617,
+                    46.55749
                 ],
                 [
-                    18.1389858,
-                    -33.3974083
+                    10.47321,
+                    46.56701
                 ],
                 [
-                    17.9473472,
-                    -33.1602647
+                    10.48305,
+                    46.5777
                 ],
                 [
-                    17.8855247,
-                    -33.0575732
+                    10.48575,
+                    46.58921
                 ],
                 [
-                    17.8485884,
-                    -32.9668505
+                    10.48221,
+                    46.59199
                 ],
                 [
-                    17.8396817,
-                    -32.8507302
-                ]
-            ]
-        ]
-    },
-    {
-        "name": "South Tyrol Orthofoto 2011",
-        "type": "tms",
-        "template": "http://sdi.provincia.bz.it/geoserver/gwc/service/tms/1.0.0/WMTS_OF2011_APB-PAB@GoogleMapsCompatible@png8/{z}/{x}/{-y}.png",
-        "polygon": [
-            [
+                    10.48576,
+                    46.59805
+                ],
                 [
-                    10.373383,
-                    46.213553
+                    10.48291,
+                    46.60512
                 ],
                 [
-                    10.373383,
-                    47.098175
+                    10.49055,
+                    46.61394
                 ],
                 [
-                    12.482758,
-                    47.098175
+                    10.44632,
+                    46.63989
                 ],
                 [
-                    12.482758,
-                    46.213553
+                    10.40935,
+                    46.63389
                 ],
                 [
-                    10.373383,
-                    46.213553
-                ]
-            ]
-        ],
-        "id": "sdi.provinz.bz.it-WMTS_OF2011_APB-PAB"
-    },
-    {
-        "name": "South Tyrol Topomap",
-        "type": "tms",
-        "template": "http://sdi.provincia.bz.it/geoserver/gwc/service/tms/1.0.0/WMTS_TOPOMAP_APB-PAB@GoogleMapsCompatible@png8/{z}/{x}/{-y}.png",
-        "polygon": [
-            [
+                    10.40011,
+                    46.63648
+                ],
                 [
-                    10.373383,
-                    46.213553
+                    10.39873,
+                    46.6455
                 ],
                 [
-                    10.373383,
-                    47.098175
+                    10.38946,
+                    46.65862
                 ],
                 [
-                    12.482758,
-                    47.098175
+                    10.39057,
+                    46.67089
                 ],
                 [
-                    12.482758,
-                    46.213553
+                    10.3803,
+                    46.68399
                 ],
                 [
-                    10.373383,
-                    46.213553
+                    10.38615,
+                    46.68821
                 ]
             ]
         ],
-        "id": "sdi.provinz.bz.it-WMTS_TOPOMAP_APB-PAB"
+        "id": "South-Tyrol-Topomap"
     },
     {
         "name": "Stadt Uster Orthophoto 2008 10cm",
@@ -28221,7 +34214,8 @@ iD.data.imagery = [
                 ]
             ]
         ],
-        "terms_text": "Stadt Zürich Luftbild 2011"
+        "terms_text": "Stadt Zürich Luftbild 2011",
+        "best": true
     },
     {
         "name": "Stevns (Denmark)",
@@ -29443,409 +35437,6 @@ iD.data.imagery = [
         "terms_url": "https://wiki.openstreetmap.org/wiki/Toulouse/ToulouseMetropoleData",
         "terms_text": "ToulouseMetropole"
     },
-    {
-        "name": "Tours - Orthophotos 2008",
-        "type": "tms",
-        "template": "http://tms.mapspot.ge/tms/2/nonstandard/{zoom}/{x}/{y}.jpeg",
-        "polygon": [
-            [
-                [
-                    0.5457462,
-                    47.465264
-                ],
-                [
-                    0.54585,
-                    47.4608163
-                ],
-                [
-                    0.5392188,
-                    47.4606983
-                ],
-                [
-                    0.5393484,
-                    47.456243
-                ],
-                [
-                    0.5327959,
-                    47.4561003
-                ],
-                [
-                    0.5329011,
-                    47.451565
-                ],
-                [
-                    0.52619,
-                    47.4514013
-                ],
-                [
-                    0.5265854,
-                    47.4424884
-                ],
-                [
-                    0.5000941,
-                    47.4420739
-                ],
-                [
-                    0.5002357,
-                    47.4375835
-                ],
-                [
-                    0.4936014,
-                    47.4374324
-                ],
-                [
-                    0.4937,
-                    47.4329285
-                ],
-                [
-                    0.4606141,
-                    47.4324593
-                ],
-                [
-                    0.4607248,
-                    47.4279827
-                ],
-                [
-                    0.4541016,
-                    47.4278125
-                ],
-                [
-                    0.454932,
-                    47.4053921
-                ],
-                [
-                    0.4615431,
-                    47.4054476
-                ],
-                [
-                    0.4619097,
-                    47.3964924
-                ],
-                [
-                    0.4684346,
-                    47.3966005
-                ],
-                [
-                    0.4691319,
-                    47.3786415
-                ],
-                [
-                    0.4757125,
-                    47.3787609
-                ],
-                [
-                    0.4762116,
-                    47.3652018
-                ],
-                [
-                    0.4828297,
-                    47.3653499
-                ],
-                [
-                    0.4832223,
-                    47.3518574
-                ],
-                [
-                    0.5097927,
-                    47.3522592
-                ],
-                [
-                    0.5095688,
-                    47.3567713
-                ],
-                [
-                    0.5227698,
-                    47.3569785
-                ],
-                [
-                    0.5226429,
-                    47.3614867
-                ],
-                [
-                    0.5490721,
-                    47.3618878
-                ],
-                [
-                    0.5489087,
-                    47.3663307
-                ],
-                [
-                    0.5555159,
-                    47.3664985
-                ],
-                [
-                    0.5559105,
-                    47.3575522
-                ],
-                [
-                    0.6152789,
-                    47.358407
-                ],
-                [
-                    0.6152963,
-                    47.362893
-                ],
-                [
-                    0.6285093,
-                    47.3630936
-                ],
-                [
-                    0.6288256,
-                    47.353987
-                ],
-                [
-                    0.6155012,
-                    47.3538823
-                ],
-                [
-                    0.6157682,
-                    47.3493424
-                ],
-                [
-                    0.6090956,
-                    47.3492991
-                ],
-                [
-                    0.6094735,
-                    47.3402962
-                ],
-                [
-                    0.6160477,
-                    47.3404448
-                ],
-                [
-                    0.616083,
-                    47.3369074
-                ],
-                [
-                    0.77497,
-                    47.3388218
-                ],
-                [
-                    0.7745786,
-                    47.351628
-                ],
-                [
-                    0.7680363,
-                    47.3515901
-                ],
-                [
-                    0.767589,
-                    47.3605298
-                ],
-                [
-                    0.7742443,
-                    47.3606238
-                ],
-                [
-                    0.7733465,
-                    47.3921266
-                ],
-                [
-                    0.7667434,
-                    47.3920195
-                ],
-                [
-                    0.7664411,
-                    47.4010837
-                ],
-                [
-                    0.7730647,
-                    47.4011115
-                ],
-                [
-                    0.7728868,
-                    47.4101297
-                ],
-                [
-                    0.7661849,
-                    47.4100226
-                ],
-                [
-                    0.7660267,
-                    47.4145044
-                ],
-                [
-                    0.7527613,
-                    47.4143038
-                ],
-                [
-                    0.7529788,
-                    47.4098086
-                ],
-                [
-                    0.7462373,
-                    47.4097016
-                ],
-                [
-                    0.7459424,
-                    47.4232208
-                ],
-                [
-                    0.7392324,
-                    47.4231451
-                ],
-                [
-                    0.738869,
-                    47.4366116
-                ],
-                [
-                    0.7323267,
-                    47.4365171
-                ],
-                [
-                    0.7321869,
-                    47.4410556
-                ],
-                [
-                    0.7255048,
-                    47.44098
-                ],
-                [
-                    0.7254209,
-                    47.4453479
-                ],
-                [
-                    0.7318793,
-                    47.4454803
-                ],
-                [
-                    0.7318514,
-                    47.4501126
-                ],
-                [
-                    0.7384496,
-                    47.450226
-                ],
-                [
-                    0.7383098,
-                    47.454631
-                ],
-                [
-                    0.7449359,
-                    47.4547444
-                ],
-                [
-                    0.7443209,
-                    47.4771985
-                ],
-                [
-                    0.7310685,
-                    47.4769717
-                ],
-                [
-                    0.7309008,
-                    47.4815445
-                ],
-                [
-                    0.7176205,
-                    47.4812611
-                ],
-                [
-                    0.7177883,
-                    47.4768394
-                ],
-                [
-                    0.69777,
-                    47.4764993
-                ],
-                [
-                    0.6980496,
-                    47.4719827
-                ],
-                [
-                    0.6914514,
-                    47.4718882
-                ],
-                [
-                    0.6917309,
-                    47.4630241
-                ],
-                [
-                    0.6851048,
-                    47.4629295
-                ],
-                [
-                    0.684937,
-                    47.4673524
-                ],
-                [
-                    0.678255,
-                    47.4673335
-                ],
-                [
-                    0.6779754,
-                    47.4762158
-                ],
-                [
-                    0.6714051,
-                    47.4761592
-                ],
-                [
-                    0.6710417,
-                    47.4881952
-                ],
-                [
-                    0.6577334,
-                    47.4879685
-                ],
-                [
-                    0.6578173,
-                    47.48504
-                ],
-                [
-                    0.6511911,
-                    47.4848322
-                ],
-                [
-                    0.6514707,
-                    47.4758568
-                ],
-                [
-                    0.6448166,
-                    47.4757245
-                ],
-                [
-                    0.6449284,
-                    47.4712646
-                ],
-                [
-                    0.6117976,
-                    47.4707543
-                ],
-                [
-                    0.6118815,
-                    47.4663129
-                ],
-                [
-                    0.6052833,
-                    47.4661239
-                ],
-                [
-                    0.6054231,
-                    47.4616631
-                ],
-                [
-                    0.5988808,
-                    47.4615497
-                ],
-                [
-                    0.5990206,
-                    47.4570886
-                ],
-                [
-                    0.572488,
-                    47.4566916
-                ],
-                [
-                    0.5721805,
-                    47.4656513
-                ]
-            ]
-        ],
-        "terms_url": "http://wiki.openstreetmap.org/wiki/Tours/Orthophoto",
-        "terms_text": "Orthophoto Tour(s) Plus 2008"
-    },
     {
         "name": "Tours - Orthophotos 2008-2010",
         "type": "tms",
@@ -30445,6 +36036,41 @@ iD.data.imagery = [
         "terms_url": "http://wiki.openstreetmap.org/wiki/Tours/Orthophoto",
         "terms_text": "Orthophoto Tour(s) Plus 2008"
     },
+    {
+        "name": "Tours - Orthophotos 2013",
+        "type": "tms",
+        "template": "http://wms.openstreetmap.fr/tms/1.0.0/tours_2013/{zoom}/{x}/{y}",
+        "scaleExtent": [
+            0,
+            22
+        ],
+        "polygon": [
+            [
+                [
+                    0.427093505859375,
+                    47.26199018174824
+                ],
+                [
+                    0.427093505859375,
+                    47.50096732311069
+                ],
+                [
+                    0.814361572265625,
+                    47.50096732311069
+                ],
+                [
+                    0.814361572265625,
+                    47.26199018174824
+                ],
+                [
+                    0.427093505859375,
+                    47.26199018174824
+                ]
+            ]
+        ],
+        "terms_url": "http://wiki.openstreetmap.org/wiki/Tours/Orthophoto",
+        "terms_text": "Orthophoto Tour(s)plus 2013"
+    },
     {
         "name": "U.S. Forest Service roads",
         "type": "tms",
@@ -35886,7 +41512,8 @@ iD.data.imagery = [
                     48.692975
                 ]
             ]
-        ]
+        ],
+        "best": true
     },
     {
         "name": "Vejmidte (Denmark)",
@@ -38158,7 +43785,8 @@ iD.data.imagery = [
             ]
         ],
         "terms_text": "basemap.at",
-        "id": "basemap.at orthofoto"
+        "id": "basemap.at orthofoto",
+        "best": true
     },
     {
         "name": "Übersichtsplan Zürich",