-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Viewport and Pincount #15
Comments
This is a bug. Pincount only works for the first time you load a map (maybe a zoomlevel).
with area being something like
which is already implemented. This function currently is used by the grid cluster - it queries the content of a grid cell in this case. |
That sounds good. I am wondering what your thoughts are on the ability
|
That is a good point. Getting all markers within a geometry (polygon/s or rectangle/s or circle/s) is easy, we should implement the area in the |
Working through this a little more, I want to run another idea by you. Your current |
fixed with the latest commit |
My goal is to be able to get a list of all the markers in the current viewport. My starting point for this has been pincount. My theory is that pincount needs to be accurate first before I can expect to receive a valid list of markers. What I am finding is that the pincount does not behave as I would expect. If I load my site, I get n number of pins. If I pan around the map, I continue to get n or a little more than n. I would expect the pincount to decrease as I go from the full view of everything down to a smaller sampling. I have also experienced instances where the pincount will double and continue to double as I move around the map. I am leveraging loadStart and loadEnd to see what the value of pincount is.
Is this a bug or me?
Thanks!
Larry
The text was updated successfully, but these errors were encountered: