Add layer opacity

As requested by @Bfritz0815
This commit is contained in:
uwap 2017-11-06 06:19:37 +01:00
parent 2f342b72bc
commit 4a19d8d45e
3 changed files with 6 additions and 3 deletions

View file

@ -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>
);
}