Hi,
Does anyone know why the coordinates output from view.toMap are incorrect in the east hemisphere? I simplified the code to be the following. You run it and click the map anywhere and you will find that the output coordinates from cursorPoint are sometimes different from the one shown in base map (the correct one).
I actually found that X is correct sometimes if you move the map from left to right or from east to west.
If you click in Asia area and you will see that X is negative (should be positive)! Did anyone notice this before?
I believe you are looking at it wrong. they are not X and Y - but latitude, longitude. and it is normal to have negative values to one side of the line like:
Positive latitude is above the equator (N), and negative latitude is below the equator (S). Positive longitude is east of the prime meridian, while negative longitude is west of the prime meridian
More explanation of how the values run on the lattitude or longitude lines is here-> Understanding Latitude and Longitude