Widgets
There are several pre-build Widgets within Isthmus that can be used for manipulating data viewed within the map. Please review the roadmap for future additions and open an issue for other suggestions.
In the base example, widgets are rendered in the
RightBar.js
file however using Airship, they can be placed in any container.
General Concepts
Make sure to use the correct
import
syntaxThere are far more props in the widgets, so make sure to follow the documentation closely
Category Widget
The Category
component adds in a Category widget from Airship and creates a Dataview and Filter on the layer you are applying the widget to. See the Airship docs for more details. It takes the following props:
Histogram Widget
The Histogram
component adds in a Histogram widget from Airship and creates a Dataview and Filter on the layer you are applying the widget to. See the Airship docs for more details. It takes the following props:
Range Slider
The Range
component adds in a Range widget from Airship and creates a Filter on the layer you are applying the widget to. See the Airship docs for more details. It takes the following props:
Formula
The Formula
component adds in a text display and creates a Filter (along with a bounding box filter) on the layer you are applying the widget to. It takes the following props:
Text Search
The TextSearch
component adds in a text search input field and creates a Filte on the layer you are applying the widget to. It takes the following props:
Infowindow
Lacking configuration - coming soon
Export
Export
creates a button to export your data with the current set of applied filters. It takes the following props:
Last updated