Leaflet JS - Country Boundaries

大憨熊 提交于 2019-12-25 05:33:05

问题


I am using Leaflet JS to create a map. Have to say I'm a huge fan, Works a lot smoother than Google and Bing too. Also like the customisation you can do with it. Brilliant!

The only query / issue I have is the big lines it draws blue (or themed borders) around countries. See screenshot attached.

I am wondering if there is a method to remove them?

Thanks


回答1:


This has nothing to do with leaflet. The lines are drawn by your tile provider. Change the source of the tiles to fit your needs.

Cloudmade Mapbox



来源:https://stackoverflow.com/questions/17675274/leaflet-js-country-boundaries

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!