FREAC / LABINS

A web mapping application created for the Florida Department of Environmental Protection to provide survey data for the state of Florida.
https://labins.org/map
0 stars 0 forks source link

Basemap Slider #116

Open PhilipGriffith opened 4 years ago

PhilipGriffith commented 4 years ago

This should be a challenge! We would like to see if it is possible to recreate the basemap slider in the new LABINS, working much like the slider did at the top right of the screen in the older version. Do you think you'll have time to look into it? :)

clintonlunn commented 4 years ago

Cool! Yeah most of my time is during the weekends now, but I’ll get onto this.

shodge17 commented 4 years ago

Here is something I saw that could help get you started: https://stackoverflow.com/questions/41909614/leaflet-blend-between-two-basemap-layers

shodge17 commented 4 years ago

perhaps an OK start would be to just put opacity slider bars in the basemap selection panel.

shodge17 commented 3 years ago

Here is an example of a "basemap" slider. http://jsfiddle.net/jagravois/3rZK5/ I can see a number of problems with this. Now you can choose from a list of basemaps. This is good. The slider example just assumes two layers -- and note, they are not basemaps, just regular layers. Once you have basemaps at least one is turned on at all times. Yes we could add a white / null map as a basemap but I can see this getting confusing to the user as to how to use this option pretty quickly.

I think we will consider this one tabled for now but I want close it in case something surfaces in the next 5 months (June 20210)