(points)
| 91 | } |
| 92 | |
| 93 | export 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 | |
| 105 | export const pointsLayer = { |
| 106 | id: 'points', |