leaflet 块状,并点击变色
1. 点击块状,变色,效果如下nn nn2. 代码如下:nnnnvar that=this;nnthat.partyDistrictLayer = L.geoJson(data, //获取边界并定义n style: n weight: 2,n opacity: 1,n color: ‘red’,n …
1. 点击块状,变色,效果如下nn nn2. 代码如下:nnnnvar that=this;nnthat.partyDistrictLayer = L.geoJson(data, //获取边界并定义n style: n weight: 2,n opacity: 1,n color: ‘red’,n …