l = new FeatureLayer(); l.OutFields.Add("NHN"); l.ID = "MyFeatureLayer"; l.FeatureSymbol = TS; l.Url = "http://testestest"; l.Where = "Pointnumber" testmap.Layers.Add(l);
<Grid.Resources> <esriSymbols:TextSymbol x:Key="LegendTextSymbol"> <esriSymbols:TextSymbol.ControlTemplate> <ControlTemplate> <Border Padding="10,5,10,5" Background="White" BorderBrush="Black"> <TextBlock FontSize="{Binding Symbol.Size}" Text="{Binding Attributes[NameOfTheAttributeUsedForLabeling]}" Foreground="Blue" FontFamily="{Binding Symbol.FontFamily}" HorizontalAlignment="Center" /> </Border> </ControlTemplate> </esriSymbols:TextSymbol.ControlTemplate> </esriSymbols:TextSymbol> </Grid.Resources>
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.