-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
126 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ | |
<link rel="stylesheet" href="https://unpkg.com/leaflet.markercluster/dist/MarkerCluster.Default.css" /> | ||
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script> | ||
<script src="https://unpkg.com/leaflet.markercluster/dist/leaflet.markercluster.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@turf/turf@7/turf.min.js"></script> | ||
<script src="custom_heatmap_leaflet.js"></script> | ||
<script src="kdtree.js"></script> | ||
<script src="filesaver.js"></script> | ||
|
@@ -163,7 +164,7 @@ | |
</div> | ||
|
||
<div class="field"> | ||
<label class="label" for="maxInterchanges">最多轉車次數 (鐵路除外)<br>Max Interchanges (Excl. MTR)</label> | ||
<label class="label" for="maxInterchanges">最多轉車次數<br>Max Interchanges</label> | ||
<div class="control"> | ||
<input type="number" class="input" id="maxInterchanges" name="maxInterchanges" min="0" max="3" value="1" onchange="reload();"> | ||
</div> | ||
|
@@ -231,8 +232,23 @@ | |
</div> | ||
</div> | ||
|
||
<div class="field"> | ||
<label class="label" for="useArea">行程時間範圍<br>Travel Time Area</label> | ||
<div class="control"> | ||
<div class="select"> | ||
<select name="language" id="useArea" onchange="reload();"> | ||
<option value="true">啟用 Enabled</option> | ||
<option value="false" selected>停用 Disabled</option> | ||
</select> | ||
</div> | ||
</div> | ||
<p class="note">此選項可能會增加載入時間<br>This option might significantly increase loading times.</p> | ||
</div> | ||
|
||
<button class="export-image-button button is-info" id="export-image-button" onclick="exportHeatmapAsImage();" disabled>匯出熱圖 Export Heatmap (PNG)</button> | ||
|
||
<button class="export-area-button button is-info" id="export-area-button" onclick="exportTimeArea();" disabled>匯出時間範圍 Export Area (GeoJson)</button> | ||
|
||
<button class="export-points-button button is-info" id="export-points-button" onclick="exportGeoJson();" disabled>匯出數據點 Export Points (GeoJson)</button> | ||
<p class="note">Note that it might require <b>ArcGis Pro</b> to recreate the best look and feel of the heatmap if you are using ArcGis</p> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters