OpenWaterFoundation / owf-app-infomapper-ng

Open Water Foundation InfoMapper web application for menu-driven maps and visualizations, using Angular
GNU General Public License v3.0
1 stars 2 forks source link

Add configuration properties for symbol labels #333

Open smalers opened 3 years ago

smalers commented 3 years ago

Tools like the image gallery are causing requirements that are more difficult to deal with. One is that the layer needs to draw with appropriate label handling for markers. This discussion actually applies to any feature type but let's focus on points, which is the bulk of the requirements.

We have so far avoided labeling layer markers with any type of text and have instead relied on mouse-over to show information. Labels for a busy map introduce a lot of text, which when overlapping is unreadable. Also, the human brain's short-term memory limits make it difficult to absorb lots of text. The search feature via data table is a better way to find data than visually scanning over many markers and their labels. It may be necessary to label markers in some cases, either with text within a marker (such as done at TriLynx Systems) or a label outside of the marker.

However, the implementation of the image gallery has introduced a need to label markers because there is a visual link between those markers and the images in the gallery. This design has been demonstrated by Esri and other tools and makes sense. Below are technical considerations.

For normal situations, no label properties will be shown and missing labelText would indicate no label. If an image gallery is used, do we require labelText or default? Does the image gallery still work if no labels are shown? It is OK to choose defaults that override other default behavior, but need to be able to document.