ol 10.5.1-dev.1748531944555 → 10.5.1-dev.1748585599784
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ol.js +1 -1
- package/dist/ol.js.map +1 -1
- package/package.json +1 -1
- package/renderer/canvas/VectorLayer.js +1 -1
- package/util.js +1 -1
package/package.json
CHANGED
|
@@ -254,7 +254,7 @@ class CanvasVectorLayerRenderer extends CanvasLayerRenderer {
|
|
|
254
254
|
* @private
|
|
255
255
|
*/
|
|
256
256
|
resetDrawContext_() {
|
|
257
|
-
if (this.opacity_ !== 1) {
|
|
257
|
+
if (this.opacity_ !== 1 && this.targetContext_) {
|
|
258
258
|
const alpha = this.targetContext_.globalAlpha;
|
|
259
259
|
this.targetContext_.globalAlpha = this.opacity_;
|
|
260
260
|
this.targetContext_.drawImage(this.context.canvas, 0, 0);
|
package/util.js
CHANGED