Cadasta / cadasta-platform

[DEPRECATED] Main repository of the Cadasta platform. Technology to help communities document their land rights around the world.
https://demo.cadasta.org
GNU Affero General Public License v3.0
53 stars 81 forks source link

Overlapping polygonal locations may result in some of them becoming unselectable #496

Open seav opened 8 years ago

seav commented 8 years ago

If polygonal locations overlap, depending on the order they are added to the map, some locations may become unclickable because they are "behind" other locations. This makes it impossible for the user to open the location detail unless they know the location ID and hack at the URL.

One way to solve this is to do client-side point-in-polygon check to find out which polygons encompass the point clicked on the map. We then present a list of locations that match the point clicked. The user can then select the desired location.

seav commented 8 years ago

If we are going to do the point-in-polygon check and present a list of locations, the UI needs to be designed. Right now, the popup shown when a single location is clicked is not really suitable for a list of locations:

screenshot

It would also be nice if when hovering the mouse pointer over the link to each location, the corresponding location geometry gets a highlight.

clash99 commented 8 years ago

A sliding panel list of locations and filterable results are the direction we are heading in, we just haven't gotten there yet. These are all in the wireframes under the map portion. Take a look and we should set aside some time in Frankfurt to discuss.

@wonderchook - Is there any time scheduled in the mini-sprint for more dev work on this area?

Projects-Map.pdf

clash99 commented 8 years ago

Related to #429