All Questions
Tagged with transparency-opacity openlayers
7 questions
0
votes
2
answers
635
views
Change opacity of the layer with range slider
I want to change the opacity of the layer with a range slider (input type="range") when scrolling
here is my layer code in main.js:
const UnTiled = new ol.layer.Image({
opacity:0....
1
vote
1
answer
601
views
OpenLayers setting opacity without disappearing the edge that marks it
I'm trying to set the transparency of the polygons on the map. This works and I can save them in the database with this code:
$('#constructii_trasp').on('change', function(){
...
0
votes
0
answers
101
views
OpenLayers6 TileArcGISRest LAYERS param doesn't allow to modify and transparency of the features
I am trying to modify the transparency of the features ans I don't have a clue about how to do it.
The site https://openlayers.org/en/latest/apidoc/module-ol_source_TileArcGISRest.html refers to ...
4
votes
3
answers
4k
views
Change Opacity of Style
Is there any convenient way to change the opacity of a ol.style.Fill or ol.style.Stroke Object?
As far as I understand it, there are 2 ways to define a color with an opacity.
fill.color = [255,0,0,...
0
votes
1
answer
620
views
Changing opacity of map outside feature in OpenLayers 3?
I want to change opacity of map outside feature (which is closed polygon) in OpenLayers 3.
Is it possible?
1
vote
1
answer
2k
views
Set background color and opacity for a WKT layer vector in OpenLayers3
I have this function:
function drawLayer(wktRegion, name,colour = "transparent"){
var format = new ol.format.WKT();
var feature = format.readFeature(wktRegion);
feature.getGeometry()...
1
vote
0
answers
1k
views
OpenLayers add white background to image/png geoserver layer
i created a new wms layer in openlayers. i get the layer from geoserver as image/png and transparent=true.
openlayers rotate the raster 30 deg (due to its coordinates - it's fine!) but add white ...