阅读背景:

问题绑定事件/弹出到现有的单张地理json层。

来源:互联网 

I am trying to add local json data to a GeoJson layer in Leaflet, and then (for now) bind a popup to each feature in the json. The trouble is that I am unable to first create a geojson layer, and then later bind popups. Is there any way to do this? I am only able to create the layer and add the popups at the same time. What I have so far:I am trying to add local json data to a GeoJson




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: