2013-06-03 63 views
1

我有一個silverlight 4應用程序,它使用Bing地圖。現在當應用程序運行在http上時,一切都很好。但是,當我們在SSL上託管silverlight應用程序時,bing地圖停止工作。以下是用於顯示地圖的代碼。Silverlight Bing地圖通過SSL

在應用程序啓動

Vexel.Maps.SilverlightExtension.Configuration.SynchronousConfiguration.LoadMapConfiguration(); 

文件:Configuration.baselayer.xml

<?xml version="1.0" encoding="utf-8"?> 
<configuration> 
    <MapControl version="v1"> 

     <!-- MapMode Uri Format --> 
     <!-- Meritech Office Bing --> 
     <add key="RoadUriFormat" value="http://ecn.t1.tiles.virtualearth.net/tiles/r{quadkey}.png?g=1&amp;mkt={Culture}&amp;shading=hill&amp;n=z"/> 
     <add key="AerialUriFormat" value="http://ecn.t1.tiles.virtualearth.net/tiles/a{quadkey}.jpeg?g=1&amp;n=z"/> 
     <add key="AerialWithLabelsUriFormat" value="http://ecn.t1.tiles.virtualearth.net/tiles/h{quadkey}.jpeg?g=1&amp;mkt={Culture}&amp;n=z"/> 
     <add key="AerialLabelsUriFormat" value="http://ecn.t1.tiles.virtualearth.net/tiles/ho{quadkey}.jpeg?g=1&amp;mkt={Culture}&amp;n=z"/> 

    </MapControl> 
</configuration> 

現在,請讓我知道什麼必須做通過SSL獲取地圖數據。 如果有人能幫助我,我會非常感激。

另外我聽說,對於SSL silverlight應用程序,我們必須通過SSL託管我們自己的bing map服務器。這是真的?

如果什麼都不能做,那麼我們必須轉換asp.net/HTML5中的完整項目。

回答