In Mapbox.js why doesn't onEachFeature work any more?

前端 未结 0 521
无人及你
无人及你 2021-01-13 06:58

In older versions of mapbox.js you can do something like this:

onEachFeature: function (feature, layer) {
    layer.bindPopup(popupHtml);
    console.log(laye         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题