mapshaper 0.6.108 → 0.6.110
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/bin/mapshaper-gui +3 -2
- package/mapshaper.js +1782 -516
- package/package.json +2 -1
- package/www/assets/SourceSans3-VariableFont_wght.ttf +0 -0
- package/www/elements.css +1 -1
- package/www/index.html +45 -51
- package/www/mapshaper-gui.js +200 -25
- package/www/mapshaper.js +1782 -516
- package/www/page.css +21 -23
- package/www/assets/SourceSansPro-Regular.woff +0 -0
- package/www/assets/SourceSansPro-Semibold.woff +0 -0
package/bin/mapshaper-gui
CHANGED
|
@@ -6,7 +6,8 @@ var defaultPort = 5555,
|
|
|
6
6
|
.name('mapshaper-gui')
|
|
7
7
|
.usage('[options] [file ...]')
|
|
8
8
|
.option('-p, --port <port>', 'http port of server on localhost', defaultPort)
|
|
9
|
-
.option('-q, --quick-view', 'load files with default options, bypassing import dialog')
|
|
9
|
+
// .option('-q, --quick-view', 'load files with default options, bypassing import dialog')
|
|
10
|
+
.option('-i, --import-prompt', 'prompt for import options')
|
|
10
11
|
.option('-s, --direct-save', 'save files outside the browser\'s download folder')
|
|
11
12
|
.option('-f, --force-save', 'allow overwriting input files with output files')
|
|
12
13
|
.option('-a, --display-all', 'turn on initial visibility of all layers')
|
|
@@ -219,7 +220,7 @@ function getManifestJS(files, opts) {
|
|
|
219
220
|
target: opts.target,
|
|
220
221
|
allow_saving: opts.directSave,
|
|
221
222
|
display_all: opts.displayAll,
|
|
222
|
-
quick_view: opts.quickView,
|
|
223
|
+
quick_view: !opts.importPrompt, // removed: opts.quickView,
|
|
223
224
|
name: opts.name,
|
|
224
225
|
commands: opts.commands,
|
|
225
226
|
blurb: opts.blurb
|