Commit c0650ee9 by LJM

add

parent 2fed410f
Showing with 2 additions and 0 deletions
......@@ -67,6 +67,7 @@
},
mapChange: function () {
if ($("#map").length > 0) {
// 初始化地图
var map = new BMap.Map("map");
var point = new BMap.Point(114.23859, 22.313236); // 香港九龙观塘成业街27号日昇中心的经纬度
......@@ -98,6 +99,7 @@
marker.addEventListener("click", function () {
map.openInfoWindow(infoWindow, point);
});
}
},
handleBind: function (opt) {
......
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 sign in to comment