supermap-gis学习之点、线、面、标绘、车辆动态监控、弹窗

本文介绍了如何从SuperMap官网及资源中心获取GIS资源,特别是SuperMap iClient8c JavaScript API,展示了使用这些资源进行点、线、面的绘制,以及车辆动态监控和弹窗功能的实现。提供了源码链接和相关技术交流Q群。
摘要由CSDN通过智能技术生成

下载:supermap官网GIS-supermap技术资源中心supermap-iclient8c-JavaScript-APIsupermap-示范程序-(注意版本)

效果:

目录:

源码:

<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <title>首页</title>
</head>
<body>
    <div style="width: 1300px;height: 600px;">
        <div style=" position: absolute;left: 10px;top: 10px;
	        text-align: center;z-index: 999999">
            <input type='button' id='btn-zin' onclick="zoomin()" value="放大" />
            <input type='button' id='btn-zout' onclick="zoomout()" value="缩小" />
            <input type='button' id='btn-init' onclick="mapInit()" value="初始化" />
            <input type='button' id='btn-dpoint' onclick="draw_point()" value="绘点" />
            <input type='button' id='btn-dline' onclick="draw_line()" value="绘线" />
            <input type='button' id='btn-dpolygon' onclick="draw_polygon()" value="绘面" />
            <input type='button' id='btn-deactive' onclick="deactiveAll()" value="取消事件" title="取消绘点、绘线、绘面事件" />
            <input type='button' id='btn-clear' onclick="clearFeatures()" value="清除" />
            <input type='button' id='btn-dpolyLine' onclick="draw_plotLine()" value="绘轨迹线" title="绘轨迹线,起终点及动态人物" />
            <input type='button' id='btn-dpolygon' onclick="addMarKerData()" value="添加marker" />
        </div>
       
  • 1
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值