案例内资源下载:https://www.makeapie.cn/资源地址
var gjson = JSON.parse('{"type":"FeatureCollection", "features": ['
+'{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[118.866526,32.134437],[118.867982,32.135049],[118.873264,32.136822],[118.873982,32.136547],[118.873892,32.134804],[118.87427,32.132954],[118.875581,32.129254],[118.876228,32.127374],[118.875294,32.127007],[118.874593,32.126548],[118.873066,32.12505],[118.87197,32.123016],[118.870389,32.124515],[118.868988,32.12586],[118.865933,32.130248],[118.865466,32.131945],[118.8657,32.133153],[118.866149,32.133979],[118.866526,32.134437]]]},"properties":{"name":"","cp":[118.874452,32.132766],"childNum":3}},'
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
运行版本:^4.2.0 Tips:如不显示可切换版本试试
Console调试
 Console调试