Amap is a little confused about the division of administrative areas.

problem description

is that the area that I want to display by default when the page is opened is Guangzhou

.

the environmental background of the problems and what methods you have tried

do not know how to set the default, do not display it again, ask for advice

related codes

/ / Please paste the code text below (do not replace the code with pictures)
< script type= "text/javascript" src= " https://webapi.amap.com/maps?.;key= key & plugin=AMap.Geocoder&plugin=AMap.DistrictSearch "> < / script >
var map = new AMap.Map ("container", {

)
                    zoom:11,//
                    center: [113.107901,22.995755],//
                    viewMode:"3D",//3D
                    mapStyle: "amap://styles/blue"//
                    
                });

/ / Administrative Division query

                var opts = {
                    subdistrict: 1,   //
                    showbiz:false  //
                };
                district = new AMap.DistrictSearch(opts);//:
                district.search("", function(status, result) {
                    if(status=="complete"){
                        getData(result.districtList[0]);
                    }
                });
                function getData(data,level) {
                    var bounds = data.boundaries;
                    if (bounds) {
                        for (var i = 0, l = bounds.length; i < l; iPP) {
                            var polygon = new AMap.Polygon({
                                map: map,
                                strokeWeight: 1,
                                strokeColor: "-sharpCC66CC",
                                fillColor: "-sharpCCF3FF",
                                fillOpacity: 0.2,
                                path: bounds[i]
                            });
                            polygons.push(polygon);
                        }
                        map.setFitView();//
                    }
                   
                }

what result do you expect? What is the error message actually seen?

Jul.04,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e59df0-44da3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e59df0-44da3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?