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

Function zipcodeFeatures

client/censusGPT/src/utils/mapbox-ui-config.js:5–15  ·  view source on GitHub ↗
(zipcodes)

Source from the content-addressed store, hash-verified

3 */
4
5export const zipcodeFeatures = (zipcodes) => {
6 return zipcodes.map((z) => {
7 return {
8 type: 'Feature',
9 geometry: {
10 type: 'Point',
11 coordinates: [z.long, z.lat],
12 },
13 }
14 })
15}
16
17export const citiesFeatures = (cities) => {
18 return cities.map((c) => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected