geojs 1.8.0 → 1.8.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # GeoJS Change Log
2
2
 
3
+ ## Version 1.8.0
4
+
5
+ ### Features
6
+
7
+ - Square, circle, and ellipse annotations, plus a way to constrain rectangle and ellipse annotations to a list of aspect ratios ([#1192](../../pull/1192))
8
+
3
9
  ## Version 1.7.3
4
10
 
5
11
  ### Bug Fixes
package/geo.js CHANGED
@@ -23051,6 +23051,15 @@ var pixelmapLayer = function pixelmapLayer(arg) {
23051
23051
  }
23052
23052
 
23053
23053
  arg = arg || {};
23054
+ /* Don't extend data from args -- it can be very slow */
23055
+
23056
+ var argdata;
23057
+
23058
+ if (arg.data) {
23059
+ argdata = arg.data;
23060
+ delete arg.data;
23061
+ }
23062
+
23054
23063
  arg = $.extend(true, {}, this.constructor.defaults, arg);
23055
23064
  tileLayer.call(this, arg);
23056
23065
  var s_init = this._init,
@@ -23111,8 +23120,8 @@ var pixelmapLayer = function pixelmapLayer(arg) {
23111
23120
 
23112
23121
  m_pixelmapFeature = m_this.createFeature('pixelmap', pixelmapArgs);
23113
23122
 
23114
- if (arg.data) {
23115
- m_pixelmapFeature.data(arg.data);
23123
+ if (argdata) {
23124
+ m_pixelmapFeature.data(argdata);
23116
23125
  }
23117
23126
 
23118
23127
  m_this.style = m_pixelmapFeature.style;
@@ -26043,7 +26052,13 @@ util.createLayer = function (name, map, arg) {
26043
26052
  }
26044
26053
 
26045
26054
  if (arg !== undefined) {
26055
+ var argdata = arg.data;
26056
+ delete arg.data;
26046
26057
  $.extend(true, options, arg);
26058
+
26059
+ if (argdata) {
26060
+ options.data = argdata;
26061
+ }
26047
26062
  }
26048
26063
 
26049
26064
  layer = layers[name](options);
@@ -26652,7 +26667,7 @@ module.exports = sceneObject;
26652
26667
  * @constant
26653
26668
  * @type {string}
26654
26669
  */
26655
- module.exports = "6c86a1d8a40dcb39b91fa8e33804c15097da7c22";
26670
+ module.exports = "b5206cc793635de028b4834eaad4a1c7d73e5b56";
26656
26671
 
26657
26672
  /***/ }),
26658
26673
 
@@ -39116,7 +39131,7 @@ module.exports = vectorFeature;
39116
39131
  * @constant
39117
39132
  * @type {string}
39118
39133
  */
39119
- module.exports = "1.8.0";
39134
+ module.exports = "1.8.1";
39120
39135
 
39121
39136
  /***/ }),
39122
39137
 
package/geo.lean.js CHANGED
@@ -23051,6 +23051,15 @@ var pixelmapLayer = function pixelmapLayer(arg) {
23051
23051
  }
23052
23052
 
23053
23053
  arg = arg || {};
23054
+ /* Don't extend data from args -- it can be very slow */
23055
+
23056
+ var argdata;
23057
+
23058
+ if (arg.data) {
23059
+ argdata = arg.data;
23060
+ delete arg.data;
23061
+ }
23062
+
23054
23063
  arg = $.extend(true, {}, this.constructor.defaults, arg);
23055
23064
  tileLayer.call(this, arg);
23056
23065
  var s_init = this._init,
@@ -23111,8 +23120,8 @@ var pixelmapLayer = function pixelmapLayer(arg) {
23111
23120
 
23112
23121
  m_pixelmapFeature = m_this.createFeature('pixelmap', pixelmapArgs);
23113
23122
 
23114
- if (arg.data) {
23115
- m_pixelmapFeature.data(arg.data);
23123
+ if (argdata) {
23124
+ m_pixelmapFeature.data(argdata);
23116
23125
  }
23117
23126
 
23118
23127
  m_this.style = m_pixelmapFeature.style;
@@ -26043,7 +26052,13 @@ util.createLayer = function (name, map, arg) {
26043
26052
  }
26044
26053
 
26045
26054
  if (arg !== undefined) {
26055
+ var argdata = arg.data;
26056
+ delete arg.data;
26046
26057
  $.extend(true, options, arg);
26058
+
26059
+ if (argdata) {
26060
+ options.data = argdata;
26061
+ }
26047
26062
  }
26048
26063
 
26049
26064
  layer = layers[name](options);
@@ -26652,7 +26667,7 @@ module.exports = sceneObject;
26652
26667
  * @constant
26653
26668
  * @type {string}
26654
26669
  */
26655
- module.exports = "6c86a1d8a40dcb39b91fa8e33804c15097da7c22";
26670
+ module.exports = "b5206cc793635de028b4834eaad4a1c7d73e5b56";
26656
26671
 
26657
26672
  /***/ }),
26658
26673
 
@@ -39116,7 +39131,7 @@ module.exports = vectorFeature;
39116
39131
  * @constant
39117
39132
  * @type {string}
39118
39133
  */
39119
- module.exports = "1.8.0";
39134
+ module.exports = "1.8.1";
39120
39135
 
39121
39136
  /***/ }),
39122
39137