<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"]));
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.