react-native-maps-draw icon indicating copy to clipboard operation
react-native-maps-draw copied to clipboard

Bounding Box is always offset from where you've drawn

Open gotnull opened this issue 3 years ago • 6 comments

The polygon coordinates are offset once they've been drawn.

Example:

F78C8C38-6F14-4FF3-97F7-E4679017631F

Output (wrong offset):

9B36554D-704B-4790-84A4-FA262E801BF6

gotnull avatar Jan 10 '23 10:01 gotnull

Hi. Yes, this is just an example. Possible sources of the bug: 1) the algorithm incorrectly converts position x/y to coordinates. 2) The touch area is not identical under the map 3) I made a mistake somewhere in the algorithm

вт, 10 янв. 2023 г. в 13:09, Fuzz @.***>:

I've noticed that even in your example GIF that when you draw the coordinates aren't exactly the same area. They offset once you've finished drawing... any idea why?

— Reply to this email directly, view it on GitHub https://github.com/dev-event/react-native-maps-draw/issues/15, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANQ5A4S4QZKCHGS65YB6GN3WRUYM7ANCNFSM6AAAAAATWQ6DLQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

dev-chief avatar Jan 11 '23 18:01 dev-chief

i am facing same issue on ios any solution?

ahmadgoraya avatar Mar 16 '23 13:03 ahmadgoraya

Thinking about possibly using this, would love to be able to draw on maps. Has this been resolved?

Commenting to find out when. :)

JasonK97 avatar Apr 06 '23 20:04 JasonK97

no its not resolved on my side

ahmadgoraya avatar Apr 08 '23 08:04 ahmadgoraya

no its not resolved if any solution plz send me

On Fri, Apr 7, 2023 at 1:20 AM Jason Kent @.***> wrote:

Thinking about possibly using this, would love to be able to draw on maps. Has this been resolved?

Commenting to find out when. :)

— Reply to this email directly, view it on GitHub https://github.com/dev-event/react-native-maps-draw/issues/15#issuecomment-1499573419, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASMWFADAFB2B4G5RX2N72O3W74QPTANCNFSM6AAAAAATWQ6DLQ . You are receiving this because you commented.Message ID: @.***>

ahmadgoraya avatar Apr 08 '23 08:04 ahmadgoraya

I am facing this issue @dev-event. after changing Safeareaview into View in App.tsx it works for me.

C-Parthiban avatar May 17 '23 07:05 C-Parthiban