Skip to content

数据规范

Mofei Zhu edited this page Sep 17, 2015 · 5 revisions

点数据

[
    {
        lng: 116.46507, // 经度
        lat: 39.929101, // 纬度
        count: 1 // 当前点的权重值
    },
    //....
]

线数据

[
    {
        geo: [
            [116.39507, 39.879101],
            [116.49507, 39.889101],
            [116.46507, 39.929101],
            [116.43507, 39.909101]
        ],
        count: 10
    }
]

面数据

[
    {
        geo: [
            [116.39507, 39.879101],
            [116.49507, 39.889101],
            [116.46507, 39.929101],
            [116.43507, 39.909101]
        ],
        count: 10
    }
]
Clone this wiki locally