raintee-maputils 1.0.37 → 1.0.38

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/index.js CHANGED
@@ -5777,7 +5777,8 @@ const treeDataAdapter = (data) => {
5777
5777
  label: layerName,
5778
5778
  fullLayerName: groups.length === 0 ? layerName : groups.join('-') + '-' + layerName,
5779
5779
  layerId: item.id,
5780
- opacity: '1.0',
5780
+ opacity: item.type === 'fill' ? item['paint']['fill-opacity'] : item.type === 'fill' ? item['paint']['fill-opacity'] : item.type === 'line' ? item['paint']['line-opacity'] : item.type === 'circle' ? item['paint']['circle-opacity'] : "1.0",
5781
+
5781
5782
  });
5782
5783
  if (item.layout && item.layout.visibility == 'visible') {
5783
5784
  checkedKeys.push(currentNodeKey);