【发布时间】:2021-07-03 15:20:42
【问题描述】:
我的某些功能只有在用户的视野中才会出现,我该怎么做Image of a polygon that needs to be removed if it is off-screen of the user?
【问题讨论】:
-
你的意思是它们应该只出现在视图的内部,例如openlayers.org/en/latest/examples/center.html 或openlayers.org/en/latest/examples/view-padding.html?
-
它看起来像这样:假设只有用户在地图上“可以看到”时才会出现一个圆圈,当不在设备屏幕的视野范围内时它可以完全消失
-
查看我的照片来说明我的问题
标签: javascript html maps openlayers tiles