Skip to content

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

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);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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