An open API service indexing awesome lists of open source software.

https://github.com/mizy/geojson-decoder

geojson 压缩/解压缩工具,使用Mapbox算法压缩path
https://github.com/mizy/geojson-decoder

Last synced: 6 months ago
JSON representation

geojson 压缩/解压缩工具,使用Mapbox算法压缩path

Awesome Lists containing this project

README

          

# 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({})
```

# 注意