<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<title>P.1版-眾多邊形</title>
<!--【P.0版】主架構參考Simple Polygon https://developers.google.com/maps/documentation/javascript/examples/polygon-simple -->
<!--【P.1版】座標陣列改成二維陣列,套用資料來自於【1.2版】的全部座標彙整,並增加一個陣列記錄全部建物名稱。 -->
<style>
html, body {
height: 100%;
margin: 0;
padding: 0;
}
#map {
height: 50%;
}
</style>
</head>
<body>
<div id="map"></div>
<div id="msg"></div>
<script>
function initMap() {
var map = new google.maps.Map(document.getElementById('map'), {
zoom: 16,
center: {lat: 24.121517, lng: 120.675553},
mapTypeId: google.maps.MapTypeId.TERRAIN
});
// Define the LatLng coordinates for the polygon's path. 套用資料來自於【1.2版】的全部座標彙整
var polyCoords = [
[{lng: 120.6754891, lat: 24.1236512}, {lng: 120.6754878, lat: 24.1228667}, {lng: 120.675703, lat: 24.1228673}, {lng: 120.675703, lat: 24.1228422}, {lng: 120.6758116, lat: 24.1228416}, {lng: 120.6758116, lat: 24.1228673}, {lng: 120.6759417, lat: 24.1228673}, {lng: 120.6759424, lat: 24.1228403}, {lng: 120.6761865, lat: 24.1228403}, {lng: 120.6761865, lat: 24.1228642}, {lng: 120.6764467, lat: 24.1228654}, {lng: 120.6764453, lat: 24.1230258}, {lng: 120.676499, lat: 24.1230258}, {lng: 120.6765016, lat: 24.1234982}, {lng: 120.6764534, lat: 24.1234982}, {lng: 120.6764534, lat: 24.1236463}, {lng: 120.6761905, lat: 24.1236488}, {lng: 120.6761905, lat: 24.1236708}, {lng: 120.6759397, lat: 24.1236733}, {lng: 120.6759384, lat: 24.1236476}, {lng: 120.6758089, lat: 24.1236488}, {lng: 120.6758096, lat: 24.1236738}, {lng: 120.6756956, lat: 24.1236745}, {lng: 120.6756956, lat: 24.1236512}, {lng: 120.6754891, lat: 24.1236512}],
[{lng: 120.6752309, lat: 24.122303}, {lng: 120.6758492, lat: 24.1223006}, {lng: 120.6758478, lat: 24.1224731}, {lng: 120.6757788, lat: 24.1224731}, {lng: 120.6757613, lat: 24.1224248}, {lng: 120.675528, lat: 24.1224279}, {lng: 120.6755293, lat: 24.1225276}, {lng: 120.6757452, lat: 24.1225258}, {lng: 120.6757452, lat: 24.1226818}, {lng: 120.6753563, lat: 24.1226855}, {lng: 120.6753563, lat: 24.1224285}, {lng: 120.6751665, lat: 24.1224309}, {lng: 120.6751659, lat: 24.1223122}, {lng: 120.6752309, lat: 24.1223122}, {lng: 120.6752309, lat: 24.122303}],
[{lng: 120.6760973, lat: 24.1222761}, {lng: 120.6765056, lat: 24.1222767}, {lng: 120.6765016, lat: 24.1224279}, {lng: 120.6763239, lat: 24.122426}, {lng: 120.6763239, lat: 24.1225313}, {lng: 120.6764969, lat: 24.1225313}, {lng: 120.6764976, lat: 24.1226806}, {lng: 120.6760946, lat: 24.12268}, {lng: 120.6760973, lat: 24.1222761}],
[{lng: 120.6755072, lat: 24.1221745}, {lng: 120.6755065, lat: 24.1221298}, {lng: 120.6754837, lat: 24.1221298}, {lng: 120.6754837, lat: 24.1220649}, {lng: 120.6755025, lat: 24.1220649}, {lng: 120.6755025, lat: 24.1220141}, {lng: 120.6758405, lat: 24.1220129}, {lng: 120.6758432, lat: 24.122188}, {lng: 120.6755883, lat: 24.1221898}, {lng: 120.675589, lat: 24.1221745}, {lng: 120.6755072, lat: 24.1221745}],
[{lng: 120.675247, lat: 24.1216305}, {lng: 120.6755031, lat: 24.1216298}, {lng: 120.6755031, lat: 24.1215918}, {lng: 120.6756205, lat: 24.1215912}, {lng: 120.6756199, lat: 24.1216329}, {lng: 120.6758183, lat: 24.1216323}, {lng: 120.6758183, lat: 24.1216506}, {lng: 120.6758653, lat: 24.1216518}, {lng: 120.6758673, lat: 24.121956}, {lng: 120.6752269, lat: 24.1219603}, {lng: 120.6752243, lat: 24.1216836}, {lng: 120.6752464, lat: 24.1216836}, {lng: 120.675247, lat: 24.1216305}],
[{lng: 120.6759471, lat: 24.1221243}, {lng: 120.6759471, lat: 24.1218917}, {lng: 120.6760222, lat: 24.1218917}, {lng: 120.6760249, lat: 24.1215808}, {lng: 120.6765559, lat: 24.1215784}, {lng: 120.6765559, lat: 24.121975}, {lng: 120.6761134, lat: 24.1219725}, {lng: 120.6761107, lat: 24.1221243}, {lng: 120.6759471, lat: 24.1221243}],
[{lng: 120.6751598, lat: 24.1212932}, {lng: 120.6751598, lat: 24.1210863}, {lng: 120.6754629, lat: 24.1210863}, {lng: 120.6754643, lat: 24.120986}, {lng: 120.6751598, lat: 24.1209872}, {lng: 120.6751585, lat: 24.1207791}, {lng: 120.6754334, lat: 24.1207773}, {lng: 120.6754327, lat: 24.1208397}, {lng: 120.6755763, lat: 24.1208398}, {lng: 120.6755756, lat: 24.120781}, {lng: 120.6758538, lat: 24.1207803}, {lng: 120.6758519, lat: 24.1209835}, {lng: 120.6756198, lat: 24.1209823}, {lng: 120.6756198, lat: 24.1210802}, {lng: 120.6758586, lat: 24.121079}, {lng: 120.6758566, lat: 24.1212914}, {lng: 120.6751598, lat: 24.1212932}],
[{lng: 120.6761134, lat: 24.1212951}, {lng: 120.6761114, lat: 24.121169}, {lng: 120.6765733, lat: 24.1211653}, {lng: 120.6765747, lat: 24.1212908}, {lng: 120.6761134, lat: 24.1212951}],
[{lng: 120.6763963, lat: 24.1203544}, {lng: 120.6763957, lat: 24.1204841}, {lng: 120.6765425, lat: 24.120486}, {lng: 120.6765405, lat: 24.1206622}, {lng: 120.676399, lat: 24.1206622}, {lng: 120.676399, lat: 24.1207038}, {lng: 120.6766136, lat: 24.1207032}, {lng: 120.6766149, lat: 24.120893}, {lng: 120.6759618, lat: 24.1208966}, {lng: 120.6759598, lat: 24.1207069}, {lng: 120.6763534, lat: 24.1207087}, {lng: 120.6763528, lat: 24.120661}, {lng: 120.6762978, lat: 24.120661}, {lng: 120.6762991, lat: 24.1205717}, {lng: 120.6763494, lat: 24.120571}, {lng: 120.6763501, lat: 24.1205453}, {lng: 120.6759967, lat: 24.1205472}, {lng: 120.6759933, lat: 24.120366}, {lng: 120.6760342, lat: 24.1203654}, {lng: 120.6760342, lat: 24.120355}, {lng: 120.6763963, lat: 24.1203544}],
[{lng: 120.673802, lat: 24.1223397}, {lng: 120.673802, lat: 24.1221072}, {lng: 120.6740507, lat: 24.1221078}, {lng: 120.6740507, lat: 24.1221659}, {lng: 120.6741131, lat: 24.1221665}, {lng: 120.6741131, lat: 24.1221078}, {lng: 120.6741694, lat: 24.1221078}, {lng: 120.6741701, lat: 24.1219988}, {lng: 120.6744196, lat: 24.1219995}, {lng: 120.6744196, lat: 24.1221078}, {lng: 120.6744806, lat: 24.1221078}, {lng: 120.6744806, lat: 24.1221641}, {lng: 120.6745463, lat: 24.1221659}, {lng: 120.6745463, lat: 24.1221102}, {lng: 120.6747937, lat: 24.1221102}, {lng: 120.6747944, lat: 24.1223379}, {lng: 120.6744792, lat: 24.1223373}, {lng: 120.6744792, lat: 24.122393}, {lng: 120.6741131, lat: 24.1223924}, {lng: 120.6741131, lat: 24.1223379}, {lng: 120.673802, lat: 24.1223397}],
[{lng: 120.6737235, lat: 24.1200055}, {lng: 120.6737249, lat: 24.1195649}, {lng: 120.6745429, lat: 24.1195661}, {lng: 120.6745429, lat: 24.1195833}, {lng: 120.6746167, lat: 24.1195833}, {lng: 120.6746167, lat: 24.1196322}, {lng: 120.6746368, lat: 24.1196322}, {lng: 120.6746368, lat: 24.1195967}, {lng: 120.6748018, lat: 24.1195943}, {lng: 120.6748018, lat: 24.1196365}, {lng: 120.6748581, lat: 24.1196365}, {lng: 120.6748581, lat: 24.1199425}, {lng: 120.6748259, lat: 24.1199419}, {lng: 120.6748272, lat: 24.1199896}, {lng: 120.6746382, lat: 24.1199872}, {lng: 120.6746382, lat: 24.1200001}, {lng: 120.6745402, lat: 24.1200001}, {lng: 120.6745409, lat: 24.1199854}, {lng: 120.6744745, lat: 24.1199853}, {lng: 120.6744745, lat: 24.1200055}, {lng: 120.6737235, lat: 24.1200055}],
[{lng: 120.6770937, lat: 24.1233177}, {lng: 120.6771433, lat: 24.1233195}, {lng: 120.6771447, lat: 24.1231971}, {lng: 120.6772265, lat: 24.123117}, {lng: 120.6772909, lat: 24.123117}, {lng: 120.6772902, lat: 24.1231366}, {lng: 120.6773552, lat: 24.1231353}, {lng: 120.6773519, lat: 24.1233905}, {lng: 120.6772674, lat: 24.1233887}, {lng: 120.6772667, lat: 24.1234003}, {lng: 120.6772768, lat: 24.1234046}, {lng: 120.6772902, lat: 24.1234144}, {lng: 120.6772956, lat: 24.1234309}, {lng: 120.6772895, lat: 24.1234529}, {lng: 120.6772747, lat: 24.123464}, {lng: 120.6772245, lat: 24.1234645}, {lng: 120.6772238, lat: 24.1236096}, {lng: 120.6767189, lat: 24.123609}, {lng: 120.6767189, lat: 24.1234786}, {lng: 120.6769871, lat: 24.1234805}, {lng: 120.6769871, lat: 24.1234223}, {lng: 120.6769656, lat: 24.123423}, {lng: 120.6769502, lat: 24.1234193}, {lng: 120.6769328, lat: 24.1234089}, {lng: 120.676912, lat: 24.1233924}, {lng: 120.6768946, lat: 24.1233575}, {lng: 120.6768899, lat: 24.1233416}, {lng: 120.6768912, lat: 24.1233171}, {lng: 120.6769019, lat: 24.123284}, {lng: 120.6769314, lat: 24.1232559}, {lng: 120.6769489, lat: 24.1232461}, {lng: 120.6769811, lat: 24.12324}, {lng: 120.6770032, lat: 24.12324}, {lng: 120.6770428, lat: 24.1232473}, {lng: 120.6770662, lat: 24.1232632}, {lng: 120.6770884, lat: 24.1232957}, {lng: 120.6770937, lat: 24.1233177}],
[{lng: 120.677553, lat: 24.1234909}, {lng: 120.677494, lat: 24.1234915}, {lng: 120.677494, lat: 24.1233275}, {lng: 120.6778085, lat: 24.1233287}, {lng: 120.6778065, lat: 24.1234909}, {lng: 120.6775792, lat: 24.1234921}, {lng: 120.6775799, lat: 24.1235337}, {lng: 120.6776147, lat: 24.1235343}, {lng: 120.6776148, lat: 24.1236071}, {lng: 120.6777683, lat: 24.1236084}, {lng: 120.677769, lat: 24.1235368}, {lng: 120.6778058, lat: 24.1235368}, {lng: 120.6778065, lat: 24.1237008}, {lng: 120.6773961, lat: 24.1237008}, {lng: 120.6773962, lat: 24.1236072}, {lng: 120.6775202, lat: 24.1236083}, {lng: 120.6775195, lat: 24.1235349}, {lng: 120.6775537, lat: 24.1235349}, {lng: 120.677553, lat: 24.1234909}],
[{lng: 120.6777066, lat: 24.1229419}, {lng: 120.6768362, lat: 24.1229463}, {lng: 120.6768342, lat: 24.1226929}, {lng: 120.6769542, lat: 24.122691}, {lng: 120.6769556, lat: 24.1228121}, {lng: 120.6777079, lat: 24.1228073}, {lng: 120.6777066, lat: 24.1229419}],
[{lng: 120.6768376, lat: 24.1225558}, {lng: 120.6768362, lat: 24.1223256}, {lng: 120.6769864, lat: 24.1223238}, {lng: 120.6769878, lat: 24.1224682}, {lng: 120.6769509, lat: 24.1224676}, {lng: 120.6769509, lat: 24.1225551}, {lng: 120.6768376, lat: 24.1225558}],
[{lng: 120.6775048, lat: 24.1227424}, {lng: 120.6775061, lat: 24.1225374}, {lng: 120.6775966, lat: 24.122538}, {lng: 120.6775933, lat: 24.1227431}, {lng: 120.6775048, lat: 24.1227424}],
[{lng: 120.6769878, lat: 24.1224682}, {lng: 120.6769864, lat: 24.1223238}, {lng: 120.6777046, lat: 24.1223183}, {lng: 120.6777053, lat: 24.1224646}, {lng: 120.6769878, lat: 24.1224682}],
[{lng: 120.6768255, lat: 24.1222369}, {lng: 120.6768255, lat: 24.1220588}, {lng: 120.6770649, lat: 24.1220576}, {lng: 120.6770649, lat: 24.1220784}, {lng: 120.6772788, lat: 24.122079}, {lng: 120.6772781, lat: 24.1220643}, {lng: 120.6774444, lat: 24.1220619}, {lng: 120.6774444, lat: 24.1220735}, {lng: 120.67771, lat: 24.1220735}, {lng: 120.67771, lat: 24.1222204}, {lng: 120.6774598, lat: 24.122221}, {lng: 120.6774592, lat: 24.1222094}, {lng: 120.6774223, lat: 24.1222094}, {lng: 120.6774223, lat: 24.1222761}, {lng: 120.6773184, lat: 24.1222773}, {lng: 120.6773197, lat: 24.1222106}, {lng: 120.6772821, lat: 24.1222112}, {lng: 120.6772821, lat: 24.1222253}, {lng: 120.6770689, lat: 24.1222265}, {lng: 120.6770689, lat: 24.1222345}, {lng: 120.6768255, lat: 24.1222369}],
[{lng: 120.6770253, lat: 24.1219358}, {lng: 120.677026, lat: 24.1217859}, {lng: 120.677547, lat: 24.1217945}, {lng: 120.6775463, lat: 24.1217767}, {lng: 120.67771, lat: 24.1217773}, {lng: 120.67771, lat: 24.1218783}, {lng: 120.6775517, lat: 24.1218752}, {lng: 120.6775517, lat: 24.1219413}, {lng: 120.6770253, lat: 24.1219358}],
[{lng: 120.6768402, lat: 24.1216879}, {lng: 120.6768402, lat: 24.1215502}, {lng: 120.677032, lat: 24.1215502}, {lng: 120.677032, lat: 24.1215784}, {lng: 120.6774176, lat: 24.1215815}, {lng: 120.6774183, lat: 24.1215527}, {lng: 120.6777093, lat: 24.1215545}, {lng: 120.6777066, lat: 24.121669}, {lng: 120.6770367, lat: 24.1216665}, {lng: 120.6770367, lat: 24.1216898}, {lng: 120.6768402, lat: 24.1216879}],
[{lng: 120.6770642, lat: 24.1212234}, {lng: 120.6769744, lat: 24.1212234}, {lng: 120.6769744, lat: 24.1211561}, {lng: 120.6768, lat: 24.1211549}, {lng: 120.6768014, lat: 24.1209805}, {lng: 120.6771534, lat: 24.1209829}, {lng: 120.6771541, lat: 24.1209486}, {lng: 120.6773163, lat: 24.1209493}, {lng: 120.6773136, lat: 24.1212216}, {lng: 120.6772862, lat: 24.1212222}, {lng: 120.6772835, lat: 24.1213128}, {lng: 120.6770649, lat: 24.1213146}, {lng: 120.6770642, lat: 24.1212234}],
[{lng: 120.6773438, lat: 24.1210992}, {lng: 120.6773445, lat: 24.120874}, {lng: 120.6772406, lat: 24.1208746}, {lng: 120.6772386, lat: 24.1206879}, {lng: 120.6778689, lat: 24.120691}, {lng: 120.6778708, lat: 24.1209793}, {lng: 120.6775175, lat: 24.1209786}, {lng: 120.6775175, lat: 24.121098}, {lng: 120.6773438, lat: 24.1210992}],
[{lng: 120.6774136, lat: 24.1205912}, {lng: 120.6774122, lat: 24.1204364}, {lng: 120.6778112, lat: 24.1204388}, {lng: 120.6778099, lat: 24.1204982}, {lng: 120.6777951, lat: 24.1204982}, {lng: 120.6777964, lat: 24.1205912}, {lng: 120.6774136, lat: 24.1205912}],
[{lng: 120.6773338, lat: 24.1205974}, {lng: 120.6773009, lat: 24.120598}, {lng: 120.6773009, lat: 24.1206194}, {lng: 120.6771373, lat: 24.1206194}, {lng: 120.677138, lat: 24.1206004}, {lng: 120.6770448, lat: 24.120598}, {lng: 120.6769864, lat: 24.1206482}, {lng: 120.6770092, lat: 24.1206475}, {lng: 120.6770092, lat: 24.1207681}, {lng: 120.6769878, lat: 24.1207681}, {lng: 120.6769878, lat: 24.1207993}, {lng: 120.6768094, lat: 24.1207993}, {lng: 120.6768094, lat: 24.1207816}, {lng: 120.6767826, lat: 24.1207816}, {lng: 120.6767806, lat: 24.120437}, {lng: 120.6768463, lat: 24.1204376}, {lng: 120.6768463, lat: 24.1204205}, {lng: 120.6770381, lat: 24.1204216}, {lng: 120.6770374, lat: 24.120404}, {lng: 120.6769985, lat: 24.120404}, {lng: 120.6769978, lat: 24.120314}, {lng: 120.677144, lat: 24.120314}, {lng: 120.677144, lat: 24.120404}, {lng: 120.6771044, lat: 24.1204034}, {lng: 120.6771038, lat: 24.1204217}, {lng: 120.6773338, lat: 24.1204223}, {lng: 120.6773338, lat: 24.1205974}],
[{lng: 120.676863, lat: 24.1200863}, {lng: 120.6768651, lat: 24.1200478}, {lng: 120.6768443, lat: 24.1200478}, {lng: 120.6768429, lat: 24.1199756}, {lng: 120.6768657, lat: 24.1199756}, {lng: 120.6768644, lat: 24.1199346}, {lng: 120.6770226, lat: 24.1199352}, {lng: 120.677022, lat: 24.1199633}, {lng: 120.6772345, lat: 24.1199645}, {lng: 120.6772339, lat: 24.119926}, {lng: 120.6773251, lat: 24.1199266}, {lng: 120.6773251, lat: 24.1199639}, {lng: 120.6775162, lat: 24.1199652}, {lng: 120.6775155, lat: 24.1199315}, {lng: 120.6776965, lat: 24.1199315}, {lng: 120.6776959, lat: 24.1199652}, {lng: 120.6777187, lat: 24.1199652}, {lng: 120.6777187, lat: 24.1200398}, {lng: 120.6776992, lat: 24.1200398}, {lng: 120.6776992, lat: 24.1200876}, {lng: 120.6773304, lat: 24.1200869}, {lng: 120.6773297, lat: 24.1201402}, {lng: 120.6772285, lat: 24.1201402}, {lng: 120.6772285, lat: 24.1200869}, {lng: 120.676863, lat: 24.1200863}],
[{lng: 120.6775946, lat: 24.1193317}, {lng: 120.6777897, lat: 24.1193299}, {lng: 120.6777951, lat: 24.1197516}, {lng: 120.6776047, lat: 24.119754}, {lng: 120.6775946, lat: 24.1193317}],
[{lng: 120.6783295, lat: 24.1229401}, {lng: 120.6783295, lat: 24.1228734}, {lng: 120.678357, lat: 24.1228734}, {lng: 120.6783577, lat: 24.1228226}, {lng: 120.6783725, lat: 24.1228232}, {lng: 120.6783725, lat: 24.1227957}, {lng: 120.6783959, lat: 24.1227957}, {lng: 120.6783959, lat: 24.1227724}, {lng: 120.6784523, lat: 24.1227718}, {lng: 120.6784529, lat: 24.1228091}, {lng: 120.6784637, lat: 24.1228091}, {lng: 120.6784643, lat: 24.1228299}, {lng: 120.6784878, lat: 24.1228299}, {lng: 120.6784891, lat: 24.1228832}, {lng: 120.6785019, lat: 24.1228826}, {lng: 120.6785012, lat: 24.1227724}, {lng: 120.6787614, lat: 24.12277}, {lng: 120.6787627, lat: 24.1228734}, {lng: 120.6788365, lat: 24.1228734}, {lng: 120.6788378, lat: 24.1230037}, {lng: 120.6788023, lat: 24.1230037}, {lng: 120.6788023, lat: 24.1230417}, {lng: 120.6785656, lat: 24.1230417}, {lng: 120.6785676, lat: 24.1231212}, {lng: 120.6781183, lat: 24.1231261}, {lng: 120.678119, lat: 24.1230906}, {lng: 120.6781002, lat: 24.1230906}, {lng: 120.6781002, lat: 24.1230564}, {lng: 120.678117, lat: 24.1230564}, {lng: 120.678117, lat: 24.1230417}, {lng: 120.678068, lat: 24.1230423}, {lng: 120.6780674, lat: 24.1230141}, {lng: 120.6781042, lat: 24.1230141}, {lng: 120.6781042, lat: 24.1229842}, {lng: 120.6783772, lat: 24.1229817}, {lng: 120.6783772, lat: 24.1229676}, {lng: 120.6783966, lat: 24.1229676}, {lng: 120.6783966, lat: 24.1229529}, {lng: 120.6783845, lat: 24.1229517}, {lng: 120.6783852, lat: 24.1229413}, {lng: 120.6783295, lat: 24.1229401}],
[{lng: 120.6781606, lat: 24.1226928}, {lng: 120.67816, lat: 24.1225974}, {lng: 120.6784798, lat: 24.122598}, {lng: 120.6784798, lat: 24.1225778}, {lng: 120.6788344, lat: 24.1225784}, {lng: 120.6788344, lat: 24.1226941}, {lng: 120.6781606, lat: 24.1226928}],
[{lng: 120.6787721, lat: 24.1232957}, {lng: 120.6787708, lat: 24.1231867}, {lng: 120.6788827, lat: 24.1231873}, {lng: 120.6788834, lat: 24.1231267}, {lng: 120.679043, lat: 24.1231286}, {lng: 120.679041, lat: 24.1232975}, {lng: 120.6787721, lat: 24.1232957}],
[{lng: 120.6781632, lat: 24.1224389}, {lng: 120.6781619, lat: 24.1223563}, {lng: 120.6784704, lat: 24.1223587}, {lng: 120.6784697, lat: 24.122311}, {lng: 120.6788358, lat: 24.1223134}, {lng: 120.6788365, lat: 24.1224364}, {lng: 120.6787198, lat: 24.1224364}, {lng: 120.6787198, lat: 24.122426}, {lng: 120.6784751, lat: 24.1224248}, {lng: 120.6784744, lat: 24.1224401}, {lng: 120.6781632, lat: 24.1224389}],
[{lng: 120.6789109, lat: 24.1225368}, {lng: 120.6789129, lat: 24.1221935}, {lng: 120.678931, lat: 24.1221941}, {lng: 120.6789317, lat: 24.1221482}, {lng: 120.6789545, lat: 24.1221488}, {lng: 120.6789545, lat: 24.1221188}, {lng: 120.6790142, lat: 24.1221194}, {lng: 120.6790135, lat: 24.1221053}, {lng: 120.6791215, lat: 24.1221059}, {lng: 120.6791208, lat: 24.1221818}, {lng: 120.6791322, lat: 24.1221806}, {lng: 120.6791309, lat: 24.1226084}, {lng: 120.6791208, lat: 24.1226084}, {lng: 120.6791208, lat: 24.1226476}, {lng: 120.6790262, lat: 24.1226494}, {lng: 120.6790262, lat: 24.1226543}, {lng: 120.6789927, lat: 24.1226543}, {lng: 120.6789927, lat: 24.1226494}, {lng: 120.678927, lat: 24.1226494}, {lng: 120.678927, lat: 24.1226127}, {lng: 120.6789183, lat: 24.1226127}, {lng: 120.6789176, lat: 24.1225368}, {lng: 120.6789109, lat: 24.1225368}],
[{lng: 120.6785166, lat: 24.1218201}, {lng: 120.6786823, lat: 24.1218214}, {lng: 120.6786829, lat: 24.1218091}, {lng: 120.6788392, lat: 24.1218091}, {lng: 120.6788392, lat: 24.1218924}, {lng: 120.678815, lat: 24.1218924}, {lng: 120.678815, lat: 24.1219676}, {lng: 120.6788559, lat: 24.1219682}, {lng: 120.6788546, lat: 24.1221219}, {lng: 120.678644, lat: 24.1221212}, {lng: 120.678644, lat: 24.1222167}, {lng: 120.6781197, lat: 24.122213}, {lng: 120.678119, lat: 24.1220864}, {lng: 120.6781492, lat: 24.122087}, {lng: 120.6781498, lat: 24.1220515}, {lng: 120.6782055, lat: 24.1220521}, {lng: 120.6782048, lat: 24.1219756}, {lng: 120.6785153, lat: 24.121978}, {lng: 120.6785166, lat: 24.1218201}],
[{lng: 120.6787433, lat: 24.1217626}, {lng: 120.678744, lat: 24.1217087}, {lng: 120.6781539, lat: 24.1217076}, {lng: 120.6781525, lat: 24.121571}, {lng: 120.6787392, lat: 24.1215711}, {lng: 120.6787392, lat: 24.1215405}, {lng: 120.6788405, lat: 24.1215411}, {lng: 120.6788411, lat: 24.1217614}, {lng: 120.6787433, lat: 24.1217626}],
[{lng: 120.6781478, lat: 24.1213103}, {lng: 120.6781424, lat: 24.121027}, {lng: 120.6782364, lat: 24.1210294}, {lng: 120.678239, lat: 24.121213}, {lng: 120.678703, lat: 24.1212124}, {lng: 120.6787017, lat: 24.1210343}, {lng: 120.6788022, lat: 24.1210337}, {lng: 120.6788043, lat: 24.1213085}, {lng: 120.6785267, lat: 24.1213091}, {lng: 120.6785267, lat: 24.1213342}, {lng: 120.6784254, lat: 24.1213342}, {lng: 120.6784254, lat: 24.1213091}, {lng: 120.6781478, lat: 24.1213103}],
[{lng: 120.6788291, lat: 24.1209603}, {lng: 120.6788278, lat: 24.1208856}, {lng: 120.6790578, lat: 24.1208838}, {lng: 120.6790584, lat: 24.1209584}, {lng: 120.6788291, lat: 24.1209603}],
[{lng: 120.678172, lat: 24.120549}, {lng: 120.6781713, lat: 24.1205049}, {lng: 120.678406, lat: 24.1205019}, {lng: 120.6784154, lat: 24.1204903}, {lng: 120.6784261, lat: 24.1204835}, {lng: 120.6784388, lat: 24.1204817}, {lng: 120.6784516, lat: 24.1204848}, {lng: 120.6784637, lat: 24.1204909}, {lng: 120.6784724, lat: 24.1205025}, {lng: 120.6786977, lat: 24.1205013}, {lng: 120.6786977, lat: 24.1205435}, {lng: 120.678746, lat: 24.1205435}, {lng: 120.678746, lat: 24.1205294}, {lng: 120.678758, lat: 24.120519}, {lng: 120.6787748, lat: 24.120519}, {lng: 120.6787895, lat: 24.1205276}, {lng: 120.6787909, lat: 24.1206169}, {lng: 120.6791141, lat: 24.1206127}, {lng: 120.6791141, lat: 24.1207559}, {lng: 120.6787929, lat: 24.1207583}, {lng: 120.6787929, lat: 24.1208146}, {lng: 120.6787882, lat: 24.1208238}, {lng: 120.6787781, lat: 24.1208324}, {lng: 120.6787627, lat: 24.1208318}, {lng: 120.6787553, lat: 24.1208275}, {lng: 120.67875, lat: 24.1208189}, {lng: 120.6787446, lat: 24.1208073}, {lng: 120.6787044, lat: 24.1208073}, {lng: 120.6787037, lat: 24.1208477}, {lng: 120.6781753, lat: 24.1208507}, {lng: 120.6781746, lat: 24.1208128}, {lng: 120.6781552, lat: 24.1208165}, {lng: 120.6781465, lat: 24.1208146}, {lng: 120.6781358, lat: 24.1208085}, {lng: 120.678129, lat: 24.1207956}, {lng: 120.6781277, lat: 24.120557}, {lng: 120.6781344, lat: 24.1205484}, {lng: 120.6781445, lat: 24.1205441}, {lng: 120.6781592, lat: 24.1205441}, {lng: 120.678172, lat: 24.120549}],
[{lng: 120.6781733, lat: 24.1199743}, {lng: 120.678172, lat: 24.1197822}, {lng: 120.6782088, lat: 24.1197834}, {lng: 120.6782082, lat: 24.1197461}, {lng: 120.6785019, lat: 24.1197448}, {lng: 120.6785019, lat: 24.1197828}, {lng: 120.6788506, lat: 24.1197809}, {lng: 120.6788499, lat: 24.1197638}, {lng: 120.6788874, lat: 24.1197632}, {lng: 120.6788874, lat: 24.1197809}, {lng: 120.6790169, lat: 24.1197834}, {lng: 120.6790169, lat: 24.1199798}, {lng: 120.6781733, lat: 24.1199743}],
[{lng: 120.6781465, lat: 24.1194792}, {lng: 120.6781438, lat: 24.1193243}, {lng: 120.6784797, lat: 24.1193231}, {lng: 120.6784824, lat: 24.1194975}, {lng: 120.6783946, lat: 24.1194995}, {lng: 120.6783939, lat: 24.1195177}, {lng: 120.6783866, lat: 24.1195263}, {lng: 120.6783758, lat: 24.1195294}, {lng: 120.6783624, lat: 24.119527}, {lng: 120.6783544, lat: 24.1195184}, {lng: 120.6783523, lat: 24.1194988}, {lng: 120.6781841, lat: 24.1195006}, {lng: 120.6781841, lat: 24.1194774}, {lng: 120.6781465, lat: 24.1194792}],
[{lng: 120.6785535, lat: 24.1194186}, {lng: 120.6785542, lat: 24.1193403}, {lng: 120.6787527, lat: 24.1193385}, {lng: 120.6787553, lat: 24.1195227}, {lng: 120.6785548, lat: 24.1195245}, {lng: 120.6785542, lat: 24.1194431}, {lng: 120.6785267, lat: 24.1194437}, {lng: 120.678526, lat: 24.1194186}, {lng: 120.6785535, lat: 24.1194186}],
[{lng: 120.6724897, lat: 24.1235386}, {lng: 120.6724924, lat: 24.1232889}, {lng: 120.6727042, lat: 24.1232889}, {lng: 120.6726211, lat: 24.123235}, {lng: 120.6727606, lat: 24.1231347}, {lng: 120.6728223, lat: 24.1231812}, {lng: 120.6728035, lat: 24.1232277}, {lng: 120.6728089, lat: 24.123262}, {lng: 120.6728196, lat: 24.1233011}, {lng: 120.6728866, lat: 24.1233011}, {lng: 120.6729269, lat: 24.1233501}, {lng: 120.6734097, lat: 24.1233476}, {lng: 120.6734097, lat: 24.123445}, {lng: 120.6734043, lat: 24.1235448}, {lng: 120.6733366, lat: 24.123549}, {lng: 120.6733373, lat: 24.1236084}, {lng: 120.6725547, lat: 24.1236071}, {lng: 120.6725534, lat: 24.1235411}, {lng: 120.6724897, lat: 24.1235386}],
[{lng: 120.6724937, lat: 24.1229187}, {lng: 120.6724951, lat: 24.1228171}, {lng: 120.6724783, lat: 24.1228165}, {lng: 120.672479, lat: 24.1227198}, {lng: 120.672491, lat: 24.1227192}, {lng: 120.672491, lat: 24.1227069}, {lng: 120.6730516, lat: 24.1227063}, {lng: 120.6730516, lat: 24.1227179}, {lng: 120.6730744, lat: 24.1227192}, {lng: 120.6730758, lat: 24.1228171}, {lng: 120.6730489, lat: 24.122817}, {lng: 120.6730483, lat: 24.1228593}, {lng: 120.673061, lat: 24.1228599}, {lng: 120.6730617, lat: 24.1229211}, {lng: 120.6724937, lat: 24.1229187}],
[{lng: 120.6723576, lat: 24.1220638}, {lng: 120.6723583, lat: 24.1220239}, {lng: 120.6723415, lat: 24.1220233}, {lng: 120.6723428, lat: 24.1216305}, {lng: 120.6723589, lat: 24.1216304}, {lng: 120.672361, lat: 24.1215882}, {lng: 120.6724549, lat: 24.12159}, {lng: 120.6724555, lat: 24.1215778}, {lng: 120.6727003, lat: 24.1215808}, {lng: 120.6727003, lat: 24.1216041}, {lng: 120.6727632, lat: 24.1216047}, {lng: 120.6727632, lat: 24.1216616}, {lng: 120.6728096, lat: 24.1216604}, {lng: 120.6728079, lat: 24.1217718}, {lng: 120.672884, lat: 24.1217718}, {lng: 120.672884, lat: 24.121882}, {lng: 120.6728116, lat: 24.1218826}, {lng: 120.6728116, lat: 24.1219909}, {lng: 120.6727606, lat: 24.1219909}, {lng: 120.6727606, lat: 24.1220454}, {lng: 120.6727016, lat: 24.1220447}, {lng: 120.6727016, lat: 24.1220717}, {lng: 120.6724649, lat: 24.1220741}, {lng: 120.6724649, lat: 24.1220626}, {lng: 120.6723576, lat: 24.1220638}],
[{lng: 120.6723006, lat: 24.1201658}, {lng: 120.6723127, lat: 24.1196096}, {lng: 120.672587, lat: 24.1193439}, {lng: 120.6734975, lat: 24.119344}, {lng: 120.6734982, lat: 24.1194713}, {lng: 120.6734412, lat: 24.1194707}, {lng: 120.6734419, lat: 24.1195429}, {lng: 120.6728149, lat: 24.1195441}, {lng: 120.6725366, lat: 24.119803}, {lng: 120.672534, lat: 24.1200913}, {lng: 120.6724837, lat: 24.1200906}, {lng: 120.6724843, lat: 24.1201634}, {lng: 120.6723006, lat: 24.1201658}],
[{lng: 120.6726828, lat: 24.1211182}, {lng: 120.6728062, lat: 24.1211182}, {lng: 120.6728062, lat: 24.1210888}, {lng: 120.6731878, lat: 24.1210889}, {lng: 120.6731897, lat: 24.1210337}, {lng: 120.6731274, lat: 24.1210337}, {lng: 120.6731281, lat: 24.1206824}, {lng: 120.6731871, lat: 24.12068}, {lng: 120.6731877, lat: 24.1205428}, {lng: 120.6730771, lat: 24.1205428}, {lng: 120.6730771, lat: 24.1205723}, {lng: 120.6728035, lat: 24.1205722}, {lng: 120.6728042, lat: 24.1205404}, {lng: 120.6726902, lat: 24.120541}, {lng: 120.6726882, lat: 24.1204107}, {lng: 120.6733198, lat: 24.1204052}, {lng: 120.6733199, lat: 24.1204786}, {lng: 120.6733413, lat: 24.1204799}, {lng: 120.6733413, lat: 24.1205276}, {lng: 120.6733876, lat: 24.120527}, {lng: 120.6733902, lat: 24.1211249}, {lng: 120.6733386, lat: 24.1211274}, {lng: 120.6733399, lat: 24.1211708}, {lng: 120.6733205, lat: 24.121172}, {lng: 120.6733205, lat: 24.1212693}, {lng: 120.6732461, lat: 24.1212687}, {lng: 120.6732488, lat: 24.1212553}, {lng: 120.6726841, lat: 24.1212535}, {lng: 120.6726828, lat: 24.1211182}],
[{lng: 120.6786145, lat: 24.1182491}, {lng: 120.6786172, lat: 24.1180826}, {lng: 120.6790276, lat: 24.1180838}, {lng: 120.6790276, lat: 24.1183029}, {lng: 120.6790799, lat: 24.1183042}, {lng: 120.6790785, lat: 24.1183984}, {lng: 120.6790276, lat: 24.1183984}, {lng: 120.6790262, lat: 24.1184596}, {lng: 120.6788868, lat: 24.1184584}, {lng: 120.6788895, lat: 24.1182503}, {lng: 120.6786145, lat: 24.1182491}],
[{lng: 120.6780828, lat: 24.118571}, {lng: 120.6782538, lat: 24.118571}, {lng: 120.6782538, lat: 24.118623}, {lng: 120.6784127, lat: 24.1186248}, {lng: 120.6784125, lat: 24.1185734}, {lng: 120.6783379, lat: 24.1185728}, {lng: 120.6783362, lat: 24.1184688}, {lng: 120.6783892, lat: 24.1184694}, {lng: 120.6783886, lat: 24.1184559}, {lng: 120.6785334, lat: 24.1184565}, {lng: 120.6785327, lat: 24.1184694}, {lng: 120.6785683, lat: 24.1184688}, {lng: 120.6785669, lat: 24.1185741}, {lng: 120.6784952, lat: 24.1185734}, {lng: 120.6784952, lat: 24.1186224}, {lng: 120.6786608, lat: 24.1186243}, {lng: 120.6786615, lat: 24.1185679}, {lng: 120.6788331, lat: 24.1185692}, {lng: 120.6788325, lat: 24.118743}, {lng: 120.6780814, lat: 24.1187405}, {lng: 120.6780828, lat: 24.118571}],
[{lng: 120.6782001, lat: 24.1182319}, {lng: 120.6782001, lat: 24.1180257}, {lng: 120.6784831, lat: 24.1180257}, {lng: 120.6784831, lat: 24.1180373}, {lng: 120.6784992, lat: 24.1180379}, {lng: 120.6785005, lat: 24.1180704}, {lng: 120.67853, lat: 24.1180691}, {lng: 120.6785367, lat: 24.1180973}, {lng: 120.6785408, lat: 24.1181322}, {lng: 120.6785421, lat: 24.1181628}, {lng: 120.6785388, lat: 24.1181897}, {lng: 120.6785327, lat: 24.1182093}, {lng: 120.6785274, lat: 24.1182234}, {lng: 120.6785032, lat: 24.1182246}, {lng: 120.6785039, lat: 24.1182326}, {lng: 120.6784502, lat: 24.1182326}, {lng: 120.6784496, lat: 24.1182717}, {lng: 120.6783912, lat: 24.1182736}, {lng: 120.6783912, lat: 24.1183256}, {lng: 120.6782846, lat: 24.1183262}, {lng: 120.6782853, lat: 24.1182319}, {lng: 120.6782001, lat: 24.1182319}],
[{lng: 120.6781022, lat: 24.1180698}, {lng: 120.6781016, lat: 24.1181071}, {lng: 120.6781599, lat: 24.1181071}, {lng: 120.6781592, lat: 24.1182283}, {lng: 120.6781016, lat: 24.1182283}, {lng: 120.6781002, lat: 24.1182986}, {lng: 120.6779956, lat: 24.1182986}, {lng: 120.6779963, lat: 24.1182277}, {lng: 120.6777649, lat: 24.1182277}, {lng: 120.6777629, lat: 24.1180673}, {lng: 120.6781022, lat: 24.1180698}],
[{lng: 120.6765747, lat: 24.1187947}, {lng: 120.676574, lat: 24.1188299}, {lng: 120.6766042, lat: 24.1188305}, {lng: 120.6766029, lat: 24.1188837}, {lng: 120.6765908, lat: 24.1188831}, {lng: 120.6765901, lat: 24.1189186}, {lng: 120.6763695, lat: 24.1189186}, {lng: 120.6763695, lat: 24.1189302}, {lng: 120.6763065, lat: 24.118929}, {lng: 120.6763085, lat: 24.1187907}, {lng: 120.6765747, lat: 24.1187947}],
[{lng: 120.6762254, lat: 24.1187448}, {lng: 120.6762475, lat: 24.1178555}, {lng: 120.6766183, lat: 24.1178629}, {lng: 120.6765948, lat: 24.1187515}, {lng: 120.6762254, lat: 24.1187448}],
[{lng: 120.6755555, lat: 24.1187069}, {lng: 120.6755562, lat: 24.1180471}, {lng: 120.6760852, lat: 24.1180477}, {lng: 120.6760852, lat: 24.1187093}, {lng: 120.6755555, lat: 24.1187069}],
[{lng: 120.6768577, lat: 24.1188899}, {lng: 120.676857, lat: 24.1188978}, {lng: 120.6767518, lat: 24.1188978}, {lng: 120.6767518, lat: 24.118888}, {lng: 120.6767021, lat: 24.118888}, {lng: 120.6767008, lat: 24.1188011}, {lng: 120.6766585, lat: 24.1188011}, {lng: 120.6766599, lat: 24.1185563}, {lng: 120.6769436, lat: 24.1185557}, {lng: 120.6769442, lat: 24.1187987}, {lng: 120.6769133, lat: 24.1187999}, {lng: 120.676912, lat: 24.1188887}, {lng: 120.6768577, lat: 24.1188899}],
[{lng: 120.6718728, lat: 24.1188109}, {lng: 120.6718694, lat: 24.1186757}, {lng: 120.6725071, lat: 24.1186677}, {lng: 120.6725098, lat: 24.118806}, {lng: 120.6718728, lat: 24.1188109}],
[{lng: 120.6718694, lat: 24.1184137}, {lng: 120.6718675, lat: 24.1182717}, {lng: 120.6724964, lat: 24.1182699}, {lng: 120.672499, lat: 24.1184094}, {lng: 120.6718694, lat: 24.1184137}],
[{lng: 120.6718681, lat: 24.1180435}, {lng: 120.6718668, lat: 24.1179032}, {lng: 120.6724937, lat: 24.1178978}, {lng: 120.6724957, lat: 24.1180385}, {lng: 120.6718681, lat: 24.1180435}],
[{lng: 120.6718654, lat: 24.1176989}, {lng: 120.6718647, lat: 24.1175587}, {lng: 120.672489, lat: 24.1175526}, {lng: 120.672491, lat: 24.1176921}, {lng: 120.6718654, lat: 24.1176989}],
[{lng: 120.6718594, lat: 24.117347}, {lng: 120.6718587, lat: 24.1172049}, {lng: 120.6719425, lat: 24.1172037}, {lng: 120.6719412, lat: 24.1170513}, {lng: 120.6720948, lat: 24.1170501}, {lng: 120.6720961, lat: 24.117205}, {lng: 120.6722349, lat: 24.1172037}, {lng: 120.6722349, lat: 24.1171829}, {lng: 120.67266, lat: 24.117178}, {lng: 120.6726628, lat: 24.1173206}, {lng: 120.6722671, lat: 24.1173225}, {lng: 120.6722677, lat: 24.1173433}, {lng: 120.6718594, lat: 24.117347}],
[{lng: 120.6802688, lat: 24.1236463}, {lng: 120.6802681, lat: 24.123538}, {lng: 120.6803727, lat: 24.1235392}, {lng: 120.6803748, lat: 24.1236463}, {lng: 120.6802688, lat: 24.1236463}],
[{lng: 120.6796579, lat: 24.1233342}, {lng: 120.6796559, lat: 24.1232357}, {lng: 120.6796975, lat: 24.1232351}, {lng: 120.6797108, lat: 24.1232204}, {lng: 120.6799355, lat: 24.1232185}, {lng: 120.6799355, lat: 24.1232369}, {lng: 120.6800133, lat: 24.1232375}, {lng: 120.6800133, lat: 24.1232204}, {lng: 120.6802406, lat: 24.1232185}, {lng: 120.680254, lat: 24.1232277}, {lng: 120.6802909, lat: 24.1232283}, {lng: 120.6802909, lat: 24.1233281}, {lng: 120.6802553, lat: 24.1233281}, {lng: 120.680242, lat: 24.1233409}, {lng: 120.6797116, lat: 24.123344}, {lng: 120.6796988, lat: 24.1233342}, {lng: 120.6796579, lat: 24.1233342}],
[{lng: 120.6804867, lat: 24.1233201}, {lng: 120.6804874, lat: 24.1232332}, {lng: 120.6805443, lat: 24.1232333}, {lng: 120.6805444, lat: 24.1232216}, {lng: 120.6809554, lat: 24.1232271}, {lng: 120.6809548, lat: 24.1232338}, {lng: 120.6810071, lat: 24.1232351}, {lng: 120.6810077, lat: 24.1233195}, {lng: 120.6804867, lat: 24.1233201}],
[{lng: 120.6796418, lat: 24.1230343}, {lng: 120.6796392, lat: 24.1228673}, {lng: 120.6796679, lat: 24.1228673}, {lng: 120.6796653, lat: 24.1227601}, {lng: 120.6798316, lat: 24.1227577}, {lng: 120.6798316, lat: 24.1227706}, {lng: 120.6798369, lat: 24.1227706}, {lng: 120.6798369, lat: 24.1227846}, {lng: 120.6798946, lat: 24.1227846}, {lng: 120.6798946, lat: 24.1228067}, {lng: 120.6799322, lat: 24.1228067}, {lng: 120.6799335, lat: 24.1229719}, {lng: 120.679839, lat: 24.1229725}, {lng: 120.679837, lat: 24.1228489}, {lng: 120.679733, lat: 24.1228507}, {lng: 120.6797364, lat: 24.1230349}, {lng: 120.6796418, lat: 24.1230343}],
[{lng: 120.6805484, lat: 24.1236255}, {lng: 120.6805471, lat: 24.1235411}, {lng: 120.6805155, lat: 24.1235405}, {lng: 120.6805155, lat: 24.1235221}, {lng: 120.6804901, lat: 24.1235227}, {lng: 120.6804894, lat: 24.123508}, {lng: 120.6804619, lat: 24.1235074}, {lng: 120.6804619, lat: 24.1234297}, {lng: 120.6805396, lat: 24.1234291}, {lng: 120.6805404, lat: 24.1234456}, {lng: 120.6805867, lat: 24.1234456}, {lng: 120.680586, lat: 24.1234272}, {lng: 120.6808159, lat: 24.123426}, {lng: 120.6808146, lat: 24.123508}, {lng: 120.6808622, lat: 24.1235074}, {lng: 120.6808635, lat: 24.1234982}, {lng: 120.6810131, lat: 24.1234964}, {lng: 120.6810131, lat: 24.1236121}, {lng: 120.6808763, lat: 24.1236121}, {lng: 120.6808756, lat: 24.1236255}, {lng: 120.6808233, lat: 24.1236261}, {lng: 120.6808233, lat: 24.1236139}, {lng: 120.6806027, lat: 24.1236114}, {lng: 120.6806027, lat: 24.1236255}, {lng: 120.6805484, lat: 24.1236255}],
[{lng: 120.6804666, lat: 24.1229058}, {lng: 120.6805564, lat: 24.122907}, {lng: 120.6805564, lat: 24.1228856}, {lng: 120.6808917, lat: 24.122885}, {lng: 120.6808897, lat: 24.1230417}, {lng: 120.6807824, lat: 24.1230435}, {lng: 120.6807818, lat: 24.1230551}, {lng: 120.6807643, lat: 24.1230674}, {lng: 120.6807462, lat: 24.1230551}, {lng: 120.6807476, lat: 24.1229762}, {lng: 120.6805853, lat: 24.1229762}, {lng: 120.680586, lat: 24.1229829}, {lng: 120.6805685, lat: 24.1229982}, {lng: 120.6805618, lat: 24.1229982}, {lng: 120.6805598, lat: 24.1231035}, {lng: 120.6804653, lat: 24.1231023}, {lng: 120.6804666, lat: 24.1229058}],
[{lng: 120.6804994, lat: 24.1228183}, {lng: 120.6804981, lat: 24.122642}, {lng: 120.6805645, lat: 24.122642}, {lng: 120.6805638, lat: 24.1225815}, {lng: 120.6807596, lat: 24.1225796}, {lng: 120.6807596, lat: 24.1226647}, {lng: 120.6805973, lat: 24.1226653}, {lng: 120.6806, lat: 24.1228183}, {lng: 120.6804994, lat: 24.1228183}],
[{lng: 120.6801803, lat: 24.1226102}, {lng: 120.6801883, lat: 24.1226053}, {lng: 120.6802017, lat: 24.1226078}, {lng: 120.6802071, lat: 24.1226157}, {lng: 120.6802212, lat: 24.1226053}, {lng: 120.6802379, lat: 24.1225845}, {lng: 120.6802534, lat: 24.1225784}, {lng: 120.6802795, lat: 24.122579}, {lng: 120.6802942, lat: 24.1225894}, {lng: 120.680303, lat: 24.1226102}, {lng: 120.6803003, lat: 24.1226292}, {lng: 120.6802922, lat: 24.1226408}, {lng: 120.6802775, lat: 24.1226488}, {lng: 120.6802084, lat: 24.1226531}, {lng: 120.6802091, lat: 24.1226959}, {lng: 120.6803848, lat: 24.1226941}, {lng: 120.6803848, lat: 24.122784}, {lng: 120.6801709, lat: 24.1227859}, {lng: 120.6801715, lat: 24.1227418}, {lng: 120.6801662, lat: 24.1227424}, {lng: 120.6801541, lat: 24.1227498}, {lng: 120.6801441, lat: 24.1227516}, {lng: 120.6801293, lat: 24.1227443}, {lng: 120.6801286, lat: 24.1226592}, {lng: 120.6799503, lat: 24.1226592}, {lng: 120.6799503, lat: 24.1225729}, {lng: 120.6801642, lat: 24.1225729}, {lng: 120.6801642, lat: 24.1226102}, {lng: 120.6801803, lat: 24.1226102}]
];
// 【P.1版】增加一個陣列記錄全部建物名稱,套用資料來自於【1.2版】的全部座標彙整
var polyNames = [ '惠蓀堂',
'化工暨材料大樓',
'電機大樓',
'結構蛋白體中心',
'生命科學大樓',
'應用科技大樓',
'農環大樓',
'精密所',
'作物科學大樓',
'行政大樓',
'圖書館',
'學生活動中心',
'小禮堂',
'土壤調查試驗中心',
'金屬材料研發中心',
'水資源保育及防災研究中心',
'森林二館',
'森林館',
'水保一館',
'水保二館',
'資訊科學大樓',
'理學院大樓',
'遺傳中心',
'化學系館',
'機械館',
'創新育成中心',
'國農大樓',
'應用經濟系二館A棟',
'應用經濟系二館B棟',
'生物科技學研究所',
'動植物防檢疫大樓',
'食品暨生物科技大樓',
'食品加工廠',
'應用經濟系一館',
'水工實驗室',
'土木環工大樓',
'生物產業機電大樓',
'機械二館',
'混凝土科技大樓',
'人文大樓',
'萬年樓',
'綜合教學大樓',
'雲平樓',
'社管大樓',
'獸醫教學醫院',
'動科系館',
'動物疾病診斷中心',
'獸醫館',
'作物實習館',
'室內游泳池',
'體育館',
'動物醫學研究中心',
'男生宿舍仁齋',
'男生宿舍義齋',
'男生宿舍禮齋',
'男生宿舍智齋',
'男生宿舍信齋',
'女生宿舍服務中心',
'女生宿舍勤軒',
'女生宿舍華軒',
'教職員宿舍A棟',
'女生宿舍樸軒',
'女生宿舍怡軒',
'學人宿舍',
'教職員宿舍B棟'];
//【P.0版】+【P.1版】////////////////////////////////////////////////////
// 以迴圈逐一畫出每一棟建築物所在的平面多邊形
for (var i = 0; i < polyCoords.length; i++) {
// Construct the polygon.
var building = new google.maps.Polygon({
paths: polyCoords[i], //【P.1版】第i個多邊形的座標資料
strokeColor: '#FF0000',
strokeOpacity: 0.8,
strokeWeight: 2,
fillColor: '#FF0000',
fillOpacity: 0.35
});
building.setMap(map);
// 將監聽事件獨立成一個函式執行
listenPolygon(building,polyNames,i); //【P.1版】監聽第i個多邊形被點擊
}
/////////////////////////////////////////////////////////////////////////
}
// 將標記監聽事件獨立成一個函式執行
function listenPolygon(building,polyNames,i) {
// 下列監聽事件語法參考自 http://stackoverflow.com/questions/12828044/?answertab=votes#tab-top
google.maps.event.addListener(building,'click',function(evt) {
//【P.1版】監聽第i棟建築物被點擊就再多加polyNames[i]資料的呈現
document.getElementById("msg").innerHTML = polyNames[i] + ": " + evt.latLng.lat() + ', ' + evt.latLng.lng();
});
}
</script>
<script async defer
src="https://maps.googleapis.com/maps/api/js?callback=initMap"></script>
</body>
</html>
Output
You can jump to the latest bin by adding /latest
to your URL
Keyboard Shortcuts
Shortcut | Action |
---|---|
ctrl + [num] | Toggle nth panel |
ctrl + 0 | Close focused panel |
ctrl + enter | Re-render output. If console visible: run JS in console |
Ctrl + l | Clear the console |
ctrl + / | Toggle comment on selected lines |
ctrl + ] | Indents selected lines |
ctrl + [ | Unindents selected lines |
tab | Code complete & Emmet expand |
ctrl + shift + L | Beautify code in active panel |
ctrl + s | Save & lock current Bin from further changes |
ctrl + shift + s | Open the share options |
ctrl + y | Archive Bin |
Complete list of JS Bin shortcuts |
JS Bin URLs
URL | Action |
---|---|
/ | Show the full rendered output. This content will update in real time as it's updated from the /edit url. |
/edit | Edit the current bin |
/watch | Follow a Code Casting session |
/embed | Create an embeddable version of the bin |
/latest | Load the very latest bin (/latest goes in place of the revision) |
/[username]/last | View the last edited bin for this user |
/[username]/last/edit | Edit the last edited bin for this user |
/[username]/last/watch | Follow the Code Casting session for the latest bin for this user |
/quiet | Remove analytics and edit button from rendered output |
.js | Load only the JavaScript for a bin |
.css | Load only the CSS for a bin |
Except for username prefixed urls, the url may start with http://jsbin.com/abc and the url fragments can be added to the url to view it differently. |