MCPcopy Create free account
hub / github.com/caesarHQ/textSQL / zipcodeLayerLow

Function zipcodeLayerLow

client/censusGPT/src/utils/mapbox-ui-config.js:29–50  ·  view source on GitHub ↗
(zipcodesFormatted)

Source from the content-addressed store, hash-verified

27}
28
29export const zipcodeLayerLow = (zipcodesFormatted) => {
30 return {
31 id: 'zips-kml',
32 type: 'fill',
33 source: 'zips-kml',
34 minzoom: 5,
35 layout: {
36 visibility: 'visible',
37 },
38 paint: {
39 'fill-outline-color': 'black',
40 'fill-opacity': 0.9,
41 'fill-color': '#006AF9',
42 },
43 'source-layer': 'Layer_0',
44 filter: [
45 'in',
46 ['get', 'Name'],
47 ['literal', zipcodesFormatted], // Zip code in the feature is formatted like this: <at><openparen>94105<closeparen>
48 ],
49 }
50}
51
52export const zipcodeLayerHigh = {
53 id: 'Zip',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected