Commit c483c1f0 authored by mahui's avatar mahui

111

parent e74c1f36
......@@ -13,7 +13,7 @@ module.exports = {
proxyTable: {},
// Various Dev Server settings
host: '127.0.0.100', // can be overwritten by process.env.HOST
host: '192.168.1.122', // can be overwritten by process.env.HOST
port: 80, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: false,
errorOverlay: true,
......
......@@ -784,7 +784,7 @@
});
this.map.addOverlay(label);
let url = type==1?"static/monitor1.png":type==2?"static/monitor2.png":type==3?"static/monitor3.png":"static/blue.png";
let myIcon = new BMap.Icon(url, new BMap.Size(12,16));
let myIcon = new BMap.Icon(url, new BMap.Size(30,30));
let marker = new BMap.Marker(coordinate,{icon:myIcon});
this.map.addOverlay(marker); // 将标注添加到地图中
marker.addEventListener("click", function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment