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
I am trying to use time dimension to load a WMS layer with multiple layers (layers: 'World:layer1,World:layer2,World:layer3,World:layer4') in one request. The problem is the time dimension isn't working cause of the multiple layers so I tried to use getCapabilitiesLayerName: World:layer1 and pull the time from that one layer but it's not working. I have searched through the code and doesn't seem like it is implemented anymore. I don't see anywhere where the alternate layer name variable is used beyond the pull from the declaration.
The text was updated successfully, but these errors were encountered:
Can you describe your problem, with a reproductible code snippet ?
If you use L.TileLayer.WMS, the timedimension layer will use exactly the same parameters than the template layer (layers, bbox, styles,...). It will only add a time parameter to the queries.
Available times are computed based on a GetCapabilities request. Did you check the result of this request with layers=World:layer1,World:layer2,... ?
The GetCapabilities shows both layers having a time parameter. If I do them individually it works just fine. I thought I could just use the alternate layer name variable to tell the script to just grab one of the layers for time dimension like I did with the alternate url but again it doesn't look like that variable is used or can be used at all.
I am trying to use time dimension to load a WMS layer with multiple layers (layers: 'World:layer1,World:layer2,World:layer3,World:layer4') in one request. The problem is the time dimension isn't working cause of the multiple layers so I tried to use getCapabilitiesLayerName: World:layer1 and pull the time from that one layer but it's not working. I have searched through the code and doesn't seem like it is implemented anymore. I don't see anywhere where the alternate layer name variable is used beyond the pull from the declaration.
The text was updated successfully, but these errors were encountered: