Skip to content

Latest commit

 

History

History
72 lines (56 loc) · 1.55 KB

1.7README.md

File metadata and controls

72 lines (56 loc) · 1.55 KB

超图软件

@(笔记)[超图软件]@案例:https://github.com/lhywell/map/tree/master/example/example10


入门教程

官网

https://www.supermapol.com/developer/index

申请密钥

申请超图软件密钥,申请请跳转链接

查看API

示例

https://www.supermapol.com/web/maps

构建一个地图

<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">

    <head>
        <title>GetStarted</title>
        <style>
        html {
            height: 100%
        }
        body {
            height: 100%;
            margin: 0px;
            padding: 0px
        }
        .mapcontainer {
            height: 100%;
        }
        </style>
        <script src='http://www.supermapol.com/resources/api/libs/SuperMap.Include.js'></script>
        <style type="text/css">
        div.smMap {
            border: 0;
        }
        </style>
    </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(223627127);
        </script>
    </body>

</html>

上一页:搜狗地图

下一页:天地图