geojs 1.7.2 → 1.7.3

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.
@@ -10,6 +10,8 @@ on:
10
10
  release:
11
11
  types:
12
12
  - created
13
+ schedule:
14
+ - cron: "0 7 * * 1"
13
15
 
14
16
  jobs:
15
17
  build:
@@ -63,6 +65,24 @@ jobs:
63
65
  name: website
64
66
  path: |
65
67
  website/public
68
+ unpinned:
69
+ runs-on: ubuntu-latest
70
+ steps:
71
+ - uses: actions/checkout@v2
72
+ # Don't pin version to test with the latest common version
73
+ - uses: actions/setup-node@v2
74
+ - run: npm --version && node --version
75
+ - uses: browser-actions/setup-firefox@latest
76
+ - run: sudo apt-get remove --yes fonts-lato
77
+ - run: fc-list
78
+ - run: firefox --version
79
+ - run: google-chrome --version
80
+ # Delete the package-lock to test with the latest libraries allowed
81
+ - run: rm package-lock.json
82
+ - run: npm install
83
+ - run: npm run setup-website
84
+ - run: npm run ci-xvfb
85
+ - run: npm run ci-build-website
66
86
  deploy-website:
67
87
  if: ${{ github.ref == 'refs/heads/master' }}
68
88
  needs: build
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # GeoJS Change Log
2
2
 
3
+ ## Version 1.7.3
4
+
5
+ ### Bug Fixes
6
+
7
+ - Emit layerMove event when changing a lyer's z-index ([#1185](../../pull/1185))
8
+
9
+ ## Version 1.7.2
10
+
11
+ ### Bug Fixes
12
+
13
+ - Tile layers with keepLower: false purged tiles on high zoom ([#1178](../../pull/1178))
14
+
3
15
  ## Version 1.7.1
4
16
 
5
17
  ### Improvements
package/geo.js CHANGED
@@ -8138,6 +8138,16 @@ geo_event.layerAdd = 'geo_layerAdd';
8138
8138
  */
8139
8139
 
8140
8140
  geo_event.layerRemove = 'geo_layerRemove';
8141
+ /**
8142
+ * Triggered when a layer z-index is changed.
8143
+ *
8144
+ * @event geo.event.layerMove
8145
+ * @type {geo.event.base}
8146
+ * @property {geo.map} target The current map.
8147
+ * @property {geo.layer} layer The old layer that was removed.
8148
+ */
8149
+
8150
+ geo_event.layerMove = 'geo_layerMove';
8141
8151
  /**
8142
8152
  * Triggered when the map's zoom level is changed.
8143
8153
  *
@@ -13723,7 +13733,7 @@ var layer = function layer(arg) {
13723
13733
  if (zIndex !== m_zIndex) {
13724
13734
  m_zIndex = zIndex;
13725
13735
  m_node.css('z-index', m_zIndex);
13726
- m_this.geoTrigger(geo_event.layerRemove, {
13736
+ m_this.geoTrigger(geo_event.layerMove, {
13727
13737
  layer: m_this
13728
13738
  });
13729
13739
  }
@@ -26252,7 +26262,7 @@ module.exports = sceneObject;
26252
26262
  * @constant
26253
26263
  * @type {string}
26254
26264
  */
26255
- module.exports = "0e6b086c99eaaca5976d0391664d9527c4076aa3";
26265
+ module.exports = "0bc7b69498f5cc8cb411e7db7a8049eda5043a68";
26256
26266
 
26257
26267
  /***/ }),
26258
26268
 
@@ -30951,9 +30961,9 @@ var tileLayer = function tileLayer(arg) {
30951
30961
  /**
30952
30962
  * Get/set the baseQuad.
30953
30963
  *
30954
- * @property {object} [baseQuad] A quad feature element to draw before below
30955
- * any tile layers. If specified, this uses the quad defaults, so this is
30956
- * a ``geo.quadFeature.position`` object with, typically, an ``image``
30964
+ * @property {object} [baseQuad] A quad feature element to draw below any
30965
+ * tile layers. If specified, this uses the quad defaults, so this is a
30966
+ * ``geo.quadFeature.position`` object with, typically, an ``image``
30957
30967
  * property added to it. The quad positions are in the map gcs
30958
30968
  * coordinates.
30959
30969
  * @name geo.tileLayer.baseQuad
@@ -38716,7 +38726,7 @@ module.exports = vectorFeature;
38716
38726
  * @constant
38717
38727
  * @type {string}
38718
38728
  */
38719
- module.exports = "1.7.2";
38729
+ module.exports = "1.7.3";
38720
38730
 
38721
38731
  /***/ }),
38722
38732
 
@@ -44071,10 +44081,12 @@ var webglRenderer = function webglRenderer(arg) {
44071
44081
  renderState.m_context = m_this._glContext();
44072
44082
  m_viewer.exit(renderState);
44073
44083
 
44074
- if (m_this._glContext() !== vgl.GL && m_this._glContext().getExtension('WEBGL_lose_context') && m_this._glContext().getExtension('WEBGL_lose_context').loseContext) {
44075
- m_this._glContext().getExtension('WEBGL_lose_context').loseContext();
44084
+ var context = m_this._glContext();
44085
+
44086
+ if (context !== vgl.GL && context.getExtension('WEBGL_lose_context') && context.getExtension('WEBGL_lose_context').loseContext) {
44087
+ context.getExtension('WEBGL_lose_context').loseContext();
44076
44088
  }
44077
- } // make sure we clear shaders associated with the generate context, too
44089
+ } // make sure we clear shaders associated with the generated context, too
44078
44090
 
44079
44091
 
44080
44092
  vgl.clearCachedShaders(vgl.GL);
package/geo.lean.js CHANGED
@@ -8138,6 +8138,16 @@ geo_event.layerAdd = 'geo_layerAdd';
8138
8138
  */
8139
8139
 
8140
8140
  geo_event.layerRemove = 'geo_layerRemove';
8141
+ /**
8142
+ * Triggered when a layer z-index is changed.
8143
+ *
8144
+ * @event geo.event.layerMove
8145
+ * @type {geo.event.base}
8146
+ * @property {geo.map} target The current map.
8147
+ * @property {geo.layer} layer The old layer that was removed.
8148
+ */
8149
+
8150
+ geo_event.layerMove = 'geo_layerMove';
8141
8151
  /**
8142
8152
  * Triggered when the map's zoom level is changed.
8143
8153
  *
@@ -13723,7 +13733,7 @@ var layer = function layer(arg) {
13723
13733
  if (zIndex !== m_zIndex) {
13724
13734
  m_zIndex = zIndex;
13725
13735
  m_node.css('z-index', m_zIndex);
13726
- m_this.geoTrigger(geo_event.layerRemove, {
13736
+ m_this.geoTrigger(geo_event.layerMove, {
13727
13737
  layer: m_this
13728
13738
  });
13729
13739
  }
@@ -26252,7 +26262,7 @@ module.exports = sceneObject;
26252
26262
  * @constant
26253
26263
  * @type {string}
26254
26264
  */
26255
- module.exports = "0e6b086c99eaaca5976d0391664d9527c4076aa3";
26265
+ module.exports = "0bc7b69498f5cc8cb411e7db7a8049eda5043a68";
26256
26266
 
26257
26267
  /***/ }),
26258
26268
 
@@ -30951,9 +30961,9 @@ var tileLayer = function tileLayer(arg) {
30951
30961
  /**
30952
30962
  * Get/set the baseQuad.
30953
30963
  *
30954
- * @property {object} [baseQuad] A quad feature element to draw before below
30955
- * any tile layers. If specified, this uses the quad defaults, so this is
30956
- * a ``geo.quadFeature.position`` object with, typically, an ``image``
30964
+ * @property {object} [baseQuad] A quad feature element to draw below any
30965
+ * tile layers. If specified, this uses the quad defaults, so this is a
30966
+ * ``geo.quadFeature.position`` object with, typically, an ``image``
30957
30967
  * property added to it. The quad positions are in the map gcs
30958
30968
  * coordinates.
30959
30969
  * @name geo.tileLayer.baseQuad
@@ -38716,7 +38726,7 @@ module.exports = vectorFeature;
38716
38726
  * @constant
38717
38727
  * @type {string}
38718
38728
  */
38719
- module.exports = "1.7.2";
38729
+ module.exports = "1.7.3";
38720
38730
 
38721
38731
  /***/ }),
38722
38732
 
@@ -44071,10 +44081,12 @@ var webglRenderer = function webglRenderer(arg) {
44071
44081
  renderState.m_context = m_this._glContext();
44072
44082
  m_viewer.exit(renderState);
44073
44083
 
44074
- if (m_this._glContext() !== vgl.GL && m_this._glContext().getExtension('WEBGL_lose_context') && m_this._glContext().getExtension('WEBGL_lose_context').loseContext) {
44075
- m_this._glContext().getExtension('WEBGL_lose_context').loseContext();
44084
+ var context = m_this._glContext();
44085
+
44086
+ if (context !== vgl.GL && context.getExtension('WEBGL_lose_context') && context.getExtension('WEBGL_lose_context').loseContext) {
44087
+ context.getExtension('WEBGL_lose_context').loseContext();
44076
44088
  }
44077
- } // make sure we clear shaders associated with the generate context, too
44089
+ } // make sure we clear shaders associated with the generated context, too
44078
44090
 
44079
44091
 
44080
44092
  vgl.clearCachedShaders(vgl.GL);