<UserControl x:Class="GeoRssTesting.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" xmlns:esri="http://schemas.esri.com/arcgis/client/2009" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400"> <Grid x:Name="LayoutRoot" Background="White"> <Grid.Resources> <esri:SimpleRenderer x:Key="MySimpleRenderer"> <esri:SimpleRenderer.Symbol> <esri:PictureMarkerSymbol Source="/Assets/images/quake-30x30.png" OffsetX="8" OffsetY="8" Width="16" /> </esri:SimpleRenderer.Symbol> </esri:SimpleRenderer> </Grid.Resources> <esri:Map x:Name="MyMap" WrapAround="True"> <esri:ArcGISTiledMapServiceLayer Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer" /> <esri:GeoRssLayer ID="MyGeoRssLayer" Source="http://earthquake.usgs.gov/earthquakes/catalogs/7day-M5.xml" Renderer="{StaticResource MySimpleRenderer}" > </esri:GeoRssLayer> </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.