Skip to content

Commit af4738a

Browse files
authored
fix(google): Do not force canvas resize (#9695)
1 parent 6646fa4 commit af4738a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

modules/google-maps/src/google-maps-overlay.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,6 @@ export default class GoogleMapsOverlay {
267267
deck.setProps({_framebuffer});
268268
}
269269

270-
// With external gl context, animation loop doesn't resize webgl-canvas and thus fails to
271-
// calculate corrext pixel ratio. Force this manually.
272-
device.getDefaultCanvasContext().resize();
273-
274270
// Camera changed, will trigger a map repaint right after this
275271
// Clear any change flag triggered by setting viewState so that deck does not request
276272
// a second repaint

0 commit comments

Comments
 (0)