Replies: 1 comment
-
Apparently the getBounds().getNorthEast() etc is only available on the onDragEnd event on not onload. Got it working if i access the function on the onDragEnd event. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Im trying to get the bounds (Lat, Lng) of the map on the screen so i can only load markers they are in view to help with performance. However when u use getNorthEast(), getSouthWest() it returns "1,180" and "-1,-180" and not coordinates.
Am i doing something wrong?
thanks
Beta Was this translation helpful? Give feedback.
All reactions