Patterns

Skip to main content
1.6.1

Maps

All map source files can be found here: src/objects/map/. Maps are powered by Mapbox, and require a Mapbox token to initialize on your own project.

Map: multi-source

This is a multi-source map, meaning you can use a one or multiple geojson files to generate the different layers displayed on a map. In this example, zipcodes, neighborhoods, and boroughs are each individual geojson files.

Each geojson source used should contain only one geometry field.

Map: single-source

This map utilizes one source and displays a legend