@mapcomponents/react-maplibre 1.0.7 → 1.0.8
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 +5 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.cjs.js
CHANGED
|
@@ -3448,7 +3448,7 @@ function LayerListItem(_a) {
|
|
|
3448
3448
|
var _layerComponent = React.useMemo(function () {
|
|
3449
3449
|
var _a;
|
|
3450
3450
|
if (layerComponent && type === 'layer') {
|
|
3451
|
-
switch (layerComponent.type.
|
|
3451
|
+
switch (layerComponent.type.displayName) {
|
|
3452
3452
|
case 'MlWmsLayer':
|
|
3453
3453
|
return React.cloneElement(layerComponent, __assign(__assign({}, layerComponent === null || layerComponent === void 0 ? void 0 : layerComponent.props), { visible: _visible }));
|
|
3454
3454
|
case 'MlVectorTileLayer':
|