Allow layers that are not managed by the map
When a layer is configured with a map, it will be added on top of other layers, and not be managed in the map's features collection. The layerState will have an 'unmanaged' flag for such layers. For vector layers, this flag is used to not skip any features.
This commit is contained in:
@@ -83,7 +83,8 @@ ol.renderer.webgl.VectorLayer.prototype.composeFrame =
|
||||
viewState.center, viewState.resolution, viewState.rotation,
|
||||
frameState.size, frameState.pixelRatio, layerState.opacity,
|
||||
layerState.brightness, layerState.contrast, layerState.hue,
|
||||
layerState.saturation, frameState.skippedFeatureUids);
|
||||
layerState.saturation,
|
||||
layerState.unmanaged ? {} : frameState.skippedFeatureUids);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user