@longline/aqua-ui 1.0.56 → 1.0.57

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.
Files changed (2) hide show
  1. package/map/Map/Map.js +3 -1
  2. package/package.json +1 -1
package/map/Map/Map.js CHANGED
@@ -146,7 +146,9 @@ var MapBase = function (props) {
146
146
  a = demImageData.data[p + 3];
147
147
  elevation = -10000 + ((r * 256 * 256 + g * 256 + b) * 0.1);
148
148
  // Pixels with no elevation (i.e. water) will be transparent:
149
- if (elevation < 0) {
149
+ // < 1: some of sober island's water clipped
150
+ // < 0: nothing is transparent
151
+ if (elevation < 2) {
150
152
  satImageData.data[p] = 0;
151
153
  satImageData.data[p + 1] = 0;
152
154
  satImageData.data[p + 2] = 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longline/aqua-ui",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "description": "AquaUI",
5
5
  "author": "Alexander van Oostenrijk / Longline Environment",
6
6
  "license": "Commercial",