<Grid.Resources> <esri:Editor x:Key="Layer1AddEditor" Map="{Binding ElementName=MyMap}" LayerIDs="MyFeatureLayerID1" GeometryServiceUrl="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer"/> <esri:Editor x:Key="Layer2AddEditor" Map="{Binding ElementName=MyMap}" LayerIDs="MyGraphicsLayerID2" GeometryServiceUrl="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer"/> </Grid.Resources>
<Button Content="Add" DataContext="{StaticResource Layer1AddEditor}" Command="{Binding AddParameter}" CommandParameter="MyFeatureTypeID"/> <Button Content="Add" DataContext="{StaticResource Layer2AddEditor}" Command="{Binding AddParameter}" CommandParameter="{StaticResource MySymbol}"/>
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.