-
Notifications
You must be signed in to change notification settings - Fork 288
Closed
Description
Request a feature or report a bug? [这是一个需求还是一个缺陷]
这是一个缺陷
One-line summary [问题简述]
缩放浏览器时mapvLayer会根据devicePixelRatio进行缩放,拖动地图时会对mapv元素进行重绘,因为context的缩放导致部分元素在clear时清除不掉
Version [产品及版本]
- iClient product (for leaflet,for openlayers,for mapboxgl,classic)[iClient 产品]:
- iClient version [iClient 版本]:
- Browser version [浏览器类型和版本]:
- OS Version [操作系统类型和版本]:
Actual Behavior [当前现象]
Expected Behavior [期望现象]
Example of reproducing the issue [重现现象的例子]
目前的解决办法是:
clear时将width和height同时除以缩放比例就能解决此问题
What is motivation or use case for changing the behavior? [需求的场景和目的是什么?]
Metadata
Metadata
Assignees
Labels
No labels