fix: BUG修改

This commit is contained in:
kun 2024-03-28 14:21:12 +08:00
parent 9bd67949d0
commit 243c86764c
4 changed files with 5 additions and 2 deletions

View File

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

View File

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

View File

@ -1404,6 +1404,7 @@ function initMap() {
// center: [116.39, 39.9], // center: [116.39, 39.9],
// offset: new AMap.Pixel(-10, -10) // // offset: new AMap.Pixel(-10, -10) //
}); });
map.setFeatures(['bg','road','point','building']);
var geocoder = new AMap.Geocoder({}); var geocoder = new AMap.Geocoder({});
// //
var autoOptions = { var autoOptions = {