Add plans maps for index page

This commit is contained in:
Daniele Pancottini
2022-12-28 09:43:11 +01:00
parent 23afcd8e0a
commit 8e51ad7cd7
4 changed files with 365 additions and 104 deletions

View File

@@ -1,25 +1,116 @@
{
"name": "gfdfdg",
"areas": [
{
"id": "ffsdfsd",
"title": "2000",
"name": "2000",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [285,232,381,229,384,316,371,316,370,462,343,463,336,472,328,482,314,486,295,492,283,488,273,482,257,468,251,459,245,434,247,397,248,371,267,368,264,313,288,310,286,239],
"shape": "poly",
"href": "/abruzzo/12/0"
},
{
"id": "fdsf",
"title": "2000",
"name": "2000",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [14,63,111,64,110,184,88,186,82,212,38,212,38,187,13,186],
"shape": "poly",
"href": "/abruzzo/12/1"
}
]
}
"name": "12",
"areas": [
{
"id": "0",
"title": "Camera Adulti",
"name": "Camera Adulti",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [
70, 199, 346, 198, 345, 555, 271, 557, 270, 620, 156, 620, 154, 558, 70,
558
],
"shape": "poly",
"href": "/abruzzo/12/0"
},
{
"id": "1",
"title": "Giardino",
"name": "Giardino",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [
70, 566, 142, 564, 143, 633, 372, 634, 375, 1007, 331, 1006, 329, 1111,
359, 1115, 362, 1174, 443, 1173, 357, 1316, 354, 1639, 70, 1638
],
"shape": "poly",
"href": "/abruzzo/12/1"
},
{
"id": "2",
"title": "Corridoio",
"name": "Corridoio",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [
68, 95, 68, 186, 355, 191, 359, 563, 284, 563, 283, 622, 453, 624, 451,
598, 680, 598, 681, 640, 770, 642, 768, 937, 652, 940, 651, 1007, 692,
1007, 692, 1113, 651, 1113, 651, 1292, 728, 1294, 732, 1482, 888, 1487,
851, 1473, 822, 1455, 795, 1431, 774, 1406, 763, 1391, 766, 1103, 820,
1102, 822, 928, 877, 927, 880, 681, 969, 679, 971, 469, 692, 468, 688,
385, 490, 380, 489, 96
],
"shape": "poly",
"href": "/abruzzo/12/2"
},
{
"id": "3",
"title": "Garage",
"name": "Garage",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [
504, 97, 916, 97, 1186, 216, 1184, 679, 984, 678, 981, 457, 704, 456,
703, 372, 504, 371
],
"shape": "poly",
"href": "/abruzzo/12/3"
},
{
"id": "4",
"title": "Camera Ragazzi",
"name": "Camera Ragazzi",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [
465, 608, 670, 609, 672, 651, 760, 651, 757, 926, 387, 927, 386, 633,
465, 632
],
"shape": "poly",
"href": "/abruzzo/12/4"
},
{
"id": "5",
"title": "Bagno",
"name": "Bagno",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [
386, 938, 640, 939, 640, 1018, 680, 1018, 682, 1103, 639, 1103, 638,
1165, 373, 1163, 371, 1103, 342, 1102, 341, 1018, 386, 1018
],
"shape": "poly",
"href": "/abruzzo/12/5"
},
{
"id": "6",
"title": "Sala",
"name": "Sala",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [
457, 1175, 638, 1173, 639, 1304, 721, 1303, 720, 1484, 702, 1486, 702,
1640, 366, 1641, 366, 1320
],
"shape": "poly",
"href": "/abruzzo/12/6"
},
{
"id": "7",
"title": "Cucina",
"name": "Cucina",
"fillColor": "#eab54d4d",
"strokeColor": "black",
"coords": [
891, 691, 1184, 691, 1186, 953, 1147, 952, 1148, 1392, 1060, 1392, 1050,
1408, 1037, 1425, 1020, 1437, 1007, 1450, 991, 1458, 973, 1467, 961,
1470, 947, 1476, 933, 1476, 916, 1479, 901, 1476, 888, 1476, 866, 1469,
842, 1455, 824, 1444, 808, 1432, 796, 1419, 786, 1402, 779, 1387, 779,
1115, 830, 1115, 832, 940, 891, 940
],
"shape": "poly",
"href": "/abruzzo/12/7"
}
]
}