<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: FeatureReduction.MaxScale hides individual graphic labels in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/featurereduction-maxscale-hides-individual-graphic/m-p/1523948#M12977</link>
    <description>&lt;P&gt;Thanks for reporting the issue, I am able to reproduce the problem. I have logged an internal issue and will investigate this shortly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Preeti&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2024 18:10:46 GMT</pubDate>
    <dc:creator>PreetiMaske</dc:creator>
    <dc:date>2024-08-19T18:10:46Z</dc:date>
    <item>
      <title>FeatureReduction.MaxScale hides individual graphic labels</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/featurereduction-maxscale-hides-individual-graphic/m-p/1522842#M12972</link>
      <description>&lt;P&gt;Hi Esri and ArcGISRuntime enthusiasts!&lt;/P&gt;&lt;P&gt;We have a problem when using GraphicsOverlay.FeatureReduction.MaxScale. When this value is set, affected graphics seem to have their default LabelDefinition hidden when clustering is not active.&lt;/P&gt;&lt;P&gt;Given the sample below, can anyone spot an error in the code, or is there a known problem with this?&lt;/P&gt;&lt;P&gt;Thanks in advance for any help!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;public GraphicsOverlay CreateGraphicsOverlay()
 {
     var graphicsOverlay = new GraphicsOverlay
     {
         IsVisible = true,
         Id = "points",
         Renderer = new SimpleRenderer(new SimpleMarkerSymbol(SimpleMarkerSymbolStyle.Square, Color.Blue, 16).ToMultilayerSymbol()),
         FeatureReduction = new ClusteringFeatureReduction(new SimpleRenderer
         {
             Symbol = new SimpleMarkerSymbol(SimpleMarkerSymbolStyle.Circle, Color.IndianRed, 16)
         })
         {
             //Label when clustering
             LabelDefinitions =
             {
                 new LabelDefinition
                 (
                     labelExpression: new SimpleLabelExpression(simpleExpression: "[cluster_count] CONCAT \" Items\""),
                     textSymbol: new TextSymbol {Color = Color.Black, Size = 12}
                 )
                 {
                     Placement = LabelingPlacement.PointCenterCenter,
                 }
             },
             MinSymbolSize = 50,
             
             //BUG! WHEN THIS IS SET, MANY LABELS ARE NOT VISIBLE
             MaxScale = 30_000,
         },

         //Label for individual points
         LabelsEnabled = true,
         LabelDefinitions =
                 {
                     new LabelDefinition
                     (
                         labelExpression: new SimpleLabelExpression("[Name]"),
                         textSymbol: new TextSymbol
                         {
                             Color = Color.Black,
                             Size = 12,
                             FontWeight = FontWeight.Bold,
                             BackgroundColor = Color.White,
                             HaloColor = Color.White,
                             HaloWidth = 1,
                         }
                     )
                     {
                         Placement = LabelingPlacement.PointBelowCenter,
                     },
                 },

         RenderingMode = GraphicsRenderingMode.Dynamic,
     };

     var random = new Random();
     for (var i = 0; i &amp;lt; 100; i++)
     {
         const double OsloN = 59.95138;
         const double OsloS = 59.91070;
         const double OsloE = 10.80758;
         const double OsloW = 10.70544;

         var x = OsloW + random.NextDouble() * (OsloE - OsloW);
         var y = OsloS + random.NextDouble() * (OsloN - OsloS);

         var graphic = new Graphic(new MapPoint(x, y, SpatialReferences.Wgs84))
         {
             IsVisible = true,
         };
         graphic.Attributes["Name"] = $"Point {i}";
         graphicsOverlay.Graphics.Add(graphic);
     }
     
     return graphicsOverlay;

 }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 13:14:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/featurereduction-maxscale-hides-individual-graphic/m-p/1522842#M12972</guid>
      <dc:creator>LarsNess</dc:creator>
      <dc:date>2024-08-16T13:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureReduction.MaxScale hides individual graphic labels</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/featurereduction-maxscale-hides-individual-graphic/m-p/1523948#M12977</link>
      <description>&lt;P&gt;Thanks for reporting the issue, I am able to reproduce the problem. I have logged an internal issue and will investigate this shortly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Preeti&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 18:10:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/featurereduction-maxscale-hides-individual-graphic/m-p/1523948#M12977</guid>
      <dc:creator>PreetiMaske</dc:creator>
      <dc:date>2024-08-19T18:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureReduction.MaxScale hides individual graphic labels</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/featurereduction-maxscale-hides-individual-graphic/m-p/1524964#M12982</link>
      <description>&lt;P&gt;Thanks for looking into this!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 07:58:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/featurereduction-maxscale-hides-individual-graphic/m-p/1524964#M12982</guid>
      <dc:creator>LarsNess</dc:creator>
      <dc:date>2024-08-21T07:58:57Z</dc:date>
    </item>
  </channel>
</rss>

