Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Functionality/InputSearchExploreExploratory AnalysisSuggestionsDecision
SensorsFiltered SensorsAll Sensors?All Sensors and Filtered Sensors
Currently handled through properties
Drawing shapesBased on the draw filter location optionNever? (Based on a radio button?)

Draw shapes functionality could be in a different component specifically for drawing shapes and it extends the map.

It will contain the html for the buttons and all the event listeners for draw functionality.

It will need to take as input the functions that are currently used for search vs explore like updating the global state and the rules for enabling/disabling.


Shapes feature / Clustering

Cluster shapes.

Style to match v2 if single feature

?Never

A style function to be sent in from the 'parent' maps to the Map.

Clustering functionality could also be a different component/extension for the Map. And enabled through properties.

It will take the styling function as input.

It will define the generatePointsCircle and displayOverlappingMarkers

removeClusterLayers


On Click feature / popup contentsSimilar contentsNeeds to reflect the trend on button click

To have a component with the html contents of the popup.

The component could have a way of being extended with additional details (the different parts between search and exploratory analysis)

The component is sent as a property to the Map.


External Listeners
On click on a feature in the left, the popup needs to show up.
An extension/event listener defined within ExploreMap Component.
Feature Attributes10 attributes10 attributes10 + 4 attributesSome way of extending/appending the extra parameters not considered common or necessary (for trends)
Additional Layers
  • Shapes for each lake or basin




Shape for the icons/featuresSVG's with colors per source

SVG's with colors per source

gray circles

Change to triangles on update

Send a style function as input within the properties.

...