(zipcodesFormatted)
| 27 | } |
| 28 | |
| 29 | export 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 | |
| 52 | export const zipcodeLayerHigh = { |
| 53 | id: 'Zip', |
nothing calls this directly
no outgoing calls
no test coverage detected