Last active
June 26, 2020 10:33
-
-
Save brutaldigital/8a2704be48ad18087779791e62a71e48 to your computer and use it in GitHub Desktop.
Leaflet with Draw and IIIF base layer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.css" /> | |
<link rel="stylesheet" href="https://cdn.rawgit.com/Leaflet/Leaflet.label/0.8/dist/leaflet.label.css" /> | |
<link rel="stylesheet" href="style.css"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.js"></script> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | |
<script src="https://rawgit.com/mejackreed/Leaflet-IIIF/master/leaflet-iiif.js"></script> | |
<script src="https://cdn.rawgit.com/Leaflet/Leaflet.label/0.8/dist/leaflet.label.js"></script> | |
<!--Add draw plugin --> | |
<link rel='stylesheet' href='//api.tiles.mapbox.com/mapbox.js/plugins/leaflet-draw/v0.2.2/leaflet.draw.css' /> | |
<script src='//api.tiles.mapbox.com/mapbox.js/plugins/leaflet-draw/v0.2.2/leaflet.draw.js'></script> | |
<!-- leaflet-ajax --> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet-ajax/2.1.0/leaflet.ajax.js"></script> | |
<!--Loading the new geojson--> | |
<script src="testPolygonGeojson.js"></script> | |
</head> | |
<body> | |
<div id='map'></div> | |
<div id='delete'>Delete Features</div> | |
<a href='#' id='export'>Export Features</a> | |
<script> | |
var map; | |
map = L.map('map', { | |
center: [-200, 118], | |
crs: L.CRS.Simple, | |
zoom: 8 | |
}); | |
var baseLayer = L.tileLayer.iiif( | |
'https://dlc.services/iiif-img/48/24/e7a4f78a-64bd-41fd-a760-e85823ed98dc/info.json' | |
).addTo(map); | |
L.marker([-164, 121]) | |
.bindLabel('Monro's studio, 1 Henrietta Street, Covent Garden', { noHide: true }) | |
.addTo(map); | |
L.marker([-160, 178]) | |
.bindLabel('The Royal Academy of Arts', { noHide: true }) | |
.addTo(map); | |
L.marker([-200, 66]) | |
.bindLabel('St Martin's Workhouse', { noHide: true }) | |
.addTo(map); | |
L.marker([-203.8, 124.7]) | |
.bindLabel('The Monro family home, 8 Adelphi Terrace', { noHide: true }) | |
.addTo(map); | |
var featureGroup = L.featureGroup().addTo(map); | |
var drawControl = new L.Control.Draw({ | |
edit: { | |
featureGroup: featureGroup | |
} | |
}).addTo(map); | |
map.on('draw:created', function(e) { | |
// Each time a feaute is created, it's added to the over arching feature group | |
featureGroup.addLayer(e.layer); | |
}); | |
// on click, clear all layers | |
document.getElementById('delete').onclick = function(e) { | |
featureGroup.clearLayers(); | |
} | |
document.getElementById('export').onclick = function(e) { | |
// Extract GeoJson from featureGroup | |
var data = featureGroup.toGeoJSON(); | |
// Stringify the GeoJson | |
var convertedData = 'text/json;charset=utf-8,' + encodeURIComponent(JSON.stringify(data)); | |
// Create export | |
document.getElementById('export').setAttribute('href', 'data:' + convertedData); | |
document.getElementById('export').setAttribute('download','data.geojson'); | |
} | |
// Show coordinates | |
var div = document.createElement('div'); | |
div.id = 'coordsDiv'; | |
div.style.position = 'absolute'; | |
div.style.bottom = '0'; | |
div.style.left = '0'; | |
div.style.zIndex = '999'; | |
document.getElementById('map').appendChild(div); | |
map.on('mousemove', function(e) { | |
var lat = e.latlng.lat.toFixed(5); | |
var lon = e.latlng.lng.toFixed(5); | |
document.getElementById('coordsDiv').innerHTML = lat + ', ' + lon; | |
}); | |
// Creating the new layer | |
var newPolygons = L.geoJson(null); | |
var style = { | |
color: '#e600ff', | |
fillColor: '#fbff00', | |
opacity: 1, | |
weight: 1 | |
} | |
newPolygons = new L.geoJson(testPolygonGeojson, { | |
style, | |
onEachFeature: function(feature, layer) { | |
layer.on({ | |
// click: zoomToClickedPolygon, | |
mouseover: highlightFeatureOnMouseOver, | |
mouseout: resetFeatureStyle | |
}); | |
layer.bindPopup( | |
feature.properties.info | |
); | |
} | |
}).addTo(map); | |
function highlightFeatureOnMouseOver(e) { | |
e.target.setStyle({ | |
color: 'red', | |
fillColor: '#ffffff', | |
opacity: 1, | |
weight: 4 | |
}); | |
e.target.bringToFront(); | |
// e.target.openPopup(); | |
} | |
function resetFeatureStyle(e) { | |
// newPolygons.resetStyle(e.target); | |
newPolygons.setStyle({ | |
color: '#e600ff', | |
fillColor: '#fbff00', | |
opacity: 1, | |
weight: 1 | |
}); | |
} | |
function zoomToClickedPolygon(e) { | |
var bounds = e.target.getBounds(); | |
map.fitBounds(bounds); | |
} | |
map.fitBounds(newPolygons); | |
map.fitBounds([ | |
[-182,105], | |
[-210, 140] | |
]); | |
</script> | |
</body> | |
</html> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html, | |
body, | |
#map { | |
height: 100%; | |
margin: 0; | |
} | |
#export-fetures { | |
position: absolute; | |
top: 10px; | |
right: 10px; | |
} | |
#export-file { | |
position: absolute; | |
left: -9999px; | |
} | |
.leaflet-control-zoom-in { | |
color: green !important; | |
} | |
.leaflet-control-zoom-out { | |
color: orange !important; | |
} | |
.leaflet-popup-content-wrapper { | |
border-radius: 0; | |
background: black !important; | |
color: white; | |
font-size: 20px; | |
opacity: 0.8; | |
} | |
.leaflet-popup-content { | |
margin: 5px; | |
} | |
.leaflet-popup-tip { | |
background: red !important; | |
} | |
.leaflet-popup-close-button { | |
display: none; | |
} | |
body { | |
margin: 0; | |
padding: 0; | |
} | |
#map { | |
position: absolute; | |
top: 0; | |
bottom: 0; | |
width: 100%; | |
} | |
#delete, #export { | |
position: absolute; | |
top:50px; | |
right:10px; | |
z-index:100; | |
background:white; | |
color:black; | |
padding:6px; | |
border-radius:4px; | |
font-family: 'Helvetica Neue'; | |
cursor: pointer; | |
font-size:12px; | |
text-decoration:none; | |
} | |
#export { | |
top:90px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var testPolygonGeojson = { | |
"type": "FeatureCollection", | |
"name": "polygonGeojson", | |
//"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, | |
"features": [{ | |
"type": "Feature", | |
"properties": { | |
"info": "20 Adam Street, Dr John Turton (1735-1806), physician with royal patronage; a leading figure in the Royal College of Physicians and physician-in-ordinary to George III and the Prince of Wales from 1797. With Garrick (at no. 5) he was the first resident of the Terrace." | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[130, -198.45], | |
[131, -197.75], | |
[132.2, -199.3], | |
[131.15, -200] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "1 Sir John Mitford (1748-1830), of Lincoln's Inn and Batsford Park, Gloucestershire. Lawyer and politician, Speaker of the House of Commons 1801 and author on legal and political matters." | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[129.2, -199.1], | |
[130, -198.45, ], | |
[131.15, -200], | |
[130.3, -200.65] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "2 Walter Cleland (1775-1807). Scottish merchant, who had made a fortune in Calcutta." | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[128.4, -199.8], | |
[129.2, -199.1], | |
[130.3, -200.65], | |
[129.5, -201.25] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "3 William Minier and Charles Minier (d. 1809), seedsmen of The Strand. " | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[127.6, -200.4], | |
[128.4, -199.8], | |
[129.5, -201.25], | |
[128.75, -202] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "4 Sir Brook Watson (1735-1807), former merchant, commissary-general to the forces of Great Britain, (resident 1798-1807). Previously the house (to 1797) of John Henderson (1764-1843), amateur artist patron of Girtin and Turner (resident 1790-1797), and his wife Georgiana Jane Henderson (1770-1850), artist." | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[126.8, -201], | |
[127.6, -200.4], | |
[128.75, -202], | |
[128.05, -202.5] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "5. Eva Maria Garrick (née Veigel; 1724-1822), former dancer, and widow of the actor David Garrick. The Garricks had been one of the first residents of the Adelphi, taking up this address in 1773." | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[126.2, -201.5], | |
[126.8, -201], | |
[128.05, -202.5], | |
[127.3, -203.1] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "6. John Thomas Batt (1746-1831), esq. of New Hall, Wiltshire, barrister" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[125.5, -202.1], | |
[126.2, -201.5], | |
[127.3, -203.1], | |
[126.6, -203.6] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "7. John Cator, esq (1728-1806) of Bankside, Southwark and Beckenham, Kent, wealthy timber merchant and politician, East India Company stockholder." | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[124.7, -202.7], | |
[125.5, -202.1], | |
[126.6, -203.6], | |
[125.8, -204.2] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "9. Sir John William Anderson (1736-1813), bart of Mill Hill, Hendon, Middlesex, politician and owner of slave factory in Africa" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[123.2, -203.8], | |
[123.9, -203.3], | |
[125.1, -204.7], | |
[124.3, -205.2] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "10. Sir Edward Hyde East, bart (1764-1847), MP, judge and writer on law" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[122.2, -205.2], | |
[123.5, -204.1], | |
[124.3, -205.2], | |
[123.2, -206.3] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "2. Cliff Ashmore, solicitor" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[119.75, -164.25], | |
[120.75, -165.3125], | |
[119.8125, -165.875], | |
[118.9375, -164.6875], | |
[119.75, -164.25] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "23. Cornelius Offley, victualler" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[103.125, -170.6875], | |
[104.125, -170.0625], | |
[104.9375, -171.4375], | |
[104, -172], | |
[103.125, -170.6875] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "24. John Padbury, coal merchant " | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[104.125, -170], | |
[104.8125, -169.6875], | |
[105.6875, -170.9375], | |
[104.9375, -171.375], | |
[104.125, -170] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "25. Richard Reece, chemist" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[104.875, -169.6875], | |
[105.625, -169.1875], | |
[106.5625, -170.375], | |
[105.75, -170.9375], | |
[104.875, -169.6875] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "26. John Hinchcliffe, mercer" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[105.5625, -169.0625], | |
[106.375, -168.6875], | |
[107.3125, -169.875], | |
[106.4375, -170.4375], | |
[105.5625, -169.0625] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "27. William Jewell, carver and gilder" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[106.375, -168.5], | |
[107.1875, -168.125], | |
[108.0625, -169.4375], | |
[107.3125, -169.875], | |
[106.375, -168.5] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "28. Thomas Atwood, woollen-draper" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[107.9375, -167.6875], | |
[107.1875, -168.125], | |
[108, -169.375], | |
[108.6875, -168.875], | |
[107.9375, -167.6875] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "29. John Stevens" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[107.9375, -167.625], | |
[108.625, -167.125], | |
[109.5625, -168.3125], | |
[108.6875, -168.875], | |
[107.9375, -167.625] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "30. George Erck, tailor" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[108.6875, -167.125], | |
[109.5, -166.75], | |
[110.375, -167.875], | |
[109.5, -168.3125], | |
[108.6875, -167.125] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "31. Elizabeth Fenn" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[109.875, -166.375], | |
[110.5, -166], | |
[111.375, -167.1875], | |
[110.6875, -167.625], | |
[109.875, -166.375] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "32. James Sutton, ladies shoe-maker " | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[110.5, -166.0625], | |
[111.1875, -165.5], | |
[112.125, -166.6875], | |
[111.4375, -167.25], | |
[110.5, -166.0625] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "33. John and Thomas Baker, tailors and clothiers" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[111.25, -165.5], | |
[112, -164.9375], | |
[112.9375, -166.0625], | |
[112.0625, -166.625], | |
[111.25, -165.5] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "34. John Faulkner, builder " | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[111.9375, -165], | |
[112.625, -164.5625], | |
[113.625, -165.6875], | |
[112.875, -166.0625], | |
[111.9375, -165] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "35. Italian warehouse " | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[112.625, -164.5625], | |
[113.25, -164.0625], | |
[114.1875, -165.25], | |
[113.5625, -165.6875], | |
[112.625, -164.5625] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "36. Henry Banks, tailor" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[113.375, -164.0625], | |
[114.0625, -163.5625], | |
[114.9375, -164.75], | |
[114.1875, -165.25], | |
[113.375, -164.0625] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "37. Ann Bevan" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[114.0625, -163.4375], | |
[114.875, -163.125], | |
[115.8125, -164.25], | |
[115, -164.6875], | |
[114.0625, -163.4375] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "5. John Johnstone, gentleman" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[130.75, -156.625], | |
[131.8125, -158.0625], | |
[130.875, -158.5], | |
[130, -157.3125], | |
[130.75, -156.625] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "6. Charles Bower, gentleman" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[130, -157.3125], | |
[129, -157.9375], | |
[129.8125, -159.0625], | |
[130.8125, -158.4375], | |
[130, -157.3125] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "8. John Dalton, tailor" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[129.125, -157.9375], | |
[128.0625, -158.5], | |
[128.8125, -159.5625], | |
[129.875, -159.0625], | |
[129.125, -157.9375] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "9. James Carroll, stationer" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[128.0625, -158.5], | |
[127.5, -158.9375], | |
[128.125, -160], | |
[128.9375, -159.625], | |
[128.0625, -158.5] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "10. William Butler" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[127.5, -158.875], | |
[126.625, -159.4375], | |
[127.5625, -160.625], | |
[128.375, -160], | |
[127.5, -158.875] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "11. Charles Hamilton " | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[126.75, -159.4375], | |
[126.125, -159.875], | |
[126.8125, -161.0625], | |
[127.4375, -160.625], | |
[126.75, -159.4375] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "12. Mary Matthews" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[126.1875, -159.9375], | |
[125.4375, -160.3125], | |
[126.1875, -161.375], | |
[126.9375, -160.9375], | |
[126.1875, -159.9375] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "13. Benjamin Charles" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[125.625, -160.3125], | |
[124.8125, -160.625], | |
[125.6875, -161.75], | |
[126.3125, -161.3125], | |
[125.625, -160.3125] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "14. Ann Parker, dealer in perfumery and medicines" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[124.75, -160.75], | |
[124, -161.1875], | |
[124.9375, -162.5], | |
[125.6875, -161.875], | |
[124.75, -160.75] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "16. Patrick Worters Boughton, tailor" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[126.375, -166.1875], | |
[127.75, -165.1875], | |
[127.1875, -164.3125], | |
[125.6875, -165.1875], | |
[126.375, -166.1875] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "17. Benjamin Fayle, gentleman" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[125.625, -165.125], | |
[124.9375, -164.3125], | |
[126.5, -163.3125], | |
[127.1875, -164.1875], | |
[125.625, -165.125] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "18. Mary Adams " | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[125.125, -164.3125], | |
[124.375, -163.625], | |
[125.875, -162.4375], | |
[126.625, -163.25], | |
[125.125, -164.3125] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "20. George Sparkes Griffinhoffe, linen draper" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[124.125, -161.25], | |
[125.1875, -162.75], | |
[124.1875, -163.25], | |
[123.1875, -161.75], | |
[124.125, -161.25] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "16. Patrick Worters Boughton, tailor" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[126.375, -166.1875], | |
[127.75, -165.1875], | |
[127.1875, -164.3125], | |
[125.6875, -165.1875], | |
[126.375, -166.1875] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "17. Benjamin Fayle, gentleman" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[125.625, -165.125], | |
[124.9375, -164.3125], | |
[126.5, -163.3125], | |
[127.1875, -164.1875], | |
[125.625, -165.125] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "18. Mary Adams" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[125.125, -164.3125], | |
[124.375, -163.625], | |
[125.875, -162.4375], | |
[126.625, -163.25], | |
[125.125, -164.3125] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "20. George Sparkes Griffinhoffe, linen draper" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[124.125, -161.25], | |
[125.1875, -162.75], | |
[124.1875, -163.25], | |
[123.1875, -161.75], | |
[124.125, -161.25] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "22. William Giles, grocer" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[120.3125, -164.6875], | |
[121.9375, -163.625], | |
[122.5, -164.25], | |
[120.75, -165.3125], | |
[120.3125, -164.6875] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "23. Benjamin Perrin, dealer in medicines" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[120.8125, -165.375], | |
[121.1875, -166], | |
[122.8125, -164.875], | |
[122.3125, -164.3125], | |
[120.8125, -165.375] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "24. Samuel Lewis Kangiesser, goldsmith and jeweller" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[121.1875, -166.0625], | |
[121.4375, -166.625], | |
[123.3125, -165.625], | |
[122.9375, -164.9375], | |
[121.1875, -166.0625] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "25. John Thomas Barber Beaumont, esq, miniature painter" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[121.625, -166.6875], | |
[122.0625, -167.25], | |
[123.75, -166.375], | |
[123.3125, -165.625], | |
[121.625, -166.6875] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "26. William Pocock and Son, cabinetmakers" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[122, -167.375], | |
[122.75, -168.4375], | |
[124.375, -167.375], | |
[123.75, -166.4375], | |
[122, -167.375] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "27. James Eastey, hotel keeper, Eastey's Hotel" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[122.6875, -168.5625], | |
[123.5625, -169.4375], | |
[125.0625, -168.375], | |
[124.375, -167.4375], | |
[122.6875, -168.5625] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "3. Charles Few, solicitor" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[119, -164.8125], | |
[118.1875, -165.25], | |
[118.875, -166.625], | |
[119.9375, -166], | |
[119, -164.8125] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "4. John Wood, tailor and habit-maker" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[118.125, -165.4375], | |
[117.125, -166.125], | |
[117.8125, -167.375], | |
[119, -166.625], | |
[118.125, -165.4375] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "5. The Golden Cup: Thomas Wright, goldsmiths and bankers (also at no. 6)" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[117, -166.125], | |
[116.125, -166.75], | |
[117, -168], | |
[117.875, -167.4375], | |
[117, -166.125] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "6. Thomas Wright" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[116.0625, -166.75], | |
[115.3125, -167.1875], | |
[116.125, -168.5625], | |
[117.0625, -167.9375], | |
[116.0625, -166.75] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "7. George Dickinson, ornamental hair manufacturer " | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[115.375, -167.375], | |
[114.375, -168], | |
[115.3125, -168.9375], | |
[116.1875, -168.5], | |
[115.375, -167.375] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "8. John Houghton" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[114.5, -167.9375], | |
[113.5625, -168.4375], | |
[114.3125, -169.75], | |
[115.3125, -169.0625], | |
[114.5, -167.9375] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "9. Thomas Adderley and William Shaw, mercers" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[113.5, -168.625], | |
[112.625, -169], | |
[113.5, -170.125], | |
[114.375, -169.6875], | |
[113.5, -168.625] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "10. Henry Thomas Austin, Henry Maude and Francis William Austin, esq, bankers" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[112.6875, -169], | |
[111.875, -169.6875], | |
[112.75, -170.8125], | |
[113.625, -170.25], | |
[112.6875, -169] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "11. Layton & Shears, mercers" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[111.75, -169.6875], | |
[111.0625, -170.125], | |
[111.8125, -171.4375], | |
[112.6875, -170.9375], | |
[111.75, -169.6875] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "12. William Robinson, linen draper" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[110.9375, -170.0625], | |
[110.25, -170.5625], | |
[111.25, -171.8125], | |
[112, -171.4375], | |
[110.9375, -170.0625] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "13. Nathaniel Roberts, woollen-draper" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[110.375, -170.625], | |
[109.5, -170.9375], | |
[110.3125, -172.3125], | |
[111.125, -171.8125], | |
[110.375, -170.625] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "14. John Cameron, tailor" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[109.6875, -171.125], | |
[108.6875, -171.5625], | |
[109.625, -172.9375], | |
[110.5625, -172.25], | |
[109.6875, -171.125] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "15. Henry Marchant, woollen draper" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[108.75, -171.625], | |
[107.875, -172.0625], | |
[108.75, -173.5625], | |
[109.625, -172.9375], | |
[108.75, -171.625] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "16. William Vinson, picture frame maker and turner" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[107.875, -172.1875], | |
[107.0625, -172.75], | |
[107.875, -173.9375], | |
[108.875, -173.375], | |
[107.875, -172.1875] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "17. John Easton and Harriet Stafford Smith, dealers in readymade linen" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[107.0625, -172.8125], | |
[106.125, -173.3125], | |
[107, -174.5], | |
[107.875, -173.9375], | |
[107.0625, -172.8125] | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"info": "18. Mary Freeman Shepherd, widow" | |
}, | |
"geometry": { | |
"type": "MultiPolygon", | |
"coordinates": [ | |
[ | |
[ | |
[106.25, -173.25], | |
[105.3125, -173.8125], | |
[106.125, -175], | |
[107.125, -174.4375], | |
[106.25, -173.25] | |
] | |
] | |
] | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment