Skip to content

Commit

Permalink
[校園地圖] 擴充地圖
Browse files Browse the repository at this point in the history
  • Loading branch information
itshenrywu committed Sep 1, 2024
1 parent 9949159 commit 2c85028
Show file tree
Hide file tree
Showing 49 changed files with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions map/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@

#map {
width: 100%;
height: 60%;
height: 65%;
background: #333;
}

#sidebar {
width: 100%;
height: 40%;
height: 35%;
padding: 15px 0;
overflow-y: scroll;
}
Expand Down Expand Up @@ -111,8 +111,9 @@
</div>
</div>
<script>
var width = 17;
if($('#map').width() >= 940) width = 18;
var width = 16;
if($('#map').width() >= 940) width = 17;
if($('#map').width() >= 1200) width = 18;
var map;
map = L.map('map',{
maxBounds: [
Expand All @@ -127,7 +128,7 @@
}).addTo(map);

var polygon = L.polygon([
[ [25.0485, 121.4139], [25.0355, 121.4139], [25.0355, 121.4288], [25.0485, 121.4288] ],
[ [25.06, 121.4], [25.02, 121.4], [25.02, 121.43], [25.06, 121.43] ],
[ [25.040319, 121.4186125], [25.0401513, 121.4187034], [25.0400134, 121.4189763], [25.0383989, 121.4176619], [25.0380579, 121.4174776], [25.0378659, 121.4178026], [25.0382253, 121.4181364], [25.0397722, 121.4194123], [25.0399711, 121.4195955], [25.0400193, 121.4197444], [25.0400115, 121.4199001], [25.039992, 121.4202883], [25.0398686, 121.4205858], [25.0398022, 121.4207227], [25.0397271, 121.4209008], [25.039709, 121.4209572], [25.0397205, 121.4210418], [25.0398476, 121.421465], [25.0396378, 121.4218574], [25.039765, 121.4219531], [25.0395534, 121.4224716], [25.0394267, 121.4224009], [25.039346, 121.4226148], [25.0392771, 121.4225705], [25.0392345, 121.4226431], [25.0390148, 121.4226838], [25.0388602, 121.4220432], [25.0384005, 121.4217326], [25.0387484, 121.4211418], [25.0393521, 121.4215837], [25.0395431, 121.4212256], [25.0396621, 121.4213112], [25.0397032, 121.421343], [25.0398037, 121.4211846], [25.0398884, 121.4212886], [25.0400733, 121.4214332], [25.0402429, 121.4215645], [25.0403287, 121.4216636], [25.0403713, 121.4217402], [25.0404259, 121.4218899], [25.0404566, 121.4221486], [25.0405299, 121.4222254], [25.0406361, 121.4223369], [25.040722, 121.4224287], [25.040939, 121.4226369], [25.0410425, 121.4227498], [25.0411569, 121.4227525], [25.0414532, 121.4227193], [25.0415543, 121.4227224], [25.0417501, 121.4224311], [25.0422833, 121.4226795], [25.0425068, 121.422937], [25.0429443, 121.4230121], [25.0433235, 121.4233195], [25.0436718, 121.42292], [25.0438854, 121.4230574], [25.0444323, 121.4227225], [25.0446304, 121.4225491], [25.0450198, 121.4214631], [25.0451021, 121.4211882], [25.0449708, 121.4205578], [25.0445398, 121.4204138], [25.0444684, 121.4201309], [25.0445462, 121.4199283], [25.0435365, 121.4195152], [25.0435989, 121.419227], [25.043625, 121.419122], [25.0433852, 121.4191616], [25.0433489, 121.4190329], [25.042868, 121.4190623], [25.0428665, 121.4186347], [25.042518, 121.4186653], [25.0423816, 121.4188324], [25.0419865, 121.4188297], [25.0418328, 121.4191054], [25.0416238, 121.4191159], [25.04066, 121.4183665], [25.0404222, 121.4186271], [25.040319, 121.4186125] ]
]).addTo(map);
polygon.setStyle({fillColor: '#000000', fillOpacity: 0.6, weight: 0});
Expand All @@ -145,6 +146,7 @@
["保健室", "體育館 2F", "衛保組健康中心保健室", 25.04165, 121.42138],
["生輔組", "體育館 2F", "生活輔導組", 25.04165, 121.42138],
["軍訓室", "體育館 2F", "教官室", 25.04165, 121.42138],
["原資中心", "體育館 2F", "", 25.04165, 121.42138],
["羽球場", "體育館 3F", "", 25.04165, 121.42138],
["體育室", "體育館 3F", "", 25.04165, 121.42138],
["籃球場", "體育館 5F", "", 25.04165, 121.42138],
Expand Down
Binary file added map/map/16/54869/28054.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map/map/16/54869/28055.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map/map/16/54869/28056.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map/map/16/54869/28057.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map/map/16/54869/28058.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map/map/16/54869/28059.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map/map/16/54870/28054.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map/map/16/54870/28055.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map/map/16/54870/28056.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map/map/16/54870/28057.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map/map/16/54870/28058.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map/map/16/54870/28059.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map/map/16/54871/28054.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map/map/16/54871/28055.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map/map/16/54871/28056.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map/map/16/54871/28057.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map/map/16/54871/28058.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map/map/16/54871/28059.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map/map/16/54872/28054.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map/map/16/54872/28055.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map/map/16/54872/28056.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map/map/16/54872/28057.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map/map/16/54872/28058.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map/map/16/54872/28059.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map/map/16/54873/28054.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map/map/16/54873/28055.png
Binary file added map/map/16/54873/28056.png
Binary file added map/map/16/54873/28057.png
Binary file added map/map/16/54873/28058.png
Binary file added map/map/16/54873/28059.png
Binary file added map/map/16/54874/28054.png
Binary file added map/map/16/54874/28055.png
Binary file added map/map/16/54874/28056.png
Binary file added map/map/16/54874/28057.png
Binary file added map/map/16/54874/28058.png
Binary file added map/map/16/54874/28059.png
Binary file added map/map/17/109741/56116.png
Binary file added map/map/17/109742/56116.png
Binary file added map/map/17/109743/56116.png
Binary file added map/map/17/109744/56116.png
Binary file added map/map/17/109745/56116.png
Binary file added map/map/17/109746/56110.png
Binary file added map/map/17/109746/56111.png
Binary file added map/map/17/109746/56112.png
Binary file added map/map/17/109746/56113.png
Binary file added map/map/17/109746/56114.png
Binary file added map/map/17/109746/56115.png
Binary file added map/map/17/109746/56116.png

0 comments on commit 2c85028

Please sign in to comment.