A Nuxt.js tool that reads data from a SQL database and renders it on different views (map, gallery, alerts dashboard)
3
stars
0
forks
source link
Add a `BasemapSelection` component to allow the user to change the map style #51
Closed
rudokemper closed 2 months ago
Feature Request
Recently, we have established that we would like to add an option for users to explore their change detection alerts overlaid on various satellite imagery - e.g. Planet (cf. https://github.com/ConservationMetrics/guardianconnector-views/issues/44), Sentinel - backgrounds. To do this, we will need a basemap picker to change the map style as per this Mapbox API example.
Initial options may include: default Mapbox map,
satellite-streets-v12
and Planet NICFI.Implementation plan
BasemapSelector
which provides a UI to toggle between different basemap options.Map
andAlertsDashboard
components should listen for changes in the active style URL, and repaint the map when a new style is set.PLANET_API_KEY
is set.Inspo
Global Forest Watch:
Explorer.Land:
Esri: