geojs 1.10.13 → 1.10.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geojs",
3
- "version": "1.10.13",
3
+ "version": "1.10.14",
4
4
  "description": "JavaScript Geo Visualization and Analysis Library",
5
5
  "homepage": "https://github.com/OpenGeoscience/geojs",
6
6
  "license": "Apache-2.0",
@@ -54,7 +54,7 @@
54
54
  "expose-loader": "^4.0.0",
55
55
  "express": "^4.17.2",
56
56
  "fs-extra": "^11.0.0",
57
- "glob": "^8.0.1",
57
+ "glob": "^10.1.0",
58
58
  "imports-loader": "^4.0.0",
59
59
  "jasmine-core": "^4.0.0",
60
60
  "js-yaml": "^4.1.0",
@@ -135,6 +135,7 @@
135
135
  "build-tutorials": "node tutorials/build.js && webpack --config webpack-tutorials.config.js",
136
136
  "build-website-tutorials": "node tutorials/build-website.js && webpack --config webpack-website-tutorials.config.js",
137
137
  "lint": "eslint --cache . --max-warnings=0",
138
+ "format": "eslint --cache --fix .",
138
139
  "puglint": "pug-lint src examples",
139
140
  "glsllint": "chmod +x node_modules/glslang-validator-prebuilt-predownloaded/bin/glslangValidator.linux; find . \\( -name '*.frag' \\) -exec sh -c 'for n; do python scripts/preprocess_glsl.py \"$n\" | node_modules/glslang-validator-prebuilt-predownloaded/bin/glslangValidator.linux --stdin -S frag || exit 1; done' sh {} \\+ && find . \\( -name '*.vert' \\) -exec sh -c 'for n; do python scripts/preprocess_glsl.py \"$n\" | node_modules/glslang-validator-prebuilt-predownloaded/bin/glslangValidator.linux --stdin -S vert || exit 1; done' sh {} \\+",
140
141
  "test-headless": "GEOJS_TEST_CASE=tests/test-unit.js karma start karma-cov.conf.js --single-run --browsers ChromeHeadlessTouch,FirefoxHeadlessTouch",
@@ -276,6 +276,12 @@ var mapInteractor = function (args) {
276
276
  input: 'rotate',
277
277
  owner: 'geo.mapInteractor',
278
278
  name: 'touch zoom and rotate'
279
+ }, {
280
+ action: geo_action.pan,
281
+ input: 'middle',
282
+ modifiers: {shift: false, ctrl: false},
283
+ owner: 'geo.mapInteractor',
284
+ name: 'button pan'
279
285
  }],
280
286
 
281
287
  click: {