Skip to content

Instantly share code, notes, and snippets.

@mapsmania
Last active March 10, 2020 15:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mapsmania/6e79e8338c63783106df5adaea390ee0 to your computer and use it in GitHub Desktop.
Save mapsmania/6e79e8338c63783106df5adaea390ee0 to your computer and use it in GitHub Desktop.
Hunting Wales
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Hunting Wales</title>
<meta
name="viewport"
content="initial-scale=1,maximum-scale=1,user-scalable=no"
/>
<script src="https://api.mapbox.com/mapbox-gl-js/v1.7.0/mapbox-gl.js"></script>
<link
href="https://api.mapbox.com/mapbox-gl-js/v1.7.0/mapbox-gl.css"
rel="stylesheet"
/>
<style>
body {
margin: 0;
padding: 0;
}
#map {
position: absolute;
top: 0;
bottom: 0;
width: 100%;
}
</style>
</head>
<body>
<div id="map"></div>
<script>
mapboxgl.accessToken =
"pk.eyJ1IjoiZ21hcHNtYW5pYSIsImEiOiJOYnlnSFpvIn0.5f62d0cnrWCA1KioxzXtqg";
var map = new mapboxgl.Map({
container: "map",
style: "mapbox://styles/mapbox/outdoors-v11",
center: [-2.0081731, 52.3572746],
zoom: 7
});
map.addControl(new mapboxgl.NavigationControl());
map.on("load", function() {
map.addSource("survey", {
type: "geojson",
data: {
type: "FeatureCollection",
features: [
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-2.339201,51.795027],[-2.536988,52.315195],[-2.558964,52.855864],[-3.07541,53.225768]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.099371,53.228697],[-2.906717,53.047818],[-2.705612,52.872186],[-2.715222,52.568525],[-2.76657,52.246249],[-2.693601,52.084042],[-2.605232,51.904036],[-2.40357,51.76614]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.098408,53.23824],[-3.185541,52.924583],[-3.149087,52.561952],[-3.10049,52.085216],[-2.938733,51.91546],[-2.853339,51.838191],[-2.670491,51.645227]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.078809,53.231454],[-2.976259,53.130473],[-2.815108,53.05128],[-2.829758,52.901294],[-2.924984,52.781817],[-2.617332,52.737482],[-2.580707,52.639787],[-2.155854,52.354341],[-2.419556,52.121049],[-2.588032,51.92269],[-2.533093,51.802794],[-2.533093,51.707559]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.071155,53.212612],[-2.587512,52.696361],[-3.137107,52.335339],[-2.52156,51.957807],[-2.543544,51.631657]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.021167,53.206033],[-2.647627,52.988337],[-2.471843,52.749594],[-2.438884,52.562995],[-2.350992,52.261434],[-2.383951,52.079506],[-2.383951,51.957807],[-2.416911,51.774638]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.041071,53.219191],[-2.425528,52.961875],[-2.07379,52.435921],[-2.161724,51.98488],[-2.43652,51.747439]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.077186,53.209322],[-2.709229,52.776186],[-2.758656,52.153714],[-2.824559,51.655519],[-3.022267,51.546335]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.033128,53.219191],[-2.505856,52.855864],[-2.56078,52.328625],[-2.527825,51.917168],[-2.406992,51.795027]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-2.956234,53.245495],[-2.582749,53.061025],[-2.51684,52.696361],[-2.363053,52.288323],[-2.363053,51.951037],[-2.396007,51.808615]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-2.626469,51.621427],[-2.983395,52.606384],[-2.901118,53.061025],[-3.071351,53.229057]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.030495,53.219191],[-2.942581,51.529251]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-2.6664,52.908941],[-2.515714,52.591771]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.152437,54.964891],[-2.939082,55.350329],[-2.850967,55.5544],[-2.727207,55.610711],[-2.471404,55.578775],[-2.226009,55.653627],[-1.980346,55.816107]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.012869,53.20192]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.084183,53.250426],[-2.75583,52.931258],[-2.595088,52.743775],[-2.450833,52.476089],[-2.34642,52.292523],[-2.254371,52.229482],[-2.344615,51.977691],[-2.392013,51.828988],[-2.438725,51.752965],[-2.659229,51.593709],[-2.773543,51.53096]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.051953,53.225768],[-2.480374,52.855864],[-2.370455,51.774638]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-2.609527,51.657223],[-2.713884,51.951037],[-2.576573,52.24462],[-2.766062,52.557986],[-3.002237,52.729639],[-3.079049,53.317749]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.55758,53.258641],[-3.194848,52.975108],[-3.304767,52.722986],[-2.909058,52.328625],[-2.755172,51.910391],[-2.238552,51.76104]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-2.722196,53.311186],[-2.546325,53.054422],[-2.359463,52.756243],[-2.381447,52.335339],[-2.194585,52.086257],[-2.28252,51.76784]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-2.755172,53.298056],[-2.447398,53.126998],[-2.304504,52.749594],[-2.117641,52.19414],[-2.22756,51.788232]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.088052,53.212612],[-2.758507,52.915527],[-2.417977,52.603048],[-2.385022,52.27488],[-2.286159,51.890054],[-2.385022,51.733833]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-2.889964,53.147172],[-2.373976,52.869626],[-2.341041,52.409775],[-2.428869,51.931537],[-2.450825,51.693892]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-2.788147,53.278353],[-2.777155,52.663058],[-2.68922,52.48278],[-2.524342,52.187405],[-2.491366,51.910391],[-2.359463,51.76784]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.11369,53.26041],[-3.003804,53.181456],[-2.930547,53.053946],[-2.937873,52.937097],[-2.989159,52.764552],[-3.168639,52.666918],[-3.153988,52.473226],[-2.963519,52.388356],[-2.985497,52.238318],[-3.161313,52.197923],[-3.113696,52.114773],[-3.003811,52.05625],[-2.901251,51.972835],[-2.83532,51.844027],[-2.696132,51.776084],[-2.459866,51.778349]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-2.681613,51.624837],[-2.615704,51.76104],[-2.527825,51.890054],[-2.494871,52.025459],[-2.439946,52.234528],[-2.428962,52.422523],[-2.450931,52.562995],[-2.549795,52.742943],[-2.659643,52.829321],[-2.780477,52.935397],[-2.912295,53.067627],[-3.066083,53.173119],[-3.175931,53.252069]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.031002,53.212736],[-2.56946,51.700007]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.077231,53.19287],[-2.758721,52.729639],[-2.692823,52.355474],[-2.725772,52.045734],[-2.604958,51.856139],[-2.50611,51.727028]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.121163,53.153359],[-3.000349,52.86913],[-2.978383,52.61639],[-2.9674,52.382306],[-2.813637,52.254709],[-2.615941,52.167194],[-2.572009,52.038977],[-2.572009,51.896834],[-2.50611,51.822198]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-2.602124,51.727028],[-2.723012,52.126744],[-2.82192,52.429222],[-2.920829,52.663058],[-3.019737,53.014783],[-3.019737,53.258641],[-3.107656,53.311186],[-3.349432,53.402982]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-2.659622,54.143132],[-1.320259,54.648413]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-1.923635,53.409532],[-2.769471,52.928775],[-2.187281,52.583026],[-1.605083,52.49616],[-0.627104,53.160019],[-0.781252,53.559889],[-1.462314,53.41608],[-1.802845,53.41608]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.073177,53.193847],[-3.22967,52.983351],[-3.069787,52.648323],[-3.054081,52.257861],[-2.689259,51.953893],[-2.392878,51.76359]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-2.767201,51.590723],[-2.811159,51.99841],[-2.62434,52.389011],[-2.910063,52.769539],[-3.239743,52.975108],[-3.074903,53.212612]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.031172,53.232345],[-3.108095,52.895649],[-3.042161,52.66972],[-3.020183,52.355474],[-2.855349,52.214339],[-2.822383,52.032218],[-2.690515,51.890054],[-2.514693,51.727028]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-2.833595,53.284922],[-2.569878,52.696361],[-2.789642,52.409121],[-2.624819,51.944265],[-2.547901,51.706608]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.102596,53.224891],[-3.005918,53.045519],[-3.120174,52.891932],[-2.961973,52.75377],[-2.759827,52.599147],[-2.619204,52.406439],[-2.874083,52.218273],[-2.926817,52.061759],[-2.856505,51.834106],[-2.724671,51.747077],[-2.671937,51.670789]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.120987,53.212612],[-3.110002,52.882391],[-3.011138,52.583026],[-3.011138,52.409121],[-3.033108,52.214339],[-3.055078,51.930718],[-2.945229,51.856139],[-2.846365,51.6998],[-2.868335,51.624837]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.033128,53.41608],[-2.505856,53.120405],[-2.022522,52.809403],[-1.956613,52.502848],[-1.901689,52.05249],[-2.242219,51.795027],[-2.90131,51.597548],[-3.230922,51.481383],[-3.692286,51.37178],[-4.867664,51.501904],[-5.372967,51.6998],[-5.350997,52.342052],[-4.999484,52.955257],[-4.593044,53.370221],[-4.032817,53.559889],[-3.626378,53.533778],[-3.033196,53.396432]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.094677,53.243685],[-3.058566,53.222004],[-2.984676,53.201849],[-2.926426,53.181935],[-2.897361,53.18594],[-2.863997,53.142726],[-2.896465,53.091405],[-2.865907,53.062766],[-2.863402,53.027177],[-2.922011,53.000471],[-2.972984,52.963429],[-3.016617,52.950202],[-3.071883,52.965765],[-3.182957,52.97723],[-3.214888,52.902467],[-3.205096,52.835294],[-2.938555,52.79006]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.089901,53.239709],[-3.054807,53.221312],[-2.931172,53.181835],[-2.905179,53.192669],[-2.907089,53.18425],[-2.895869,53.18425],[-2.88065,53.190383],[-2.871158,53.186395],[-2.880143,53.17091],[-2.871635,53.149497],[-2.860625,53.147351],[-2.884856,53.122112],[-2.898466,53.093077],[-2.874383,53.079316],[-2.859074,53.049645],[-2.872623,53.021513],[-2.914343,53.00658],[-2.935859,52.99394],[-2.944482,52.964407],[-3.013313,52.952536],[-3.06309,52.967523],[-3.12158,52.968925],[-3.172135,52.980709],[-3.207828,52.984446],[-3.249728,52.978125],[-3.290485,52.906424],[-3.246321,52.850419],[-3.239196,52.734557],[-3.237458,52.60151],[-3.201175,52.488366],[-3.253458,52.376817],[-3.162629,52.315071],[-3.180765,52.235113],[-3.296083,52.133989],[-3.239744,52.032046],[-3.137679,51.921707],[-2.97319,51.824811],[-2.896511,51.796985],[-2.763057,51.792001],[-2.676756,51.763942],[-2.68254,51.733873],[-2.662011,51.672741],[-2.682004,51.659492],[-2.658668,51.611011],[-2.709755,51.542258],[-2.855802,51.503053]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.057688,53.207523],[-2.89032,52.616221],[-2.711919,52.219045],[-2.763222,51.793421],[-3.116182,51.476559]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.019987,53.301287],[-2.691133,51.615245]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.121122,53.281637],[-2.76964,53.070927],[-3.055219,52.925463],[-3.077186,52.686373],[-3.121122,52.331982],[-3.165057,51.988263],[-2.824559,51.818803],[-2.670786,51.628248]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[0.965356,50.162824],[-2.90131,47.435519],[-2.989189,48.516604],[0.547931,50.183933]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-0.236268,42.947376],[0.155067,42.948381],[0.159186,42.671329],[-0.355728,42.673349],[-0.233522,42.947376]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-5.273952,52.643063],[2.063925,52.656394]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.067576,53.250426],[-2.792994,52.821023],[-2.600787,52.429222],[-2.367393,51.779736],[-3.177409,51.352916]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.094309,53.22672],[-3.009823,53.061962],[-3.039393,52.922057],[-3.014047,52.865968],[-3.102758,52.699826],[-2.874645,52.47826],[-2.81128,52.395818],[-2.861972,52.233061],[-2.96758,52.1709],[-2.703508,52.04638],[-2.718653,51.967487],[-2.634167,51.916687],[-2.59826,51.893221],[-2.629942,51.837114],[-2.693307,51.762633],[-2.685664,51.627749]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-2.305988,51.815407],[-2.075227,52.086257],[-2.119181,52.328625],[-2.163136,52.57635],[-2.327965,52.789476],[-2.514771,53.094024],[-3.229032,53.46189]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-2.747501,51.57707],[-2.85735,51.828988],[-2.90129,52.032218],[-2.945229,52.308479],[-3.022123,52.589701],[-2.945229,52.756243],[-2.912275,52.975108],[-2.989169,53.14677],[-3.099017,53.225768]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-2.751064,53.327592],[-2.575193,53.166534],[-2.696104,52.99495],[-2.712592,52.789476],[-2.690608,52.62306],[-2.712592,52.432572],[-2.575193,52.180669],[-2.608169,51.961192],[-2.421306,51.781436]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.130919,53.278454],[-2.861731,53.140311],[-2.784821,52.962043],[-3.010059,52.779715],[-2.960617,52.583274],[-2.916668,52.382597],[-2.988085,52.150685],[-2.933148,51.988639],[-2.702416,51.856543],[-2.422241,51.842973],[-2.40576,51.758066]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.05284,53.199452],[-2.75601,52.816043],[-2.701042,52.52959],[-2.580112,52.227799],[-2.624086,51.903613],[-2.536137,51.672555]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.071254,53.212612],[-3.203072,53.087426],[-3.098716,52.98503],[-3.131671,52.865814],[-3.312921,52.559656],[-3.257996,52.261434],[-3.065762,52.032218],[-2.890004,51.879882],[-2.549474,51.913779],[-2.406671,51.76104]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.236027,53.340713],[-2.85705,53.120405],[-2.697769,52.898962],[-3.021822,52.922151],[-3.060269,52.646396],[-2.911974,52.062623],[-2.615383,51.961192],[-2.428641,51.805218],[-2.428641,51.750839],[-3.170118,51.351201],[-5.542844,51.310013],[-5.553829,51.940879],[-4.795875,53.488046],[-3.488678,53.501117],[-3.219549,53.357109]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.064512,53.199452],[-2.614004,52.362183],[-2.383256,51.822198]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.03032,53.232345],[-2.634699,52.749594],[-2.62371,51.99841],[-2.557773,51.679368]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.063289,53.238921],[-2.590742,52.968492],[-2.458868,51.876491],[-2.590742,51.679368]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.066074,53.232114],[-2.501884,53.061695],[-2.525065,52.921246],[-2.638435,52.780832],[-2.652386,52.614775],[-2.433759,52.420089],[-2.520514,52.262957],[-2.66887,52.164851],[-2.658568,52.03206],[-2.442387,51.974783],[-2.274113,51.878875],[-2.341036,51.815991],[-2.495874,51.71081]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.058652,53.206458],[-2.751038,53.037586],[-2.540103,52.676526],[-2.698304,52.30708],[-2.548892,51.967045],[-2.531314,51.689875]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.128963,53.232785],[-2.777405,52.942303],[-2.469791,52.585791],[-2.461002,52.355445],[-2.320379,52.086083],[-2.399479,51.771573]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.867236,52.585791],[-2.153389,52.537679],[-2.364324,51.744357]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.133049,53.25426],[-2.939003,52.959669],[-2.950826,52.495045],[-2.66898,51.670284]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.092291,53.253712],[-2.861516,53.182996],[-2.888989,53.103919],[-2.850526,53.031304],[-2.91921,52.978416],[-3.051081,52.958566],[-3.070313,52.902276],[-3.097786,52.686373],[-2.987893,52.537944],[-2.963167,52.34373],[-2.974156,52.135174],[-2.924704,52.08457],[-2.751623,52.050801],[-2.649971,52.038977],[-2.606014,51.988263],[-2.636235,51.956115],[-2.625245,51.907002],[-2.685687,51.830686],[-2.680192,51.718521],[-2.663708,51.58219],[-2.935694,51.464275]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-4.065706,53.274561],[-3.531171,53.327055],[-3.274886,53.300816],[-3.091827,53.151825],[-2.981991,52.931779],[-2.791608,52.710608],[-2.930734,52.327557],[-2.762319,52.116802],[-2.776964,51.914077],[-2.601226,51.687749],[-2.952701,51.451161],[-3.582428,51.350695],[-4.087673,51.514979],[-4.62953,51.610538],[-5.251934,51.660513],[-5.273902,51.981754],[-4.409858,52.237996],[-4.036416,52.550667],[-4.146252,52.887635],[-4.775978,52.785932],[-4.380569,53.06834],[-4.651498,53.28769],[-4.548984,53.488503],[-4.094995,53.270184]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-2.956234,53.212612],[-2.363053,51.781436]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-4.340325,51.951037]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.051828,53.186288],[-2.447349,51.76784]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.099037,53.409532],[1.536568,52.22107]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.811886,53.258641],[1.077678,51.788232]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[11.811171,42.049293],[13.887862,42.892064]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.065767,53.219191],[-2.868039,53.008173],[-2.593417,52.756243],[-2.461599,52.456009],[-2.37372,52.05249],[-2.30781,51.801822]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-2.867037,53.271783],[-2.581376,52.61639],[-2.482494,51.75424]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-4.584404,52.076222],[-4.64595,51.95184],[-4.637157,51.821681]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.110497,53.216159],[-3.030228,53.040491],[-2.840302,52.789735],[-2.824772,52.507785],[-2.668267,52.185537],[-2.642097,51.790807],[-2.647288,51.597388]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-2.888975,53.26357],[-3.001606,52.913871],[-2.927434,52.584695],[-2.575805,52.306799],[-2.50438,52.101444],[-2.562069,51.893444],[-2.515369,51.710012]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.231111,53.278353],[-3.143269,53.219191],[-3.209151,53.422628],[-2.49543,51.774638]]}},
{"type":"Feature","properties":{},"geometry":{"type":"LineString","coordinates":[[-3.054578,53.225768],[-3.032608,52.922151],[-2.92276,52.703019],[-2.779957,52.569673],[-2.747002,52.375599],[-2.747002,52.214339],[-2.692078,51.98488],[-2.571245,51.808615],[-2.483366,51.747439]]}}
]
}
});
map.addLayer({
'id': 'guesses',
'type': 'line',
'source': 'survey',
'layout': {
'line-join': 'round',
'line-cap': 'round'
},
'paint': {
'line-color': '#888',
'line-width': 1
}
});
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment