performant-software / react-components

A library of shared React components
https://performant-software.github.io/react-components/
MIT License
1 stars 1 forks source link

Map Layers #245

Open jamiefolsom opened 7 months ago

jamiefolsom commented 7 months ago

Hey @rsimon! the GCA client has requested that we use this basemap, which we may as well do even though we're only in prototype mode: https://cloud.maptiler.com/maps/dataviz/

Also, as discussed with @dleadbetter, we would like to make it possible to populate the layer picker per-place. So the search mode would have the layers available which are configured per-deploy; in place mode, the place itself will provide the layers to be loaded into the picker, as an array of links to compatible map layers.

Let's discuss tomorrow (Thu, 1/18)!

rsimon commented 7 months ago

I have some basic layer switching functionality implemented. It's been tricky though, because vector maps just work in such a different way. (More about this in our meeting today.) I'll still have to refine this a bit today. But after that, we should have the basics in place.

FWIW: the original wireframes had "place-specific layers" in the site details sidebar. I believe this might be preferable over dynamically swapping the contents of the main layer switcher. But let's chat about it later today.