aboutsummaryrefslogtreecommitdiffhomepage
path: root/default.yml
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-08-13 23:58:38 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-09-07 17:02:01 +0800
commit15a939d234910016d36d4297ec14de51c96168ce (patch)
tree4b3fe24f842485242949c19e3b2d0c078cae7797 /default.yml
Initial Commit
Diffstat (limited to 'default.yml')
-rw-r--r--default.yml57
1 files changed, 57 insertions, 0 deletions
diff --git a/default.yml b/default.yml
new file mode 100644
index 0000000..8967dbc
--- /dev/null
+++ b/default.yml
@@ -0,0 +1,57 @@
1aliases:
2 use:
3 leaflet:
4 value: ./renderers/leaflet.mjs,
5 description: Leaflet is the leading open-source JavaScript library for mobile-friendly interactive maps. It has all the mapping features most developers ever need.
6 maplibre:
7 value: ./renderers/maplibre.mjs,
8 description: MapLibre GL JS is a TypeScript library that uses WebGL to render interactive maps from vector tiles in a browser. The customization of the map comply with the MapLibre Style Spec.
9 openlayers:
10 value: ./renderers/openlayers.mjs,
11 description: OpenLayers makes it easy to put a dynamic map in any web page. It can display map tiles, vector data and markers loaded from any source. OpenLayers has been developed to further the use of geographic information of all kinds.
12 XYZ:
13 OSM Carto: http://b.tile.openstreetmap.org/{z}/{x}/{y}.png
14 OpenCycleMap: https://a.tile.thunderforest.com/cycle/{z}/{x}/{y}.png?apikey=a5dd6a2f1c934394bce6b0fb077203eb
15 Rudymap: https://tile.happyman.idv.tw/map/moi_osm/{z}/{x}/{y}.png
16 Happyman gpx: https://tile.happyman.idv.tw/map/gpxtrack/{z}/{x}/{y}.png
17 Happyman moi: https://tile.happyman.idv.tw/map/moi_osm/{z}/{x}/{y}.png
18 NLSC aeril: http://wmts.nlsc.gov.tw/wmts/PHOTO2/default/GoogleMapsCompatible/{z}/{y}/{x}
19 NLSC topo: http://wmts.nlsc.gov.tw/wmts/PHOTO_MIX/default/GoogleMapsCompatible/{z}/{y}/{x}
20 TAIWAN_ ERRAIN: https://osmhacktw.github.io/terrain-rgb/tiles/{z}/{x}/{y}.png
21 WMTS:
22 SINICA: https://gis.sinica.edu.tw/tileserver/wmts
23 NLSC: https://wmts.nlsc.gov.tw/wmts
24 WMTS TAIWAN_TERRAIN: https://osmhacktw.github.io/terrain-rgb/wmts.xml
25 center:
26 Tokyo: [ 139.6917, 35.6895 ]
27 Delhi: [ 77.1025, 28.7041 ]
28 Shanghai: [ 121.4737, 31.2304 ]
29 Sao Paulo: [ -46.6333, -23.5505 ]
30 Mumbai: [ 72.8777, 19.0760 ]
31 Mexico City: [ -99.1332, 19.4326 ]
32 Beijing: [ 116.4074, 39.9042 ]
33 Osaka: [ 135.5022, 34.6937 ]
34 Cairo: [ 31.2357, 30.0444 ]
35 New York City: [ -74.0059, 40.7128 ]
36 Dhaka: [ 90.4125, 23.8103 ]
37 Karachi: [ 67.0011, 24.8607 ]
38 Buenos Aires: [ -58.3816, -34.6037 ]
39 Istanbul: [ 28.9784, 41.0082 ]
40 Kolkata: [ 88.3639, 22.5726 ]
41 Manila: [ 120.9842, 14.5995 ]
42 Lagos: [ 3.3792, 6.5244 ]
43 Rio de Janeiro: [ -43.1729, -22.9068 ]
44 Tianjin: [ 117.1767, 39.0842 ]
45 zoom:
46 Whole world: 0
47 Subcontinental area: 2
48 Large African country: 5
49 Large European country: 6
50 Wide area, large metropolitan area: 9
51 Metropolitan area: 10
52 City: 11
53 Town, or city district: 12
54 Village, or suburb: 13
55 Street: 16
56 Block, park, addresses: 17
57 A mid-sized building: 20