Skip to content

关于网格单位大小的问题 #12

@shanyipeng

Description

@shanyipeng

发现测试demo random.html 设置网格 大小为5时 绘画出大小不同的网格

    var grid = new maptalks.GridLayer('grid', {
            projection: true,
            center: map.getCenter(),
            **width: 5,**
            **height: 5,**
            data: data
        })
        .addTo(map);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions