You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently i'm using the experimental WSMLayer in order to load a wsm resource as overlay for the Mapbox Static map. It's loading correctly but i want to know if there is any way to delete the white background that is resized to the full viewport on every load.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
Currently i'm using the experimental WSMLayer in order to load a wsm resource as overlay for the Mapbox Static map. It's loading correctly but i want to know if there is any way to delete the white background that is resized to the full viewport on every load.
My code:
const wmsLayer = new WMSLayer({
data: 'https://carto.icv.gva.es/arcgis/services/tm_infraestructuras/ordenacion_territorial/MapServer/WmsServer',
serviceType: 'wms',
parameters: {
transparent: true,
format: 'image/png',
},
layers: ['3'],
});
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions