We can't rely on the event's offsetX / offsetY, because that's relative to the event target. The event target may not be the map, due to event bubbling. In the case where it's another avatar, the offsetX/Y are relative to that avatar, so the offsetX/Y values are very small.
We can't rely on the event's offsetX / offsetY, because that's relative to the event target. The event target may not be the map, due to event bubbling. In the case where it's another avatar, the offsetX/Y are relative to that avatar, so the offsetX/Y values are very small.