You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to bind left/right arrow key presses to functions which move to previous/next photos on a map. Currently, browsing through all the photos on a map is a little tedious (requires a lot of clicking; close current photos, re-expand cluster group, pick next photo, etc).
The biggest challenge seems to be figuring out which photo is the correct previous or next photo from the currently-displayed popup. If you can suggest a way you'd approach this problem, I'm willing to try creating something. Do you think this can be implemented in one way for maps with and without markercluster, or will these require separate implementations?
I see that L.layerGroup has a getLayer function, which seems like it would be useful, but it's not clear what kinds of id values it's expecting or how those are generated.
The text was updated successfully, but these errors were encountered:
I'd like to bind left/right arrow key presses to functions which move to previous/next photos on a map. Currently, browsing through all the photos on a map is a little tedious (requires a lot of clicking; close current photos, re-expand cluster group, pick next photo, etc).
The biggest challenge seems to be figuring out which photo is the correct previous or next photo from the currently-displayed popup. If you can suggest a way you'd approach this problem, I'm willing to try creating something. Do you think this can be implemented in one way for maps with and without markercluster, or will these require separate implementations?
I see that
L.layerGroup
has a getLayer function, which seems like it would be useful, but it's not clear what kinds ofid
values it's expecting or how those are generated.The text was updated successfully, but these errors were encountered: