-
Notifications
You must be signed in to change notification settings - Fork 6
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
New filter "within radius of xxx meters" #269
Comments
We have such a filter in the API. But so far i've been avoiding it as I'm not sure how to implement it in a user friendly way. Not exactly sure technically either. I'm not sure how this work in different projections either. There is also something odd about drawing different geometries in on the map that behave differently (AND vs OR) The simplest solution I can think of just now is to not draw the geometry in the map view. But only have it as a filter with coordinates and radius. possibly a map (in the filter popup) in mercator. I think Tissot circles are circles everywhere in mercator? And then restrict range to mercator as well.+-85 lat |
I wonder if that audience is better served a different way altogether. Using that filter as an invisible background filter. The occurrence search as it is is more of a nerdy tool. Not really well optimised for the one time random citizen user, despite my best efforts to make it simple. Just the fact that search is using scientific names is enough to make it confusing. And all the darwin core terms when viewing individual records do not help either. Perhaps the use case you describe is better served by something like ALAs explore my area tool |
Yes, I agree. The filters are a bit nerdy, and the "explore my area" is something else. |
You could kind of hack that, by having an explore my area link on the homepage, that goes to the mapview and sets to mapcenter to the users location. I've added an example here gbif/hp-land@c61f06c it could probably benefit from a loader. Getting the users location can be a slow process UPDATE: I've added a loader |
btw - I've made it so that it should attach to any link tags with the class |
Wow... thanks Morten! |
I ended with a dialog of 3 questions, but compiled to one question it would be
|
The target group of the LAND hosted portals are also laymen, which might be interested in the direct surrounding. So a filter "all occurrences within xxx meters around my current location" would be nice.
Related to gbif/hp-land#10 (show current location in map)
The text was updated successfully, but these errors were encountered: