如何使用 ngx-leaflet 更改默认光标?
How do I change the default cursor with ngx-leaflet?
我尝试更改为光标以实现与此示例中所示的传单绘制的流畅集成。
https://leaflet.github.io/Leaflet.draw/docs/examples/popup.html
当光标悬停在图片上时,张开手。当光标在绘图上时,它是一个指针。
不幸的是,此处描述的标准传单技术均无效。
How do I change the default cursor in leaflet maps?
有人知道如何使用 ngx-leaflet 做到这一点吗?
问题是由于具有相同尺寸的 imageoverlay 堆叠在 tilelayer 后面造成的。我必须在 imageOverlay
中设置 interactive: false
我尝试更改为光标以实现与此示例中所示的传单绘制的流畅集成。
https://leaflet.github.io/Leaflet.draw/docs/examples/popup.html
当光标悬停在图片上时,张开手。当光标在绘图上时,它是一个指针。
不幸的是,此处描述的标准传单技术均无效。
How do I change the default cursor in leaflet maps?
有人知道如何使用 ngx-leaflet 做到这一点吗?
问题是由于具有相同尺寸的 imageoverlay 堆叠在 tilelayer 后面造成的。我必须在 imageOverlay
中设置 interactive: false