直接調用在(zài)線示例的(de)代碼在(zài)谷歌裏打不(bù)開,控制台報錯SuperMap.Include.js:17 A parser-blocking
代碼如下(其實就(jiù)是(shì)文檔示例的(de)代碼):
<html> <head> <title>GetStarted</title> <style> .mapcontainer{ height: 600px; } </style> <script src='http://www.supermapol.com/resources/api/libs/SuperMap.Include.js'></script> </head> <body> <div id="map" class="mapcontainer"></div> <script> var url="http://www.supermapol.com"; var viewer=new SuperMap.Cloud.MapViewer(url,"map"); viewer.previewMapById(493); </script> </body> </html>
。。。。