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://m.bjxdny.cn/reader/download/detail201802017.html-->href="http://ua.bigemap.com:30081/bmsdk/bigemap.js/v2.1.0/bigemap.css" rel="stylesheet"<!--JS地址請使用:http://localhost:9000/bigemap.js/v2.1.0/bigemap.js-->src="http://ua.bigemap.com:30081/bmsdk/bigemap.js/v2.1.0/bigemap.js"<!--引入標注旋轉設置--><!--對應文件下載地址 http://m.bjxdny.cn/Public/offline/rotate_marker/rotate_marker.zip -->type="text/javascript" src="/Public/offline/rotate_marker/rotate_marker.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://ua.bigemap.com:30081/bmsdk/"// 在ID為map的元素中實例化一個地圖,并設置地圖的ID號為 bigemap.zhongkexingtu,ID號程序自動生成,無需手動配置,并設置地圖的投影為百度地圖 ,中心點,默認的級別和顯示級別控件var map = BM.map('map', 'bigemap.dc-satellite', { crs: BM.CRS.EPSG4326,center: [0, 0], zoom: 2, zoomControl: true,attributionControl:false });var m = BM.marker(map.getCenter(), {rotationAngle: 0,draggable: true,//旋轉