So I have an Image of the map which users can plot points and then the location the user has touched or clicked is then saved by sending the e.nativeEvent.locationX
value and e.nativeEvent.locationY
value to my database. This will allow the user to review the points they have plot before in the future.
What's the problem
So when I plot the point on my Tablet and review where I placed the plot on the map using my PC, It is displayed incorrectly. I assume this is due to different screen sizes and the image being a different size depending on the device.
How do I resolve this issue so that the plots are consistent no matter what device you are using?