fix: BUG修改

This commit is contained in:
kun 2024-03-28 14:32:21 +08:00
parent 243c86764c
commit 0a1fae63a7
3 changed files with 6 additions and 3 deletions

View File

@ -961,7 +961,8 @@ function initMap() {
// var that = this; // var that = this;
// //
map = new AMap.Map("mapContainer", { map = new AMap.Map("mapContainer", {
resizeEnable: true resizeEnable: true,
showIndoorMap:true //
}); });
map.setFeatures(['bg','road','point','building']); map.setFeatures(['bg','road','point','building']);
// var geocoder = new AMap.Geocoder({}); // var geocoder = new AMap.Geocoder({});

View File

@ -1140,7 +1140,8 @@ function initMap() {
var that = this; var that = this;
// //
map = new AMap.Map("mapContainer", { map = new AMap.Map("mapContainer", {
resizeEnable: true resizeEnable: true,
showIndoorMap: true //
}); });
map.setFeatures(['bg','road','point','building']); map.setFeatures(['bg','road','point','building']);
var geocoder = new AMap.Geocoder({}); var geocoder = new AMap.Geocoder({});

View File

@ -1400,7 +1400,8 @@ function initMap() {
// //
map = new AMap.Map("mapContainer", { map = new AMap.Map("mapContainer", {
// viewMode: '3D', // viewMode: '3D',
resizeEnable: true resizeEnable: true,
showIndoorMap:true //
// center: [116.39, 39.9], // center: [116.39, 39.9],
// offset: new AMap.Pixel(-10, -10) // // offset: new AMap.Pixel(-10, -10) //
}); });