terra-draw
terra-draw copied to clipboard
[Bug] Google maps full screen mode, position of coordinates which user is drawing are getting misplaced.
Describe the bug I am using terra draw 1.19.0 with react and google maps. When creating shape using terra draw in using google maps normal mode it's working fine but when switching to google maps full mode, position of coordinates which user is drawing are getting misplaced.
Terra Draw npm version "terra-draw": "1.19.0", "terra-draw-google-maps-adapter": "1.1.0",
To Reproduce Steps to reproduce the behavior:
- Initialize terra draw with TerraDrawGoogleMapsAdapter with all necessary modes and other configurations and event handlers.
- Switch to google maps full screen mode using full screen control and try to create a new polygon shape
- One can see that shape is getting created to diff. coordinates not where user is putting mouse pointer when user is trying to draw polygon lines
- Same is working fine when google maps in normal mode.
Expected behavior User should be able to plot shape at correct coordinates.
Desktop (please complete the following information):
- OS: Windows
- Browser Chrome
- Version 142.0.7444.60