我想将Bing Maps整合到我们客户的网站中。不幸的是,我得到了奇怪不幸的是我无法添加图片。有这些大(网格?)线(最多约10像素宽),但我不知道如何删除它们。我使用以下基本代码:
var map = null;
function getMap() {
map = new Microsoft.Maps.Map(document.getElementById('myMap'), {
credentials: '...mycredentials....'
,enableClickableLogo: false
,enableSearchLogo: false
,showDashboard: false
,zoom: 14
,center: new Microsoft.Maps.Location(...thelatitude...,...thelongitude...)
});
map.entities.clear();
var pushpin= new Microsoft.Maps.Pushpin(map.getCenter(), null);
map.entities.push(pushpin);
}
getMap();