npm.io
1.0.1 • Published 6 years ago

geojson-decoder

Licence
ISC
Version
1.0.1
Deps
1
Size
109 kB
Vulns
0
Weekly
0
Stars
1

geojson-decoder 解压/压缩工具

api

import encoder from 'GeoJSONDecoder';
encoder.encode( {
         "type": "MultiLineString",
         "coordinates": [
             [
                 [100.0, 0.0],
                 [101.0, 1.0]
             ],
             [
                 [102.0, 2.0],
                 [103.0, 3.0]
             ]
         ]
})
encoder.decode({})

注意