Closed nimmolo closed 3 months ago
@mo-nathan @JoeCohen If you have time, please check in on the discussion in #2088. Whatever the consensus is, i'll apply it to this PR.
@nimmolo:
Each smaller box represents a single, un-geolocated Observation with a Location whose box is smaller than Klickitat Co. The larger box outlines Klickitat Co.
If you click Show All, it lists 5 Observations: the 2 without lat/lon, and 3 with lat/lon. Somehow, 2 of the geolocated Observations have gone missing.
I have no clue why two of the results have disappeared. Bug in query? Wrong query string? Something else? I can't figure out how to get a map of only points.
Maybe use a different symbol instead of a box if the the box represents only a combination of (a) any ungeolocated Observations and (b) any Observations with hidden geolcation. Possibilities include: a circle, a different color/shape pin.
@JoeCohen - good catch re: points in Klickitat County.
I just pushed a change where it lets points through if the number of objects is below the max, i.e. if there's no chance the points will be auto-aggregated and potentially become invisible, like Joanne's in Santa Cruz Island on the larger occurrence map.
This is a definite improvement that I would have missed, thank you. Your example in Klickitat now shows points.
This will only work if Google somehow provides separate captions for coinciding points, because there will be plenty of these. If that's not possible, we're stuck with boxes for the long term, and I can invest more time into differentiating them.
@JoeCohen The question in #2088 is my two long illustrated posts at the bottom, regarding maps for single observations. This PR changes the default to favor the geolocation over the associated MO location in all cases.
CollapsibleCollection
. Reason: There is a problem with my recent "improvement" on main, for Joanne's Santa Cruz Island observations. Two very close points that were previously aggregated into "USA" (and thus hard to detect) are now being aggregated into a box that is so small it is invisible at a zoomed-out view. Switching to displaying the associated Location boxes is the easiest way to bump up the box size to something noticeable. Links to the individual obs are still accessible via the box caption.MarkerClusterer
, but I feel like this stopgap is much improved over what's currently on main.