File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 * Module geojson implements types and functions for working with GeoJSON.
33 * @module geojson
44 */
5- export * as geojson from 'geojson'
6-
75export { Encodable , Decodable } from './geometry'
86export { toGeoJSON , fromGeoJSON } from './geometry'
97
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import { Loop } from '../s2/Loop'
99export const marshal = ( loop : Loop , ordinal : number ) : geojson . Position [ ] => {
1010 const ring = loop . vertices . map ( position . marshal )
1111 if ( ordinal > 0 ) ring . reverse ( ) // outer ring remains CCW, inner rings become CW
12- ring . push ( ring . at ( 0 ) ! ) // add matching start/end points
12+ ring . push ( ring [ 0 ] ) // add matching start/end points
1313 return ring
1414}
1515
Original file line number Diff line number Diff line change 55 "theme" : " default" ,
66 "readme" : " README.md" ,
77 "hideGenerator" : true ,
8- "entryPoints" : [" index.ts" ]
8+ "entryPoints" : [" index.ts" , " node_modules/@types/geojson/index.d.ts " ]
99}
You can’t perform that action at this time.
0 commit comments