如何在网页中调用百度地图api

2025-04-10 01:39:07
推荐回答(1个)
回答1:

var mp = new BMap.Map("allmap");//allmap是html中div的id
mp.centerAndZoom("北京",14);//14是地图级别