geojs 1.6.1 → 1.6.2
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/.github/workflows/main.yml +3 -3
- package/CHANGELOG.md +12 -0
- package/geo.js +13 -10
- package/geo.lean.js +10 -7
- package/geo.lean.min.js +2 -2
- package/geo.min.js +6 -6
- package/package.json +10 -9
- package/src/osmLayer.js +2 -0
- package/src/tile.js +1 -1
- package/src/ui/colorLegendWidget.styl +1 -1
- package/src/webgl/quadFeatureColor.vert +0 -1
package/geo.lean.js
CHANGED
|
@@ -21624,7 +21624,10 @@ var osmLayer = function osmLayer(arg) {
|
|
|
21624
21624
|
arg.opacity = arg.mapOpacity;
|
|
21625
21625
|
}
|
|
21626
21626
|
|
|
21627
|
-
arg = $.extend(true, {}, this.constructor.defaults, osmLayer.tileSources[this.constructor.defaults.source] || {}, osmLayer.tileSources[arg.source] || {},
|
|
21627
|
+
arg = $.extend(true, {}, this.constructor.defaults, osmLayer.tileSources[this.constructor.defaults.source] || {}, osmLayer.tileSources[arg.source] || {}, // don't name the layer based on the source
|
|
21628
|
+
{
|
|
21629
|
+
name: ''
|
|
21630
|
+
}, arg);
|
|
21628
21631
|
tileLayer.call(this, arg);
|
|
21629
21632
|
var m_this = this;
|
|
21630
21633
|
/* mapOpacity is just another name for the layer opacity. */
|
|
@@ -25996,7 +25999,7 @@ module.exports = sceneObject;
|
|
|
25996
25999
|
* @constant
|
|
25997
26000
|
* @type {string}
|
|
25998
26001
|
*/
|
|
25999
|
-
module.exports = "
|
|
26002
|
+
module.exports = "21a1a4871888b7817d358e482f76bbf807002ee3";
|
|
26000
26003
|
|
|
26001
26004
|
/***/ }),
|
|
26002
26005
|
|
|
@@ -28536,7 +28539,7 @@ var tile = function tile(spec) {
|
|
|
28536
28539
|
return this;
|
|
28537
28540
|
};
|
|
28538
28541
|
/**
|
|
28539
|
-
* Return a unique string representation of the given tile
|
|
28542
|
+
* Return a unique string representation of the given tile usable as a hash
|
|
28540
28543
|
* key. Possibly extend later to include url information to make caches
|
|
28541
28544
|
* aware of the tile source.
|
|
28542
28545
|
*
|
|
@@ -38460,7 +38463,7 @@ module.exports = vectorFeature;
|
|
|
38460
38463
|
* @constant
|
|
38461
38464
|
* @type {string}
|
|
38462
38465
|
*/
|
|
38463
|
-
module.exports = "1.6.
|
|
38466
|
+
module.exports = "1.6.2";
|
|
38464
38467
|
|
|
38465
38468
|
/***/ }),
|
|
38466
38469
|
|
|
@@ -43752,7 +43755,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".geojs-map{position:relative;-webkit-u
|
|
|
43752
43755
|
|
|
43753
43756
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
43754
43757
|
// Module
|
|
43755
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".color-legend-container{display:none;padding:10px;border:1.5px solid #000;border-radius:3px;transition:250ms background linear;background-color:rgba(255,255,255,0.75)}.color-legend-container:hover{background-color:#fff}.color-legend-container .geojs-color-legends .geojs-color-legend{margin-bottom:10px}.color-legend-container .geojs-color-legends .geojs-color-legend .geojs-title{text-align:center}.color-legend-container .geojs-color-legends .geojs-color-legend svg.svg{display:block}.color-legend-container .geojs-color-legends .geojs-color-legend svg.svg .axis.x path.domain,.color-legend-container .geojs-color-legends .geojs-color-legend svg.svg .axis.x line{fill:none;stroke:#000;stroke-width:.7}.color-legend-container .geojs-color-legends .geojs-color-legend svg.svg .axis.x text{font-size:12px}.color-legend-container .color-legend-popup{position:absolute;background:#fff;height:22px;font-size:14px;border:solid 1px #000;padding:0 5px;pointer-events:none;white-space:nowrap;z-index:100000;opacity:0}", "",{"version":3,"sources":["webpack://./ui/colorLegendWidget.styl"],"names":[],"mappings":"AAAA,wBACE,YAAQ,CACR,YAAQ,CACR,uBAAO,CACP,iBAAc,CACd,kCAAW,CACX,uCAAiB,CAEjB,8BACE,qBAAiB,CAIjB,iEACE,kBAAc,CAEd,8EACE,iBAAW,CAEb,yEACE,aAAQ,CAGN,mLACE,SAAK,CACL,WAAO,CACP,eAAa,CACf,sFACE,cAAU,CAEpB,4CACE,iBAAS,CACT,eAAW,CACX,WAAO,CACP,cAAU,CACV,qBAAO,CACP,aAAQ,CACR,mBAAe,CACf,kBAAY,CACZ,cAAQ,CACR,SAAQ","sourcesContent":[".color-legend-container\n display none\n padding 10px\n border 1.5px solid black\n border-radius 3px\n transition 250ms background linear\n background-color rgba(255, 255, 255, 0.75)\n\n &:hover\n background-color rgba(255, 255, 255, 1)\n\n .geojs-color-legends\n\n .geojs-color-legend\n margin-bottom 10px\n\n .geojs-title\n text-align center\n\n svg.svg\n display block\n\n .axis.x\n path.domain, line\n fill none\n stroke black\n stroke-width 0.7\n text\n font-size 12px\n
|
|
43758
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".color-legend-container{display:none;padding:10px;border:1.5px solid #000;border-radius:3px;transition:250ms background linear;background-color:rgba(255,255,255,0.75)}.color-legend-container:hover{background-color:#fff}.color-legend-container .geojs-color-legends .geojs-color-legend{margin-bottom:10px}.color-legend-container .geojs-color-legends .geojs-color-legend .geojs-title{text-align:center}.color-legend-container .geojs-color-legends .geojs-color-legend svg.svg{display:block}.color-legend-container .geojs-color-legends .geojs-color-legend svg.svg .axis.x path.domain,.color-legend-container .geojs-color-legends .geojs-color-legend svg.svg .axis.x line{fill:none;stroke:#000;stroke-width:.7}.color-legend-container .geojs-color-legends .geojs-color-legend svg.svg .axis.x text{font-size:12px}.color-legend-container .color-legend-popup{position:absolute;background:#fff;height:22px;font-size:14px;border:solid 1px #000;padding:0 5px;pointer-events:none;white-space:nowrap;z-index:100000;opacity:0}", "",{"version":3,"sources":["webpack://./ui/colorLegendWidget.styl"],"names":[],"mappings":"AAAA,wBACE,YAAQ,CACR,YAAQ,CACR,uBAAO,CACP,iBAAc,CACd,kCAAW,CACX,uCAAiB,CAEjB,8BACE,qBAAiB,CAIjB,iEACE,kBAAc,CAEd,8EACE,iBAAW,CAEb,yEACE,aAAQ,CAGN,mLACE,SAAK,CACL,WAAO,CACP,eAAa,CACf,sFACE,cAAU,CAEpB,4CACE,iBAAS,CACT,eAAW,CACX,WAAO,CACP,cAAU,CACV,qBAAO,CACP,aAAQ,CACR,mBAAe,CACf,kBAAY,CACZ,cAAQ,CACR,SAAQ","sourcesContent":[".color-legend-container\n display none\n padding 10px\n border 1.5px solid black\n border-radius 3px\n transition 250ms background linear\n background-color rgba(255, 255, 255, 0.75)\n\n &:hover\n background-color rgba(255, 255, 255, 1)\n\n .geojs-color-legends\n\n .geojs-color-legend\n margin-bottom 10px\n\n .geojs-title\n text-align center\n\n svg.svg\n display block\n\n .axis.x\n path.domain, line\n fill none\n stroke black\n stroke-width 0.7\n text\n font-size 12px\n\n .color-legend-popup\n position absolute\n background white\n height 22px\n font-size 14px\n border solid 1px black\n padding 0 5px\n pointer-events none\n white-space nowrap\n z-index 100000\n opacity 0\n"],"sourceRoot":""}]);
|
|
43756
43759
|
// Exports
|
|
43757
43760
|
/* harmony default export */ __webpack_exports__["Z"] = (___CSS_LOADER_EXPORT___);
|
|
43758
43761
|
|
|
@@ -73865,7 +73868,7 @@ var AFTERQUOTE = 5;
|
|
|
73865
73868
|
var ENDED = -1;
|
|
73866
73869
|
var whitespace = /\s/;
|
|
73867
73870
|
var latin = /[A-Za-z]/;
|
|
73868
|
-
var keyword = /[A-Za-
|
|
73871
|
+
var keyword = /[A-Za-z84_]/;
|
|
73869
73872
|
var endThings = /[,\]]/;
|
|
73870
73873
|
var digets = /[\d\.E\-\+]/;
|
|
73871
73874
|
// const ignoredChar = /[\s_\-\/\(\)]/g;
|
|
@@ -81724,7 +81727,7 @@ module.exports = "/* quadFeature Color fragment shader */\n\nvarying mediump vec
|
|
|
81724
81727
|
/***/ 1899:
|
|
81725
81728
|
/***/ (function(module) {
|
|
81726
81729
|
|
|
81727
|
-
module.exports = "/* quadFeature Color vertex shader */\n\nattribute vec3 vertexPosition;\nuniform float zOffset;\nuniform vec3 vertexColor;\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\nvarying mediump vec3 iVertexColor;\n\nvoid main(void) {\n gl_Position = projectionMatrix * modelViewMatrix * vec4(vertexPosition, 1.0);\n gl_Position.z += zOffset;\n iVertexColor = vertexColor;\n}\n
|
|
81730
|
+
module.exports = "/* quadFeature Color vertex shader */\n\nattribute vec3 vertexPosition;\nuniform float zOffset;\nuniform vec3 vertexColor;\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\nvarying mediump vec3 iVertexColor;\n\nvoid main(void) {\n gl_Position = projectionMatrix * modelViewMatrix * vec4(vertexPosition, 1.0);\n gl_Position.z += zOffset;\n iVertexColor = vertexColor;\n}\n"
|
|
81728
81731
|
|
|
81729
81732
|
/***/ }),
|
|
81730
81733
|
|