直接调用在线示例的代码在谷歌里打不开,控制台报错SuperMap.Include.js:17 A parser-blocking
代码如下(其实就是文档示例的代码):
<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>
。。。。