<UserControl x:Class="ArcGISSilverlightSDK.KmlLayerSimple" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:esri="http://schemas.esri.com/arcgis/client/2009"> <Grid x:Name="LayoutRoot" > <esri:Map x:Name="MyMap" WrapAround="True"> <esri:Map.Extent> <esri:Envelope XMin="-122.090" YMin="37.419" XMax="-122.079" YMax="37.424"> <esri:Envelope.SpatialReference> <esri:SpatialReference WKID="4326"/> </esri:Envelope.SpatialReference> </esri:Envelope> </esri:Map.Extent> <esri:ArcGISTiledMapServiceLayer Url="http://services.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer" /> <esri:KmlLayer ID="KmlLayer" Url="http://kml-samples.googlecode.com/svn/trunk/KML_Samples.kml" ProxyUrl="http://serverapps.esri.com/SilverlightDemos/ProxyPage/proxy.ashx" /> </esri:Map> </Grid> </UserControl>
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.