Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Change style endpoint in layer files and update to OL6

ZachTRice341f4cf6f21e
diff --git a/config/default/common/config/wv.json/layers/vector/MODIS_Aqua_Thermal_Anomalies_All_v6_NRT.json b/config/default/common/config/wv.json/layers/vector/MODIS_Aqua_Thermal_Anomalies_All_v6_NRT.json
index 34682fb8c..f972b0bbc 100644
--- a/config/default/common/config/wv.json/layers/vector/MODIS_Aqua_Thermal_Anomalies_All_v6_NRT.json
+++ b/config/default/common/config/wv.json/layers/vector/MODIS_Aqua_Thermal_Anomalies_All_v6_NRT.json
@@ -13,7 +13,7 @@
],
"inactive": true,
"vectorStyle": {
- "id": "MODIS_Aqua_Thermal_Anomalies_All_v6_NRT"
+ "id": "FIRMS_MODIS_Thermal_Anomalies"
},
"period": "daily"
}
diff --git a/config/default/common/config/wv.json/layers/vector/MODIS_Aqua_Thermal_Anomalies_Day_v6_NRT.json b/config/default/common/config/wv.json/layers/vector/MODIS_Aqua_Thermal_Anomalies_Day_v6_NRT.json
index b90ff1f69..89d3cfdf3 100644
--- a/config/default/common/config/wv.json/layers/vector/MODIS_Aqua_Thermal_Anomalies_Day_v6_NRT.json
+++ b/config/default/common/config/wv.json/layers/vector/MODIS_Aqua_Thermal_Anomalies_Day_v6_NRT.json
@@ -13,7 +13,7 @@
],
"inactive": true,
"vectorStyle": {
- "id": "MODIS_Aqua_Thermal_Anomalies_Day_v6_NRT"
+ "id": "FIRMS_MODIS_Thermal_Anomalies"
},
"period": "daily"
}
diff --git a/config/default/common/config/wv.json/layers/vector/MODIS_Aqua_Thermal_Anomalies_Night_v6_NRT.json b/config/default/common/config/wv.json/layers/vector/MODIS_Aqua_Thermal_Anomalies_Night_v6_NRT.json
index 220e227c0..4876d92d5 100644
--- a/config/default/common/config/wv.json/layers/vector/MODIS_Aqua_Thermal_Anomalies_Night_v6_NRT.json
+++ b/config/default/common/config/wv.json/layers/vector/MODIS_Aqua_Thermal_Anomalies_Night_v6_NRT.json
@@ -13,7 +13,7 @@
],
"inactive": true,
"vectorStyle": {
- "id": "MODIS_Aqua_Thermal_Anomalies_Night_v6_NRT"
+ "id": "FIRMS_MODIS_Thermal_Anomalies"
},
"period": "daily"
}
diff --git a/config/default/common/config/wv.json/layers/vector/MODIS_Combined_Thermal_Anomalies_All_v6_NRT.json b/config/default/common/config/wv.json/layers/vector/MODIS_Combined_Thermal_Anomalies_All_v6_NRT.json
index 285c7adad..e466c934a 100644
--- a/config/default/common/config/wv.json/layers/vector/MODIS_Combined_Thermal_Anomalies_All_v6_NRT.json
+++ b/config/default/common/config/wv.json/layers/vector/MODIS_Combined_Thermal_Anomalies_All_v6_NRT.json
@@ -13,7 +13,7 @@
],
"inactive": true,
"vectorStyle": {
- "id": "MODIS_Combined_Thermal_Anomalies_All_v6_NRT"
+ "id": "FIRMS_MODIS_Thermal_Anomalies"
},
"period": "daily"
}
diff --git a/config/default/common/config/wv.json/layers/vector/MODIS_Combined_Thermal_Anomalies_Day_v6_NRT.json b/config/default/common/config/wv.json/layers/vector/MODIS_Combined_Thermal_Anomalies_Day_v6_NRT.json
index 768682e1f..56ff7907b 100644
--- a/config/default/common/config/wv.json/layers/vector/MODIS_Combined_Thermal_Anomalies_Day_v6_NRT.json
+++ b/config/default/common/config/wv.json/layers/vector/MODIS_Combined_Thermal_Anomalies_Day_v6_NRT.json
@@ -13,7 +13,7 @@
],
"inactive": true,
"vectorStyle": {
- "id": "MODIS_Combined_Thermal_Anomalies_Day_v6_NRT"
+ "id": "FIRMS_MODIS_Thermal_Anomalies"
},
"period": "daily"
}
diff --git a/config/default/common/config/wv.json/layers/vector/MODIS_Combined_Thermal_Anomalies_Night_v6_NRT.json b/config/default/common/config/wv.json/layers/vector/MODIS_Combined_Thermal_Anomalies_Night_v6_NRT.json
index 7f04e78d4..5cf3579c6 100644
--- a/config/default/common/config/wv.json/layers/vector/MODIS_Combined_Thermal_Anomalies_Night_v6_NRT.json
+++ b/config/default/common/config/wv.json/layers/vector/MODIS_Combined_Thermal_Anomalies_Night_v6_NRT.json
@@ -13,7 +13,7 @@
],
"inactive": true,
"vectorStyle": {
- "id": "MODIS_Combined_Thermal_Anomalies_Night_v6_NRT"
+ "id": "FIRMS_MODIS_Thermal_Anomalies"
},
"period": "daily"
}
diff --git a/config/default/common/config/wv.json/layers/vector/MODIS_Terra_Thermal_Anomalies_All_v6_NRT.json b/config/default/common/config/wv.json/layers/vector/MODIS_Terra_Thermal_Anomalies_All_v6_NRT.json
index 3213c9c0c..ec1e2464b 100644
--- a/config/default/common/config/wv.json/layers/vector/MODIS_Terra_Thermal_Anomalies_All_v6_NRT.json
+++ b/config/default/common/config/wv.json/layers/vector/MODIS_Terra_Thermal_Anomalies_All_v6_NRT.json
@@ -13,7 +13,7 @@
],
"inactive": true,
"vectorStyle": {
- "id": "MODIS_Terra_Thermal_Anomalies_All_v6_NRT"
+ "id": "FIRMS_MODIS_Thermal_Anomalies"
},
"period": "daily"
}
diff --git a/config/default/common/config/wv.json/layers/vector/MODIS_Terra_Thermal_Anomalies_Day_v6_NRT.json b/config/default/common/config/wv.json/layers/vector/MODIS_Terra_Thermal_Anomalies_Day_v6_NRT.json
index 5b19f76e4..676e8a5f5 100644
--- a/config/default/common/config/wv.json/layers/vector/MODIS_Terra_Thermal_Anomalies_Day_v6_NRT.json
+++ b/config/default/common/config/wv.json/layers/vector/MODIS_Terra_Thermal_Anomalies_Day_v6_NRT.json
@@ -13,7 +13,7 @@
],
"inactive": true,
"vectorStyle": {
- "id": "MODIS_Terra_Thermal_Anomalies_Day_v6_NRT"
+ "id": "FIRMS_MODIS_Thermal_Anomalies"
},
"period": "daily"
}
diff --git a/config/default/common/config/wv.json/layers/vector/MODIS_Terra_Thermal_Anomalies_Night_v6_NRT.json b/config/default/common/config/wv.json/layers/vector/MODIS_Terra_Thermal_Anomalies_Night_v6_NRT.json
index 66e5044eb..d89b2e83b 100644
--- a/config/default/common/config/wv.json/layers/vector/MODIS_Terra_Thermal_Anomalies_Night_v6_NRT.json
+++ b/config/default/common/config/wv.json/layers/vector/MODIS_Terra_Thermal_Anomalies_Night_v6_NRT.json
@@ -13,7 +13,7 @@
],
"inactive": true,
"vectorStyle": {
- "id": "MODIS_Terra_Thermal_Anomalies_Night_v6_NRT"
+ "id": "FIRMS_MODIS_Thermal_Anomalies"
},
"period": "daily"
}
diff --git a/config/default/common/config/wv.json/layers/vector/VIIRS_SNPP_Thermal_Anomalies_375m_All_v1_NRT.json b/config/default/common/config/wv.json/layers/vector/VIIRS_SNPP_Thermal_Anomalies_375m_All_v1_NRT.json
index 7da12d5c6..cf5d3e2b9 100644
--- a/config/default/common/config/wv.json/layers/vector/VIIRS_SNPP_Thermal_Anomalies_375m_All_v1_NRT.json
+++ b/config/default/common/config/wv.json/layers/vector/VIIRS_SNPP_Thermal_Anomalies_375m_All_v1_NRT.json
@@ -13,7 +13,7 @@
],
"inactive": true,
"vectorStyle": {
- "id": "VIIRS_SNPP_Thermal_Anomalies_375m_All_v1_NRT"
+ "id": "FIRMS_SNPP_Thermal_Anomalies"
},
"period": "daily"
}
diff --git a/config/default/common/config/wv.json/layers/vector/VIIRS_SNPP_Thermal_Anomalies_375m_Day_v1_NRT.json b/config/default/common/config/wv.json/layers/vector/VIIRS_SNPP_Thermal_Anomalies_375m_Day_v1_NRT.json
index 01979ec94..64d529f23 100644
--- a/config/default/common/config/wv.json/layers/vector/VIIRS_SNPP_Thermal_Anomalies_375m_Day_v1_NRT.json
+++ b/config/default/common/config/wv.json/layers/vector/VIIRS_SNPP_Thermal_Anomalies_375m_Day_v1_NRT.json
@@ -13,7 +13,7 @@
],
"inactive": true,
"vectorStyle": {
- "id": "VIIRS_SNPP_Thermal_Anomalies_375m_Day_v1_NRT"
+ "id": "FIRMS_SNPP_Thermal_Anomalies"
},
"period": "daily"
}
diff --git a/config/default/common/config/wv.json/layers/vector/VIIRS_SNPP_Thermal_Anomalies_375m_Night_v1_NRT.json b/config/default/common/config/wv.json/layers/vector/VIIRS_SNPP_Thermal_Anomalies_375m_Night_v1_NRT.json
index 651e74862..ae37d9111 100644
--- a/config/default/common/config/wv.json/layers/vector/VIIRS_SNPP_Thermal_Anomalies_375m_Night_v1_NRT.json
+++ b/config/default/common/config/wv.json/layers/vector/VIIRS_SNPP_Thermal_Anomalies_375m_Night_v1_NRT.json
@@ -13,7 +13,7 @@
],
"inactive": true,
"vectorStyle": {
- "id": "VIIRS_SNPP_Thermal_Anomalies_375m_Night_v1_NRT"
+ "id": "FIRMS_SNPP_Thermal_Anomalies"
},
"period": "daily"
}
diff --git a/package-lock.json b/package-lock.json
index f4cd62bdd..d05688b34 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -9884,9 +9884,9 @@
}
},
"mapbox-to-css-font": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/mapbox-to-css-font/-/mapbox-to-css-font-2.2.0.tgz",
- "integrity": "sha512-LLx0PH0K1T3lBRyJelEcUT48PXPbcM/orbb5oE4Pjswt8Jj2/5bVPe5nvnK/hO5NQ1tQcTWY1K1XiCUpgDhQ3w=="
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/mapbox-to-css-font/-/mapbox-to-css-font-2.3.0.tgz",
+ "integrity": "sha512-BAo93y0PcBhyruabcHUMLRkGdzlIqnbnYW+nX+hQyBHW5NpXl7ab7ztg4W4hmVXu7hb8HHux+dsaFnGwH53pVA=="
},
"markdown-escapes": {
"version": "1.0.3",
@@ -11352,7 +11352,12 @@
"integrity": "sha512-r6zKACMNhjPJMTl8KcFH4li//gkrXWfbD6feV8l6doRHlzljFWGJ2AP6iKaCJXyZmAUMOPtvbW7EXkbWO/pLEA==",
"dev": true
},
+<<<<<<< redux-merge-with-timeline2
"p-reduce": {
+=======
+<<<<<<< develop
+ "p-try": {
+>>>>>>> Change style endpoint in layer files and update to OL6
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-1.0.0.tgz",
"integrity": "sha1-GMKw3ZNqRpClKfgjH1ig/bakffo=",
@@ -11379,6 +11384,21 @@
"integrity": "sha512-QBELCWyLYPgE2Gj+4wUEiMscHrQ8nRPBzYItQNOHWavwBt25ohZHQC4qnd5IszdVVrFbLsQ+dPkm6eqdjJAmwQ==",
"dev": true,
"requires": {
+<<<<<<< redux-merge-with-timeline2
+=======
+<<<<<<< redux-merge-with-timeline2
+=======
+<<<<<<< redux-merge-with-timeline2
+=======
+<<<<<<< redux-merge-with-timeline2
+=======
+<<<<<<< redux-merge-with-timeline2
+=======
+<<<<<<< redux-merge-with-timeline2-develop
+=======
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
"agent-base": "2.1.1",
"debug": "2.6.9",
"extend": "3.0.2",
@@ -11386,8 +11406,315 @@
"http-proxy-agent": "1.0.0",
"https-proxy-agent": "1.0.0",
"pac-resolver": "2.0.0",
+<<<<<<< redux-merge-with-timeline2
"raw-body": "2.4.1",
"socks-proxy-agent": "2.1.1"
+=======
+ "raw-body": "2.3.3",
+ "socks-proxy-agent": "2.1.1"
+<<<<<<< redux-merge-with-timeline2
+=======
+<<<<<<< redux-merge-with-timeline2
+=======
+=======
+ "ol": {
+ "version": "6.0.0-beta.3",
+ "resolved": "https://registry.npmjs.org/ol/-/ol-6.0.0-beta.3.tgz",
+ "integrity": "sha512-lkdQcE6VHC/VCUxnmO7zH5C3z+WG41tI6v8de2ZzkDQ8JL/F494/Tjdj7/upGKAdPlC5+Dl3b8MdknVBe3niKg==",
+ "requires": {
+ "pbf": "3.2.0",
+ "pixelworks": "1.1.0",
+ "rbush": "2.0.2"
+ }
+ },
+ "ol-mapbox-style": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/ol-mapbox-style/-/ol-mapbox-style-4.2.1.tgz",
+ "integrity": "sha512-nxxHyIl49Z+FzsMEimGGLPW3IdMyY9NHWmPmgACiTaTd14p7sYwwxfpGVrLGEa59PvCLIcS92wykNpHy/SfGUA==",
+ "requires": {
+ "@mapbox/mapbox-gl-style-spec": "^13.6.0",
+ "mapbox-to-css-font": "^2.3.0",
+ "webfont-matcher": "^1.1.0"
+ }
+ },
+ "on-finished": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
+ "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=",
+ "dev": true,
+ "requires": {
+ "ee-first": "1.1.1"
+ }
+ },
+ "on-headers": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.1.tgz",
+ "integrity": "sha1-ko9dD0cNSTQmUepnlLCFfBAGk/c=",
+ "dev": true
+ },
+ "once": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
+ "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
+ "dev": true,
+ "requires": {
+ "wrappy": "1"
+ }
+ },
+ "onecolor": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/onecolor/-/onecolor-3.0.5.tgz",
+ "integrity": "sha1-Nu/zIgE3nv3xGA+0ReUajiQl+fY=",
+ "dev": true
+ },
+ "onetime": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz",
+ "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=",
+ "dev": true,
+ "requires": {
+ "mimic-fn": "^1.0.0"
+ }
+ },
+ "opener": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/opener/-/opener-1.5.0.tgz",
+ "integrity": "sha512-MD4s/o61y2slS27zm2s4229V2gAUHX0/e3/XOmY/jsXwhysjjCIHN8lx7gqZCrZk19ym+HjCUWHeMKD7YJtKCQ==",
+ "dev": true
+ },
+ "opn": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/opn/-/opn-5.3.0.tgz",
+ "integrity": "sha512-bYJHo/LOmoTd+pfiYhfZDnf9zekVJrY+cnS2a5F2x+w5ppvTqObojTP7WiFG+kVZs9Inw+qQ/lw7TroWwhdd2g==",
+ "dev": true,
+ "requires": {
+ "is-wsl": "^1.1.0"
+ }
+ },
+ "optimist": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz",
+ "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=",
+ "dev": true,
+ "requires": {
+ "minimist": "~0.0.1",
+ "wordwrap": "~0.0.2"
+ },
+ "dependencies": {
+ "minimist": {
+ "version": "0.0.10",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz",
+ "integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=",
+ "dev": true
+ }
+ }
+ },
+ "optimize-css-assets-webpack-plugin": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/optimize-css-assets-webpack-plugin/-/optimize-css-assets-webpack-plugin-5.0.0.tgz",
+ "integrity": "sha512-MXqrLyfiOOpwm+TOWjGskX+sIgu7qlW2oozkEKnS8Z+LWAkSK7Qf6PV9RGRfMd7GmRX3zW2A3oRo0+f23POcXQ==",
+ "dev": true,
+ "requires": {
+ "cssnano": "^4.0.2",
+ "last-call-webpack-plugin": "^3.0.0"
+ }
+ },
+ "optionator": {
+ "version": "0.8.2",
+ "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz",
+ "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=",
+ "dev": true,
+ "requires": {
+ "deep-is": "~0.1.3",
+ "fast-levenshtein": "~2.0.4",
+ "levn": "~0.3.0",
+ "prelude-ls": "~1.1.2",
+ "type-check": "~0.3.2",
+ "wordwrap": "~1.0.0"
+ },
+ "dependencies": {
+ "wordwrap": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz",
+ "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=",
+ "dev": true
+ }
+ }
+ },
+ "options": {
+ "version": "0.0.6",
+ "resolved": "https://registry.npmjs.org/options/-/options-0.0.6.tgz",
+ "integrity": "sha1-7CLTEoBrtT5zF3Pnza788cZDEo8=",
+ "dev": true
+ },
+ "ora": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/ora/-/ora-1.4.0.tgz",
+ "integrity": "sha512-iMK1DOQxzzh2MBlVsU42G80mnrvUhqsMh74phHtDlrcTZPK0pH6o7l7DRshK+0YsxDyEuaOkziVdvM3T0QTzpw==",
+ "dev": true,
+ "requires": {
+ "chalk": "^2.1.0",
+ "cli-cursor": "^2.1.0",
+ "cli-spinners": "^1.0.1",
+ "log-symbols": "^2.1.0"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "dev": true,
+ "requires": {
+ "color-convert": "^1.9.0"
+ }
+ },
+ "chalk": {
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz",
+ "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==",
+ "dev": true,
+ "requires": {
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
+ }
+ },
+ "supports-color": {
+ "version": "5.4.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz",
+ "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==",
+ "dev": true,
+ "requires": {
+ "has-flag": "^3.0.0"
+ }
+ }
+ }
+ },
+ "original": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/original/-/original-1.0.2.tgz",
+ "integrity": "sha512-hyBVl6iqqUOJ8FqRe+l/gS8H+kKYjrEndd5Pm1MfBtsEKA038HkkdbAl/72EAXGyonD/PFsvmVG+EvcIpliMBg==",
+ "dev": true,
+ "requires": {
+ "url-parse": "^1.4.3"
+ }
+ },
+ "os-browserify": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz",
+ "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=",
+ "dev": true
+ },
+ "os-homedir": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
+ "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=",
+ "dev": true
+ },
+ "os-locale": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz",
+ "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==",
+ "dev": true,
+ "requires": {
+ "execa": "^0.7.0",
+ "lcid": "^1.0.0",
+ "mem": "^1.1.0"
+ }
+ },
+ "os-tmpdir": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
+ "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=",
+ "dev": true
+ },
+ "osenv": {
+ "version": "0.1.5",
+ "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz",
+ "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==",
+ "dev": true,
+ "requires": {
+ "os-homedir": "^1.0.0",
+ "os-tmpdir": "^1.0.0"
+ }
+ },
+ "outlayer": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/outlayer/-/outlayer-2.1.1.tgz",
+ "integrity": "sha1-KYY7beEOpdrf/8rfoNcokHOH6aI=",
+ "requires": {
+ "ev-emitter": "^1.0.0",
+ "fizzy-ui-utils": "^2.0.0",
+ "get-size": "^2.0.2"
+ }
+ },
+ "p-finally": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",
+ "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=",
+ "dev": true
+ },
+ "p-limit": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz",
+ "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==",
+ "dev": true,
+ "requires": {
+ "p-try": "^1.0.0"
+ }
+ },
+ "p-locate": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz",
+ "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=",
+ "dev": true,
+ "requires": {
+ "p-limit": "^1.1.0"
+ }
+ },
+ "p-map": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/p-map/-/p-map-1.2.0.tgz",
+ "integrity": "sha512-r6zKACMNhjPJMTl8KcFH4li//gkrXWfbD6feV8l6doRHlzljFWGJ2AP6iKaCJXyZmAUMOPtvbW7EXkbWO/pLEA==",
+ "dev": true
+ },
+ "p-try": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz",
+ "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=",
+ "dev": true
+ },
+ "pac-proxy-agent": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-1.1.0.tgz",
+ "integrity": "sha512-QBELCWyLYPgE2Gj+4wUEiMscHrQ8nRPBzYItQNOHWavwBt25ohZHQC4qnd5IszdVVrFbLsQ+dPkm6eqdjJAmwQ==",
+ "dev": true,
+ "requires": {
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+ "agent-base": "2",
+ "debug": "2",
+ "extend": "3",
+ "get-uri": "2",
+ "http-proxy-agent": "1",
+ "https-proxy-agent": "1",
+ "pac-resolver": "~2.0.0",
+ "raw-body": "2",
+ "socks-proxy-agent": "2"
+<<<<<<< redux-merge-with-timeline2
+=======
+<<<<<<< redux-merge-with-timeline2
+=======
+<<<<<<< redux-merge-with-timeline2-develop
+=======
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
},
"dependencies": {
"agent-base": {
@@ -11396,8 +11723,14 @@
"integrity": "sha1-1t4Q1a9hMtW9aSQn1G/FOFOQlMc=",
"dev": true,
"requires": {
+<<<<<<< redux-merge-with-timeline2
"extend": "3.0.2",
"semver": "5.0.3"
+=======
+<<<<<<< redux-merge-with-timeline2
+ "extend": "~3.0.0",
+ "semver": "~5.0.1"
+>>>>>>> Change style endpoint in layer files and update to OL6
}
},
"debug": {
@@ -11407,6 +11740,35 @@
"dev": true,
"requires": {
"ms": "2.0.0"
+=======
+<<<<<<< redux-merge-with-timeline2
+ "extend": "3.0.2",
+ "semver": "5.0.3"
+=======
+<<<<<<< redux-merge-with-timeline2
+ "extend": "~3.0.0",
+ "semver": "~5.0.1"
+=======
+<<<<<<< redux-merge-with-timeline2
+ "extend": "3.0.2",
+ "semver": "5.0.3"
+=======
+<<<<<<< redux-merge-with-timeline2-develop
+ "extend": "~3.0.0",
+ "semver": "~5.0.1"
+=======
+<<<<<<< develop
+ "extend": "3.0.2",
+ "semver": "5.0.3"
+=======
+ "extend": "~3.0.0",
+ "semver": "~5.0.1"
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
}
},
"https-proxy-agent": {
@@ -11718,12 +12080,47 @@
}
},
"pbf": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/pbf/-/pbf-3.1.0.tgz",
- "integrity": "sha512-/hYJmIsTmh7fMkHAWWXJ5b8IKLWdjdlAFb3IHkRBn1XUhIYBChVGfVwmHEAV3UfXTxsP/AKfYTXTS/dCPxJd5w==",
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/pbf/-/pbf-3.2.0.tgz",
+ "integrity": "sha512-98Eh7rsJNJF/Im6XYMLaOW3cLnNyedlOd6hu3iWMD5I7FZGgpw8yN3vQBrmLbLodu7G784Irb9Qsv2yFrxSAGw==",
"requires": {
+<<<<<<< redux-merge-with-timeline2
"ieee754": "1.1.13",
"resolve-protobuf-schema": "2.1.0"
+=======
+<<<<<<< redux-merge-with-timeline2
+ "ieee754": "^1.1.6",
+ "resolve-protobuf-schema": "^2.0.0"
+=======
+<<<<<<< redux-merge-with-timeline2
+ "ieee754": "1.1.12",
+ "resolve-protobuf-schema": "2.1.0"
+=======
+<<<<<<< redux-merge-with-timeline2
+ "ieee754": "^1.1.6",
+ "resolve-protobuf-schema": "^2.0.0"
+=======
+<<<<<<< redux-merge-with-timeline2
+ "ieee754": "1.1.12",
+ "resolve-protobuf-schema": "2.1.0"
+=======
+<<<<<<< redux-merge-with-timeline2-develop
+ "ieee754": "^1.1.6",
+ "resolve-protobuf-schema": "^2.0.0"
+=======
+<<<<<<< develop
+ "ieee754": "1.1.12",
+ "resolve-protobuf-schema": "2.1.0"
+=======
+ "ieee754": "^1.1.12",
+ "resolve-protobuf-schema": "^2.1.0"
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
}
},
"pbkdf2": {
@@ -15811,7 +16208,35 @@
"resolved": "https://registry.npmjs.org/rbush/-/rbush-2.0.2.tgz",
"integrity": "sha512-XBOuALcTm+O/H8G90b6pzu6nX6v2zCKiFG4BJho8a+bY6AER6t8uQUZdi5bomQc0AprCWhEGa7ncAbbRap0bRA==",
"requires": {
+<<<<<<< redux-merge-with-timeline2
"quickselect": "1.1.1"
+=======
+<<<<<<< redux-merge-with-timeline2
+ "quickselect": "^1.0.1"
+=======
+<<<<<<< redux-merge-with-timeline2
+ "quickselect": "1.1.1"
+=======
+<<<<<<< redux-merge-with-timeline2
+ "quickselect": "^1.0.1"
+=======
+<<<<<<< redux-merge-with-timeline2
+ "quickselect": "1.1.1"
+=======
+<<<<<<< redux-merge-with-timeline2-develop
+ "quickselect": "^1.0.1"
+=======
+<<<<<<< develop
+ "quickselect": "1.1.1"
+=======
+ "quickselect": "^1.0.1"
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
}
},
"rc": {
@@ -16306,11 +16731,50 @@
"symbol-observable": "1.2.0"
}
},
+<<<<<<< develop
"redux-location-state": {
"version": "github:nasa-gibs/redux-location-state#050ab73d5c76fa4a859a97bdf3911b773d90c4ea",
"dev": true,
"requires": {
+<<<<<<< redux-merge-with-timeline2
+ "lodash": "4.17.11"
+=======
+<<<<<<< redux-merge-with-timeline2
+ "lodash": "^4.13.1"
+=======
+<<<<<<< redux-merge-with-timeline2
+ "lodash": "4.17.11"
+=======
+<<<<<<< redux-merge-with-timeline2
+ "lodash": "^4.13.1"
+=======
+<<<<<<< redux-merge-with-timeline2
"lodash": "4.17.11"
+=======
+<<<<<<< redux-merge-with-timeline2-develop
+ "lodash": "^4.13.1"
+=======
+ "lodash": "4.17.11"
+=======
+ "resolve-from": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-1.0.1.tgz",
+ "integrity": "sha1-Jsv+k10a7uq7Kbw/5a6wHpPUQiY=",
+ "dev": true
+ },
+ "resolve-protobuf-schema": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/resolve-protobuf-schema/-/resolve-protobuf-schema-2.1.0.tgz",
+ "integrity": "sha512-kI5ffTiZWmJaS/huM8wZfEMer1eRd7oJQhDuxeCLe3t7N7mX3z94CN0xPxBQxFYQTSNz9T0i+v6inKqSdK8xrQ==",
+ "requires": {
+ "protocol-buffers-schema": "^3.3.1"
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
+>>>>>>> Change style endpoint in layer files and update to OL6
}
},
"redux-logger": {
diff --git a/package.json b/package.json
index 8833765a9..a76949656 100644
--- a/package.json
+++ b/package.json
@@ -163,8 +163,8 @@
"jquery-ui-touch-punch": "0.2.3",
"jscrollpane": "^2.0.22",
"lodash": "^4.15.0",
- "ol": "^5.2.0",
- "ol-mapbox-style": "^4.1.0",
+ "ol": "6.0.0-beta.3 ",
+ "ol-mapbox-style": "^4.2.1",
"perfect-scrollbar": "^0.8.1",
"proj4": "2.3.3",
"promise-queue": "2.2.3",
diff --git a/web/js/map/layerbuilder.js b/web/js/map/layerbuilder.js
index c691cea14..7066b31d0 100644
--- a/web/js/map/layerbuilder.js
+++ b/web/js/map/layerbuilder.js
@@ -375,12 +375,36 @@ export function mapLayerBuilder(models, config, cache, mapUi, store) {
})
});
+ // var clusterSource = new OlCluster({
+ // distance: parseInt(20, 10),
+ // source: sourceOptions
+ // });
+
+ // var styleCache = {};
+
+ // var styles = function(feature) {
+ // var style = styleCache['default'];
+ // if (!style) {
+ // style = new Style({
+ // image: new CircleStyle({
+ // radius: 5,
+ // fill: new Fill({
+ // color: '#ff0000'
+ // })
+ // })
+ // });
+ // styleCache['default'] = style;
+ // }
+ // return style;
+ // };
+
var layer = new LayerVectorTile({
renderMode: 'image',
- renderBuffer: '100',
+ renderBuffer: '5',
extent: extent,
source: sourceOptions,
declutter: true
+ // style: styles
});
if (config.vectorStyles && def.vectorStyle.id) {
@@ -388,18 +412,21 @@ export function mapLayerBuilder(models, config, cache, mapUi, store) {
var vectorStyle = def.vectorStyle.id;
var glStyle = vectorStyles[vectorStyle];
+ console.log(vectorStyles);
+ console.log(vectorStyle);
+
$(document).ready(function() {
$(document).on('change', document.getElementById('frpCheckbox'), function(e) {
if (document.getElementById('frpCheckbox').checked === true) {
- applyStyle(layer, glStyle, 'MODIS_Fire_Points_FRP', matrixSet.resolutions);
+ stylefunction(layer, glStyle, 'MODIS_Fire_Points_FRP', matrixSet.resolutions);
} else if (document.getElementById('confidenceCheckbox').checked === true) {
- applyStyle(layer, glStyle, 'MODIS_Fire_Points_Confidence', matrixSet.resolutions);
+ stylefunction(layer, glStyle, 'MODIS_Fire_Points_Confidence', matrixSet.resolutions);
} else {
- applyStyle(layer, glStyle, 'default_style', matrixSet.resolutions);
+ stylefunction(layer, glStyle, 'default_style', matrixSet.resolutions);
}
});
- applyStyle(layer, glStyle, 'default_style', matrixSet.resolutions);
});
+ stylefunction(layer, glStyle, 'default_style', matrixSet.resolutions);
}
return layer;
diff --git a/web/js/map/ui.js b/web/js/map/ui.js
index 85a22950e..ab300e082 100644
--- a/web/js/map/ui.js
+++ b/web/js/map/ui.js
@@ -7,7 +7,7 @@ import util from '../util/util';
import OlMap from 'ol/Map';
import OlView from 'ol/View';
import OlKinetic from 'ol/Kinetic';
-import OlGraticule from 'ol/Graticule';
+import OlGraticule from 'ol/layer/Graticule';
import OlStyleStroke from 'ol/style/Stroke';
import OlControlScaleLine from 'ol/control/ScaleLine';
import { altKeyOnly } from 'ol/events/condition';