<esri:Graphic Symbol="{StaticResource PoliceLeftPnt}"> <esri:MapPoint X="-117.171952484027" Y="34.050984501128"/> </esri:Graphic> <esri:Graphic Symbol="{StaticResource PoliceLeft}"> <esri:MapPoint X="-117.22672317423" Y="33.9176215942354"/> </esri:Graphic>
MarkerSymbol ms = this.LayoutRoot.Resources["MarkerSymbol"] as MarkerSymbol; ms.OffsetX = label.Length/2; ms.OffsetY = label.Length/2;
StringBuilder sb = new StringBuilder(); //more code here sb.Append(string.Format("<TextBlock Text=\"{0}\"/>", graphic.Attributes["label"]));
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.