如何检查地图上是否已经添加了传单图层?


14

我构建了一个简单的地图应用,在地图上有一个图层。在Leaflet中,如何检查图层是否已存在?

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.