-
Notifications
You must be signed in to change notification settings - Fork 475
Description
Hi,
I haven't been able to pin point the exact cause but after bumping up Openlayers from 10.7.0 to 10.8.0, in a big application, I'm getting this error:
I saw Openlayers 10.8.0 have a lot of styling/SVG optimizations, so maybe it's a bigger fix.
ol-ext_style_Chart.js?v=635ddf33:149 Uncaught TypeError: canvas.getContext is not a function at olstyleChart.getImage (ol-ext_style_Chart.js?v=635ddf33:149:26) at olstyleChart.createHitDetectionCanvas_ (chunk-U5K7WBE3.js?v=76cfa538:809:44) at olstyleChart.getHitDetectionImage (chunk-U5K7WBE3.js?v=76cfa538:500:39) at CanvasImageBuilder.setImageStyle (chunk-PTLPS44T.js?v=76cfa538:954:42) at renderPointGeometry (chunk-PTLPS44T.js?v=76cfa538:4940:17) at renderFeatureInternal (chunk-PTLPS44T.js?v=76cfa538:4835:5) at renderFeature (chunk-PTLPS44T.js?v=76cfa538:4810:3) at CanvasVectorLayerRenderer.renderFeature (chunk-PTLPS44T.js?v=76cfa538:5534:19) at render (chunk-PTLPS44T.js?v=76cfa538:5470:30) at CanvasVectorLayerRenderer.prepareFrame (chunk-PTLPS44T.js?v=76cfa538:5489:7)