BIGEMPA Js API示例中心
<!DOCTYPE html>charset='UTF-8'name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no'<!--以下CSS地址请在安装软件了替换成本地的地址CSS地址请使用:http://localhost:9000/bigemap.js/v2.1.0/bigemap.css软件下载地址 http://www.bigemap.com/reader/download/detail201802017.html-->href='http://www.bigemap.com:9000/bigemap.js/v2.1.0/bigemap.css' rel='stylesheet'<!--JS地址请使用:http://localhost:9000/bigemap.js/v2.1.0/bigemap.js-->src='http://www.bigemap.com:9000/bigemap.js/v2.1.0/bigemap.js'src="/offline_data/pathDashFlow.min.js"body { margin: 0; padding: 0;}#map { position: absolute; top: 0; bottom: 0; width: 100%; }Google Map Streetsid='map'//软件配置信息地址,软件安装完成之后使用本地地址,如:http://localhost:9000BM.Config.HTTP_URL = 'http://www.bigemap.com:9000';// 在ID为map的元素中实例化一个地图,并设置地图的ID号为 bigemap.zhongkexingtu,ID号程序自动生成,无需手动配置,并设置地图的投影为百度地图 ,中心点,默认的级别和显示级别控件var map = BM.map('map','bigemap.zhongkexingtu', { center: [39.8, 116.5], zoom: 10, zoomControl: true,attributionControl:false });var latlngs = [ [39.898457, 116.391844], [39.898595, 116.377947], [39.898341, 116.368001], [39.898063, 116.357144], [39.899095, 116.351934], [39.905871, 116.350670], [39.922329, 116.349800], [39.931017, 116.349671], [39.939104, 116.349225], [39.942233, 116.349910], [39.947263, 116.366892], [39.947568, 116.387537], [39.947764, 116.401988], [39.947929, 116.410824], [39.947558, 116.426740], [39.939700, 116.427338], [39.932404, 116.427919], [39.923109, 116.428377], [39.907094, 116.429583], [39.906858, 116.414040], [39.906622, 116.405321], [39.906324, 116.394954], [39.906308, 116.391264], [39.916611, 116.390748] ];// 添加动态线window.path = BM.polyline(latlngs, {weight: 5,dashArray: '15,15',dashSpeed: -30}).addTo(map);