Explore search circle changes to rectangle when radius is unspecified

Platform: web

Browser, if a website issue: any

URLs (aka web addresses) of any relevant observations or pages:
any Explore map search specifying lat/lng but not specifying radius, e.g. https://www.inaturalist.org/observations?lat=40.78094676128634&lng=-73.96688431611243

Description of problem:

Explore is happy to take a lat/lng search without an explicit radius param, defaulting to a radius of 10, e.g. https://www.inaturalist.org/observations?lat=40.78094676128634&lng=-73.96688431611243 is equivalent to https://www.inaturalist.org/observations?lat=40.78094676128634&lng=-73.96688431611243&radius=10. But if you do this and then try to move or resize the circle, it’s converted to a rectangle.

Step 1: Run lat/lng based search, e.g. https://www.inaturalist.org/observations?lat=40.78094676128634&lng=-73.96688431611243

Step 2: try to resize or move the circle

Step 3: now you have a rectangle

If you instead have an explicit radius param, e.g. https://www.inaturalist.org/observations?lat=40.78094676128634&lng=-73.96688431611243&radius=10, then it works as expected.

I will also note that observations on one’s dashboard offer a quick and easy way to accidentally get to this state because the link from the place description is a lat/lng Explore search without a specified radius.

1 Like

This stems from iNaturalist’s deeply-held belief that fitting square pegs into round holes is the highest calling.

Made a github issue here: https://github.com/inaturalist/inaturalist/issues/4166

3 Likes

This has been fixed.

1 Like

This topic was automatically closed after 15 hours. New replies are no longer allowed.