mapshaper 0.6.112 → 0.6.115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/mapshaper.js +3236 -551
- package/package.json +6 -3
- package/www/basemap.js +6 -4
- package/www/elements.css +1 -1
- package/www/geopackage.js +4362 -0
- package/www/images/eye3.png +0 -0
- package/www/index.html +29 -10
- package/www/mapshaper-gui.js +304 -85
- package/www/mapshaper.js +3236 -551
- package/www/modules.js +147 -1
- package/www/page.css +71 -34
- package/www/sql-wasm.wasm +0 -0
|
Binary file
|
package/www/index.html
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<html lang="en">
|
|
3
3
|
<head>
|
|
4
4
|
<title>mapshaper</title>
|
|
5
|
-
<meta name="Description" content="A tool for topologically aware shape simplification. Reads and writes Shapefile, GeoJSON and
|
|
5
|
+
<meta name="Description" content="A tool for topologically aware shape simplification. Reads and writes Shapefile, GeoJSON, TopoJSON, KML, GeoPackage and FlatGeobuf formats.">
|
|
6
6
|
<meta charset="UTF-8">
|
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
8
8
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
@@ -164,7 +164,29 @@ precision=0.001. Click to see all options.</div></div></div></a>
|
|
|
164
164
|
</div>
|
|
165
165
|
|
|
166
166
|
<div class="display-options main-area popup-dialog">
|
|
167
|
-
|
|
167
|
+
|
|
168
|
+
<div class="info-box add-basemap-menu">
|
|
169
|
+
<!-- <div class="close2-btn"></div> -->
|
|
170
|
+
<h3>Add basemap layer</h3>
|
|
171
|
+
Name (optional)
|
|
172
|
+
<input type="text" class="add-layer-name" placeholder="">
|
|
173
|
+
<div class="menu-section">
|
|
174
|
+
Option 1: Mapbox style URL and key
|
|
175
|
+
<input type="text" class="add-mapbox-url" placeholder="mapbox://...">
|
|
176
|
+
<input type="text" class="add-mapbox-key" placeholder="key">
|
|
177
|
+
</div>
|
|
178
|
+
<div class="menu-section">
|
|
179
|
+
Option 2: raster tile URL template
|
|
180
|
+
<input type="text" class="add-template-url" placeholder="https://...">
|
|
181
|
+
<div><input type="checkbox" class="tms">TMS (reversed y-index)</div>
|
|
182
|
+
</div>
|
|
183
|
+
<div>
|
|
184
|
+
<div class="add-layer-btn btn dialog-btn">Add</div>
|
|
185
|
+
<div class="add-cancel-btn btn dialog-btn">Cancel</div>
|
|
186
|
+
</div>
|
|
187
|
+
</div>
|
|
188
|
+
|
|
189
|
+
<div class="info-box display-main-options">
|
|
168
190
|
<div class="close2-btn"></div>
|
|
169
191
|
<h3>Display options</h3>
|
|
170
192
|
|
|
@@ -174,14 +196,11 @@ precision=0.001. Click to see all options.</div></div></div></a>
|
|
|
174
196
|
<div class="basemap-opts">
|
|
175
197
|
<h4>Basemaps</h4>
|
|
176
198
|
<p class="basemap-warning"></p>
|
|
177
|
-
<div class="basemap-styles basemap-buttons"></div>
|
|
178
|
-
<
|
|
179
|
-
<div>
|
|
180
|
-
<!-- <div class="close-btn btn dialog-btn">Close</div> -->
|
|
181
|
-
<div class="clear-btn btn dialog-btn disabled">Clear</div>
|
|
182
|
-
<div class="fade-btn btn dialog-btn disabled">Fade</div>
|
|
183
|
-
<!-- <div class="hide-btn btn dialog-btn disabled">Hide</div> -->
|
|
199
|
+
<!-- <div class="basemap-styles basemap-buttons"></div> -->
|
|
200
|
+
<div class="added-basemaps">
|
|
184
201
|
</div>
|
|
202
|
+
<p class="basemap-note"></p>
|
|
203
|
+
<div class="add-basemap"><span class="add-btn inline-btn btn">Add</span> a basemap</div>
|
|
185
204
|
</div>
|
|
186
205
|
</div>
|
|
187
206
|
</div>
|
|
@@ -260,7 +279,7 @@ a smoother appearance.</div></div></div></div>
|
|
|
260
279
|
<span><input type="checkbox" class="advanced-import-options">with advanced options</span>
|
|
261
280
|
<div class="mini-drop-area">
|
|
262
281
|
<div class="subtitle">Drop, paste or <span class="add-btn inline-btn btn"><span class="label-text">select</span></span> files to import.</div>
|
|
263
|
-
<div class="subtitle">Shapefile, GeoJSON, TopoJSON, KML and CSV formats are supported. Files can be zipped or gzipped.</div>
|
|
282
|
+
<div class="subtitle">Shapefile, GeoJSON, TopoJSON, GeoPackage, FlatGeobuf, KML and CSV formats are supported. Files can be zipped or gzipped.</div>
|
|
264
283
|
</div>
|
|
265
284
|
</div>
|
|
266
285
|
<div class="queued-file-section">
|