Skip to content

关于屏幕缩放,window.devicePixelRatio的问题 #4

Description

@taurz

windows系统下开启屏幕文字放大后(比如125%)在操作地图时,叠加图层(例如例子中的marker)和底图会错位,并且屏幕四周会有留白,未请求瓦片
应该是开发时未考虑window.devicePixelRatio的问题
image

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions