@evergis/react 2.0.99 → 2.0.102

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/dist/react.esm.js CHANGED
@@ -3238,7 +3238,8 @@ function useEvergisTileLayer(_ref) {
3238
3238
  subDomains,
3239
3239
  zIndex,
3240
3240
  isDisplayed,
3241
- crs
3241
+ crs,
3242
+ opacity
3242
3243
  } = _ref;
3243
3244
  const api = useEvergisContext();
3244
3245
  const {
@@ -3247,9 +3248,10 @@ function useEvergisTileLayer(_ref) {
3247
3248
  const layer = useMemo(() => new EvergisTileLayer$1({
3248
3249
  name,
3249
3250
  subDomains,
3250
- crs
3251
+ crs,
3252
+ opacity
3251
3253
  }, api), // eslint-disable-next-line react-hooks/exhaustive-deps
3252
- [name, subDomains, crs]);
3254
+ [name, subDomains, crs, opacity]);
3253
3255
  useEffect(() => () => {
3254
3256
  map.indexOf(layer) !== -1 && map.removeLayer(layer);
3255
3257
  }, // eslint-disable-next-line react-hooks/exhaustive-deps