mapshaper 0.7.66 → 0.7.68

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 CHANGED
@@ -10,7 +10,9 @@ var defaultPort = 5555,
10
10
  .option('-i, --import-prompt', 'prompt for import options')
11
11
  .option('-s, --direct-save', 'save files outside the browser\'s download folder')
12
12
  .option('-f, --force-save', 'allow overwriting input files with output files')
13
- .option('-a, --display-all', 'turn on initial visibility of all layers')
13
+ // Accepted so that existing scripts still run: every layer is now
14
+ // visible by default.
15
+ .addOption(new commander.Option('-a, --display-all').hideHelp())
14
16
  .option('-n, --name <name(s)>', 'rename input layer or layers')
15
17
  .option('-c, --commands <string>', 'console commands to run initially')
16
18
  .option('-t, --target <name>', 'name of layer to select initially')
@@ -286,7 +288,6 @@ function getManifestJS(files, opts) {
286
288
  files: files,
287
289
  target: opts.target,
288
290
  allow_saving: opts.directSave,
289
- display_all: opts.displayAll,
290
291
  quick_view: !opts.importPrompt, // removed: opts.quickView,
291
292
  name: opts.name,
292
293
  commands: opts.commands,