forked from opengeos/anymap-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
238 lines (233 loc) · 7.7 KB
/
index.html
File metadata and controls
238 lines (233 loc) · 7.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>anymap-ts TypeScript Examples</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
min-height: 100vh;
color: #fff;
padding: 40px 20px;
}
.container {
max-width: 1200px;
margin: 0 auto;
}
h1 {
text-align: center;
font-size: 2.5rem;
margin-bottom: 10px;
background: linear-gradient(90deg, #00d9ff, #00ff88);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.subtitle {
text-align: center;
color: #888;
margin-bottom: 40px;
font-size: 1.1rem;
}
.categories {
display: grid;
gap: 30px;
}
.category {
background: rgba(255, 255, 255, 0.05);
border-radius: 16px;
padding: 24px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.category h2 {
font-size: 1.2rem;
margin-bottom: 16px;
color: #00d9ff;
display: flex;
align-items: center;
gap: 10px;
}
.category h2::before {
content: '';
width: 4px;
height: 20px;
background: linear-gradient(180deg, #00d9ff, #00ff88);
border-radius: 2px;
}
.examples {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 16px;
}
.example-card {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 12px;
padding: 20px;
text-decoration: none;
color: inherit;
transition: all 0.3s ease;
display: block;
}
.example-card:hover {
background: rgba(255, 255, 255, 0.08);
border-color: rgba(0, 217, 255, 0.3);
transform: translateY(-2px);
box-shadow: 0 8px 30px rgba(0, 217, 255, 0.15);
}
.example-card h3 {
font-size: 1.1rem;
margin-bottom: 8px;
color: #fff;
}
.example-card p {
font-size: 0.9rem;
color: #888;
line-height: 1.5;
}
.example-card .tag {
display: inline-block;
background: rgba(0, 217, 255, 0.15);
color: #00d9ff;
padding: 4px 10px;
border-radius: 20px;
font-size: 0.75rem;
margin-top: 12px;
}
.example-card .tag.sub {
background: rgba(0, 255, 136, 0.15);
color: #00ff88;
margin-left: 4px;
}
footer {
text-align: center;
margin-top: 60px;
color: #555;
font-size: 0.9rem;
}
footer a {
color: #00d9ff;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<div class="container">
<h1>anymap-ts</h1>
<p class="subtitle">Interactive TypeScript Examples for Web Mapping</p>
<div class="categories">
<div class="category">
<h2>MapLibre GL JS</h2>
<div class="examples">
<a href="./examples/maplibre/" class="example-card">
<h3>Basic Example</h3>
<p>Vector maps with draw controls, markers, GeoJSON layers, and layer control.</p>
<span class="tag">Default Renderer</span>
</a>
<a href="./examples/maplibre/cog_layer.html" class="example-card">
<h3>COG Layer</h3>
<p>Cloud Optimized GeoTIFF visualization with NLCD 2024 Land Cover dataset.</p>
<span class="tag">Raster</span><span class="tag sub">30m</span>
</a>
<a href="./examples/maplibre/zarr_layer.html" class="example-card">
<h3>Zarr Layer</h3>
<p>Multi-dimensional Zarr datasets with climate, ocean, and burn probability data.</p>
<span class="tag">Scientific</span><span class="tag sub">4D</span>
</a>
<a href="./examples/maplibre/geojson_layer.html" class="example-card">
<h3>GeoJSON Layer</h3>
<p>Render GeoJSON features with points, lines, and polygons using deck.gl.</p>
<span class="tag">DeckGL</span><span class="tag sub">Vector</span>
</a>
<a href="./examples/maplibre/icon_layer.html" class="example-card">
<h3>Icon Layer</h3>
<p>Custom marker icons with sprite atlas and dynamic styling.</p>
<span class="tag">DeckGL</span><span class="tag sub">Markers</span>
</a>
<a href="./examples/maplibre/polygon_layer.html" class="example-card">
<h3>Polygon Layer</h3>
<p>Filled and stroked polygon visualization with 3D extrusion support.</p>
<span class="tag">DeckGL</span><span class="tag sub">3D</span>
</a>
<a href="./examples/maplibre/text_layer.html" class="example-card">
<h3>Text Layer</h3>
<p>Dynamic text labels with custom fonts, sizes, and rotation.</p>
<span class="tag">DeckGL</span><span class="tag sub">Labels</span>
</a>
<a href="./examples/maplibre/contour_layer.html" class="example-card">
<h3>Contour Layer</h3>
<p>Density isolines with customizable thresholds and colors.</p>
<span class="tag">DeckGL</span><span class="tag sub">Aggregation</span>
</a>
</div>
</div>
<div class="category">
<h2>Other Map Libraries</h2>
<div class="examples">
<a href="./examples/leaflet/" class="example-card">
<h3>Leaflet</h3>
<p>Lightweight, mobile-friendly maps with markers, popups, and GeoJSON support.</p>
<span class="tag">Lightweight</span>
</a>
<a href="./examples/mapbox/" class="example-card">
<h3>Mapbox GL JS</h3>
<p>Commercial vector maps with 3D terrain and building support.</p>
<span class="tag">Requires Token</span>
</a>
<a href="./examples/openlayers/" class="example-card">
<h3>OpenLayers</h3>
<p>High-performance mapping with WMS/WMTS and projection support.</p>
<span class="tag">Enterprise</span>
</a>
</div>
</div>
<div class="category">
<h2>3D Visualization</h2>
<div class="examples">
<a href="./examples/cesium/" class="example-card">
<h3>Cesium</h3>
<p>3D globe with terrain, camera control, GeoJSON, and 3D Tiles support.</p>
<span class="tag">3D Globe</span>
</a>
<a href="./examples/potree/" class="example-card">
<h3>Potree</h3>
<p>WebGL-based point cloud viewer for large LiDAR datasets.</p>
<span class="tag">Point Cloud</span>
</a>
</div>
</div>
<div class="category">
<h2>GPU-Accelerated Layers</h2>
<div class="examples">
<a href="./examples/deckgl/" class="example-card">
<h3>DeckGL</h3>
<p>GPU-accelerated layers: ScatterplotLayer, HexagonLayer, HeatmapLayer, ArcLayer.</p>
<span class="tag">GPU</span>
</a>
<a href="./examples/keplergl/" class="example-card">
<h3>KeplerGL</h3>
<p>Interactive data exploration tool with filters, layers, and styling controls.</p>
<span class="tag">Data Viz</span>
</a>
</div>
</div>
</div>
<footer>
<p>
<a href="https://github.com/opengeos/anymap-ts" target="_blank">GitHub</a> ·
<a href="https://ts.anymap.dev" target="_blank">Documentation</a>
</p>
</footer>
</div>
</body>
</html>