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

Function pointsFeatures

client/censusGPT/src/utils/mapbox-ui-config.js:93–103  ·  view source on GitHub ↗
(points)

Source from the content-addressed store, hash-verified

91}
92
93export const pointsFeatures = (points) => {
94 return points.map((p) => {
95 return {
96 type: 'Feature',
97 geometry: {
98 type: 'Point',
99 coordinates: [p.long, p.lat],
100 },
101 }
102 })
103}
104
105export const pointsLayer = {
106 id: 'points',

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected