diff --git a/proj/map/asset/js/db.js b/proj/map/asset/js/db.js index 52e1070..a5bc14b 100644 --- a/proj/map/asset/js/db.js +++ b/proj/map/asset/js/db.js @@ -39,6 +39,19 @@ let SanTelmo = { } } +let Salsamenteria = { + id: "salsamenteria", + isActive: false, + xy: [-21.96, -21.64], + dirxy: [-19.64,13.36], + dirzl: 3, + type : "item", + name: "Salsamenteria di Parma", + img: "https://ed.brz9.dev/proj/map/asset/img/salsamentiera.jpg", + txtFR: "Français Adipisicing live-edge fam velit. Messenger bag poke laboris aesthetic viral do semiotics authentic est selfies.", + txtEN: "English Adipisicing live-edge fam velit. Messenger bag poke laboris aesthetic viral do semiotics authentic est selfies.", + txtIT: "Italiano Adipisicing live-edge fam velit. Messenger bag poke laboris aesthetic viral do semiotics authentic est selfies.", +} var jdb = { data: { @@ -77,17 +90,7 @@ var jdb = { nameIT : "Italiano", sub : { SanTelmo, - Salsamenteria : { - id: "salsamenteria", - isActive: false, - xy: [-15.42,27.20], - type : "item", - name: "Salsamenteria di Parma", - img: "https://ed.brz9.dev/proj/map/asset/img/salsamentiera.jpg", - txtFR: "Français Adipisicing live-edge fam velit. Messenger bag poke laboris aesthetic viral do semiotics authentic est selfies.", - txtEN: "English Adipisicing live-edge fam velit. Messenger bag poke laboris aesthetic viral do semiotics authentic est selfies.", - txtIT: "Italiano Adipisicing live-edge fam velit. Messenger bag poke laboris aesthetic viral do semiotics authentic est selfies.", - }, + Salsamenteria, }, }, vege : { diff --git a/proj/map/asset/js/map.js b/proj/map/asset/js/map.js index 79651fd..c06cba0 100644 --- a/proj/map/asset/js/map.js +++ b/proj/map/asset/js/map.js @@ -9,7 +9,15 @@ var maxLenght = Math.pow(2, maxZoomLevel) * tileSize var mapNE = [maxLenght, 0] var mapSW = [0, maxLenght] -var map = L.map('map', {'attributionControl': false}).setView(hotelxy,1); +var map = L.map('map', { + attributionControl: false, + zoomControl: false, +}).setView(hotelxy,1); + +L.control.zoom({ + position: 'bottomright' +}).addTo(map); + L.tileLayer('asset/tiles/{z}/{x}/{y}.png', { minZoom: 1, diff --git a/proj/map/asset/markers/markers.svg b/proj/map/asset/markers/markers.svg index 235b5c8..3794479 100644 --- a/proj/map/asset/markers/markers.svg +++ b/proj/map/asset/markers/markers.svg @@ -23,9 +23,9 @@ borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" - inkscape:zoom="0.27158394" - inkscape:cx="-1819.0801" - inkscape:cy="-7889.7699" + inkscape:zoom="0.33537079" + inkscape:cx="-555.87544" + inkscape:cy="-7828.6266" inkscape:document-units="mm" inkscape:current-layer="g5160" inkscape:document-rotation="0" @@ -41,7 +41,7 @@ inkscape:snap-midpoints="true" showguides="true" inkscape:guide-bbox="true" - inkscape:snap-global="false" + inkscape:snap-global="true" inkscape:window-width="1280" inkscape:window-height="779" inkscape:window-x="0" @@ -59,11 +59,11 @@ orientation="0,-1" id="guide5127" /> + + P diff --git a/proj/map/asset/svg/zmap/5.svg b/proj/map/asset/svg/zmap/5.svg index 5fbf7a2..07d2f9c 100644 --- a/proj/map/asset/svg/zmap/5.svg +++ b/proj/map/asset/svg/zmap/5.svg @@ -40,13 +40,13 @@ id="namedview3459" showgrid="false" inkscape:snap-page="true" - inkscape:zoom="1.1429073" - inkscape:cx="1105.0357" - inkscape:cy="1143.9617" + inkscape:zoom="5.2689149" + inkscape:cx="1301.2322" + inkscape:cy="1150.7353" inkscape:window-x="0" inkscape:window-y="21" inkscape:window-maximized="0" - inkscape:current-layer="g7005" + inkscape:current-layer="layer11" inkscape:snap-global="false" showguides="true" inkscape:guide-bbox="true" @@ -1985,7 +1985,19 @@ id="path4650" />