I’ve been looking through my Leaflet mapping code, and realized the system by default lists over 100 layers

I’ve been looking through my Leaflet mapping code, and realized the system by default lists over 100 layers. That’s probably too much and the way the code is written in an incremental piece-by-piece fashion, it’s really hard to maintain. So I am working on converting it over a flat-file CSV spreadsheet, then I can just iterate through that and pull the layers I actually need or think would be useful for a map. Also, I want more flexibility on base layers vs overlays — often there are layers I would like to add in a dual pane mode, but can’t do under the current design of code, such as National Land Cover vs Aerial Photo or NLCD 2001 vs 2016 to better track land use changes.

OpenStreetMap: One of the World's Largest Collaborative Geospatial Projects - GIS Lounge
SVGZ Graphic: Cattle in America (2017)
SVGZ Graphic: Final USGS DRG Topographic Map Update
SVGZ Graphic: How Big is Texas?
SVGZ Graphic: Nearest Foreign Country
SVGZ Graphic: Percentage of Town Area Sloping North
SVGZ Graphic: Which is Closer - New York or Texas?
Terrain Map: Digital Terrain Models
Thematic Map: Big Foot Sightings

Leave a Reply

Your email address will not be published. Required fields are marked *