加载自己发布的地图(急!!)
<UserControl x:Class="SilverlightApplication11.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="400" xmlns:esri="http://schemas.esri.com/arcgis/client/2009">
<Grid x:Name="LayoutRoot" Background="White">
<esri:Map Background="White" HorizontalAlignment="Left" Margin="28,12,0,0" Name="map1" VerticalAlignment="Top" WrapAround="True" Height="255" Width="332">
<esri:Map.Layers>
<esri:LayerCollection>
<esri:ArcGISTiledMapServiceLayer Url="http://jxlg28/ArcGIS/rest/services/hurricanes/MapServer/0" />
</esri:LayerCollection>
</esri:Map.Layers>
</esri:Map>
</Grid>
</UserControl>
在页面中加载自己发布的地图Url="http://jxlg28/ArcGIS/rest/services/hurricanes/MapServer/0" />
,但是没用,运行会出现说“尝试连接到REST端点时发生安全异常”,这怎么回事?跨域文件我加了