地图定位

| 报错及解决

Cannot read property ‘gc’ of undefined
解决:var map = new BMap.Map("allmap") => <div id="allmap"></div>