0
我使用Bing Maps AJAX Control 7.0 ISDK。Bing Maps AJAX Control 7.0 - 如何關閉Bird's Eye視圖中的街道標籤?
我想關閉鳥瞰圖中的街道標籤。
The question has been asked但對於API 6
我可以用導航欄做。
但導航欄是關閉我的地圖:
showDashboard: false
我沒有找到關於SDK的任何解決方案:
http://www.bingmapsportal.com/isdk/ajaxv7#CreateMapWithViewOptions7
這裏是我的代碼:
function handlerEvent()
{
displayAlert('Handler clicked');
}
Microsoft.Maps.loadModule('Microsoft.Maps.Themes.BingTheme', { callback: function()
{
map = new Microsoft.Maps.Map(document.getElementById('bingMap'),
{
credentials: 'xxxxxxxxxxxxxxxxxxxxxxx',
theme: new Microsoft.Maps.Themes.BingTheme(),
center: new Microsoft.Maps.Location(47.219058,-1.553625),
mapTypeId: Microsoft.Maps.MapTypeId.birdseye,
zoom: 16,
showDashboard: false
});
var infoboxOptions = {title:'Text', description:'TextTextText', actions:[{label: 'Click Handler', eventHandler: handlerEvent}]};
map.entities.push(new Microsoft.Maps.Infobox(map.getCenter(), infoboxOptions));
}});
你能幫我這麼做嗎?
謝謝,labelOverlay正是我需要的。 –