tileLayer.chinaProvider is not a function
代码:
L.tileLayer.chinaProvider('Baidu.Normal.Map').addTo(map).setOpacity(1);
你好,你这是用leaflet的插件chinaProvider对吧,是不是没有引入对应包文件,gethub leaflet.chinaProvider地址: https://github.com/lin-123/leaflet.chinaProvider