Add layer opacity
As requested by @Bfritz0815
This commit is contained in:
parent
2f342b72bc
commit
4a19d8d45e
3 changed files with 6 additions and 3 deletions
|
|
@ -63,7 +63,7 @@ class SpaceMap extends React.Component<{state: State, width: number, height: num
|
|||
return (
|
||||
<LayersControlType name={layer.name}
|
||||
checked={layer.defaultVisibility == "visible"}>
|
||||
<ImageOverlay url={layer.image} bounds={bounds} />
|
||||
<ImageOverlay url={layer.image} bounds={bounds} opacity={layer.opacity} />
|
||||
</LayersControlType>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue