Add 60-70 circles

This commit is contained in:
Daniele Pancottini 2023-02-24 18:57:50 +01:00
parent 7fe5c0b8ed
commit 366693f76b
14 changed files with 569 additions and 5 deletions

View File

@ -56,6 +56,30 @@ export default function Home() {
shape: 'poly',
href: '#',
},
{
id: '9',
title: '1970',
name: '1970',
fillColor: '#1A82FF',
strokeColor: 'black',
coords: [
2279,279,2496,356,2616,562,2579,779,2407,929,2174,929,1995,779,1958,553,2077,360
],
shape: 'poly',
href: '#',
},
{
id: '8',
title: '1970',
name: '1970',
fillColor: '#1ACBFF',
strokeColor: 'black',
coords: [
1707,535,1896,615,1980,809,1897,996,1710,1071,1515,989,1448,794,1523,614
],
shape: 'poly',
href: '#',
},
]
useEffect(() => {

View File

Before

Width:  |  Height:  |  Size: 361 B

After

Width:  |  Height:  |  Size: 361 B

View File

Before

Width:  |  Height:  |  Size: 472 B

After

Width:  |  Height:  |  Size: 472 B

View File

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="150"
height="150"
id="svg"
version="1.1"
sodipodi:docname="8.svg"
inkscape:version="1.2.1 (9c6d41e410, 2022-07-14)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs6" />
<sodipodi:namedview
id="namedview4"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="false"
inkscape:zoom="5.5266667"
inkscape:cx="74.90953"
inkscape:cy="75.09047"
inkscape:window-width="1920"
inkscape:window-height="1009"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg" />
<polygon
id="poly"
points="39.64466094067263,39.64466094067262 25,75 39.64466094067262,110.35533905932738 75,125 110.35533905932738,110.35533905932738 125,75.00000000000001 110.35533905932738,39.64466094067263 75.00000000000001,25 "
style="fill:#00b1ff;fill-opacity:1" />
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="150"
height="150"
id="svg"
version="1.1"
sodipodi:docname="9.svg"
inkscape:version="1.2.1 (9c6d41e410, 2022-07-14)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs6" />
<sodipodi:namedview
id="namedview4"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="false"
inkscape:zoom="5.5266667"
inkscape:cx="74.90953"
inkscape:cy="75.09047"
inkscape:window-width="1920"
inkscape:window-height="1009"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg" />
<polygon
id="poly"
points="42.86061951567304,36.697777844051096 25.7596123493896,66.31759111665347 31.69872981077806,99.99999999999999 57.898992833716555,121.98463103929541 92.10100716628344,121.98463103929542 118.30127018922192,100.00000000000003 124.24038765061042,66.3175911166535 107.13938048432698,36.69777784405111 75.00000000000001,25 "
style="fill:#0068ff;fill-opacity:1" />
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 369 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 KiB

View File

@ -43,15 +43,15 @@
},
"8": {
"name": "1960",
"color": "#2ecc71",
"polygon": "octagon.svg",
"enabled": false
"color": "#00B1FF",
"polygon": "8.svg",
"enabled": true
},
"9": {
"name": "1970",
"color": "#0068FF",
"polygon": "enneagon.svg",
"enabled": false
"polygon": "9.svg",
"enabled": true
},
"10": {
"name": "1980",

View File

@ -0,0 +1,140 @@
{
"rooms": [
{
"id": "0",
"name": "Bagno",
"filename": "bagno80.jpg",
"links": [
{
"nodeId": "3",
"longitude": 1.44232417885207,
"latitude": -0.367511889787425
}
]
},
{
"id": "1",
"name": "Camera adulti",
"filename": "cameraadu80.jpg",
"links": [
{
"nodeId": "3",
"longitude": 2.3149297060679324,
"latitude": -0.20572898218842983
}
]
},
{
"id": "2",
"name": "Camera ragazzi",
"filename": "camerarag80.jpg",
"links": [
{
"nodeId": "3",
"longitude": 2.359867377311474,
"latitude": -0.22520996545079242
}
]
},
{
"id": "3",
"name": "Corridoio",
"filename": "corridoio80.jpg",
"links": [
{
"nodeId": "1",
"longitude": 5.896252036417592,
"latitude": -0.17155530586609968
},
{
"nodeId": "2",
"longitude": 0.002335937629616648,
"latitude": -0.051315940366650103
},
{
"nodeId": "0",
"longitude": 0.10337406304776525,
"latitude": -0.03294094289173466
},
{
"nodeId": "7",
"longitude": 0.3478355893150185,
"latitude": -0.02861863754217575
},
{
"nodeId": "4",
"longitude": 0.3834034967890254,
"latitude": -0.04199830478329036
},
{
"nodeId": "5",
"longitude": 0.4853365137270894,
"latitude": -0.06160452452933307
},
{
"nodeId": "6",
"longitude": 0.862773360179425,
"latitude": -0.13304654377947656
}
]
},
{
"id": "4",
"name": "Cucina",
"filename": "cucina80.jpg",
"links": [
{
"nodeId": "3",
"longitude": 2.7372574172987614,
"latitude": -0.22115179529666684
},
{
"nodeId": "7",
"longitude": 4.339588313215577,
"latitude": -0.2164713849249862
}
]
},
{
"id": "5",
"name": "Garage",
"filename": "garage80.jpg",
"links": [
{
"nodeId": "6",
"longitude": 0.10658562598676391,
"latitude": -0.040154251354717285
}
]
},
{
"id": "6",
"name": "Giardino",
"filename": "giardino80.jpg",
"links": [
{
"nodeId": "5",
"longitude": 5.164444974383928,
"latitude": -0.18649274107908576
}
]
},
{
"id": "7",
"name": "Sala",
"filename": "sala80.jpg",
"links": [
{
"nodeId": "3",
"longitude": 5.493110085566132,
"latitude": -0.13095466183262028
},
{
"nodeId": "3",
"longitude": 4.029802180286774,
"latitude": -0.14455761762531627
}
]
}
]
}

View File

@ -0,0 +1,92 @@
{
"name": "10",
"areas": [
{
"id": "0",
"title": "Camera Adulti",
"name": "Camera Adulti",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [
788, 914, 1129, 914, 1129, 1139, 1167, 1142, 1166, 1225, 1021, 1226,
1020, 1177, 787, 1175
],
"shape": "poly",
"href": "/abruzzo/10/0"
},
{
"id": "1",
"title": "Giardino",
"name": "Giardino",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [577, 282, 1128, 282, 1130, 905, 439, 905, 435, 504, 576, 504],
"shape": "poly",
"href": "/abruzzo/10/1"
},
{
"id": "2",
"title": "Corridoio",
"name": "Corridoio",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [
245, 987, 439, 984, 439, 911, 779, 914, 780, 1183, 1012, 1184, 1013,
1226, 832, 1226, 831, 1435, 740, 1434, 739, 1088, 444, 1089, 444, 1235,
244, 1235
],
"shape": "poly",
"href": "/abruzzo/10/2"
},
{
"id": "3",
"title": "Garage",
"name": "Garage",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [243, 280, 567, 279, 567, 497, 431, 496, 431, 634, 244, 632],
"shape": "poly",
"href": "/abruzzo/10/3"
},
{
"id": "4",
"title": "Camera Ragazzi",
"name": "Camera Ragazzi",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [839, 1234, 1167, 1235, 1166, 1436, 840, 1436],
"shape": "poly",
"href": "/abruzzo/10/4"
},
{
"id": "5",
"title": "Bagno",
"name": "Bagno",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [243, 640, 430, 640, 430, 978, 243, 977],
"shape": "poly",
"href": "/abruzzo/10/5"
},
{
"id": "6",
"title": "Sala",
"name": "Sala",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [450, 1094, 731, 1094, 732, 1436, 452, 1436],
"shape": "poly",
"href": "/abruzzo/10/6"
},
{
"id": "7",
"title": "Cucina",
"name": "Cucina",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [44, 1240, 443, 1242, 443, 1437, 44, 1436],
"shape": "poly",
"href": "/abruzzo/10/7"
}
]
}

View File

@ -0,0 +1,140 @@
{
"rooms": [
{
"id": "0",
"name": "Bagno",
"filename": "bagno80.jpg",
"links": [
{
"nodeId": "3",
"longitude": 1.44232417885207,
"latitude": -0.367511889787425
}
]
},
{
"id": "1",
"name": "Camera adulti",
"filename": "cameraadu80.jpg",
"links": [
{
"nodeId": "3",
"longitude": 2.3149297060679324,
"latitude": -0.20572898218842983
}
]
},
{
"id": "2",
"name": "Camera ragazzi",
"filename": "camerarag80.jpg",
"links": [
{
"nodeId": "3",
"longitude": 2.359867377311474,
"latitude": -0.22520996545079242
}
]
},
{
"id": "3",
"name": "Corridoio",
"filename": "corridoio80.jpg",
"links": [
{
"nodeId": "1",
"longitude": 5.896252036417592,
"latitude": -0.17155530586609968
},
{
"nodeId": "2",
"longitude": 0.002335937629616648,
"latitude": -0.051315940366650103
},
{
"nodeId": "0",
"longitude": 0.10337406304776525,
"latitude": -0.03294094289173466
},
{
"nodeId": "7",
"longitude": 0.3478355893150185,
"latitude": -0.02861863754217575
},
{
"nodeId": "4",
"longitude": 0.3834034967890254,
"latitude": -0.04199830478329036
},
{
"nodeId": "5",
"longitude": 0.4853365137270894,
"latitude": -0.06160452452933307
},
{
"nodeId": "6",
"longitude": 0.862773360179425,
"latitude": -0.13304654377947656
}
]
},
{
"id": "4",
"name": "Cucina",
"filename": "cucina80.jpg",
"links": [
{
"nodeId": "3",
"longitude": 2.7372574172987614,
"latitude": -0.22115179529666684
},
{
"nodeId": "7",
"longitude": 4.339588313215577,
"latitude": -0.2164713849249862
}
]
},
{
"id": "5",
"name": "Garage",
"filename": "garage80.jpg",
"links": [
{
"nodeId": "6",
"longitude": 0.10658562598676391,
"latitude": -0.040154251354717285
}
]
},
{
"id": "6",
"name": "Giardino",
"filename": "giardino80.jpg",
"links": [
{
"nodeId": "5",
"longitude": 5.164444974383928,
"latitude": -0.18649274107908576
}
]
},
{
"id": "7",
"name": "Sala",
"filename": "sala80.jpg",
"links": [
{
"nodeId": "3",
"longitude": 5.493110085566132,
"latitude": -0.13095466183262028
},
{
"nodeId": "3",
"longitude": 4.029802180286774,
"latitude": -0.14455761762531627
}
]
}
]
}

View File

@ -0,0 +1,92 @@
{
"name": "10",
"areas": [
{
"id": "0",
"title": "Camera Adulti",
"name": "Camera Adulti",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [
788, 914, 1129, 914, 1129, 1139, 1167, 1142, 1166, 1225, 1021, 1226,
1020, 1177, 787, 1175
],
"shape": "poly",
"href": "/abruzzo/10/0"
},
{
"id": "1",
"title": "Giardino",
"name": "Giardino",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [577, 282, 1128, 282, 1130, 905, 439, 905, 435, 504, 576, 504],
"shape": "poly",
"href": "/abruzzo/10/1"
},
{
"id": "2",
"title": "Corridoio",
"name": "Corridoio",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [
245, 987, 439, 984, 439, 911, 779, 914, 780, 1183, 1012, 1184, 1013,
1226, 832, 1226, 831, 1435, 740, 1434, 739, 1088, 444, 1089, 444, 1235,
244, 1235
],
"shape": "poly",
"href": "/abruzzo/10/2"
},
{
"id": "3",
"title": "Garage",
"name": "Garage",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [243, 280, 567, 279, 567, 497, 431, 496, 431, 634, 244, 632],
"shape": "poly",
"href": "/abruzzo/10/3"
},
{
"id": "4",
"title": "Camera Ragazzi",
"name": "Camera Ragazzi",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [839, 1234, 1167, 1235, 1166, 1436, 840, 1436],
"shape": "poly",
"href": "/abruzzo/10/4"
},
{
"id": "5",
"title": "Bagno",
"name": "Bagno",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [243, 640, 430, 640, 430, 978, 243, 977],
"shape": "poly",
"href": "/abruzzo/10/5"
},
{
"id": "6",
"title": "Sala",
"name": "Sala",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [450, 1094, 731, 1094, 732, 1436, 452, 1436],
"shape": "poly",
"href": "/abruzzo/10/6"
},
{
"id": "7",
"title": "Cucina",
"name": "Cucina",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [44, 1240, 443, 1242, 443, 1437, 44, 1436],
"shape": "poly",
"href": "/abruzzo/10/7"
}
]
}