leaflet-tilelayer-geojson

2018-08-12 admin

leaflet-tilelayer-geojson是什么

什么是leaflet-tilelayer-geojson,Leaflet plugin to render GeoJSON data over tile layer

leaflet-tilelayer-geojson介绍、leaflet-tilelayer-geojson使用

'; for (var k in feature.properties) { var v = feature.properties[k]; popupString += k + ': ’ + v + ‘<br />’; } popupString += ‘</div>’; layer.bindPopup(popupString); } if (!(layer instanceof L.Point)) { layer.on(‘mouseover’, function () { layer.setStyle(hoverStyle); }); layer.on(‘mouseout’, function () { layer.setStyle(style); }); } } } ); map.addLayer(geojsonTileLayer);


### [](#constructor)Constructor

L.TileLayer.GeoJSON( <String> urlTemplate, <GeoJSONTileLayer options> options?,

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-37811.html

文章标题:leaflet-tilelayer-geojson

回到顶部