Skip to content

Commit

Permalink
Update sample name
Browse files Browse the repository at this point in the history
  • Loading branch information
duffh committed Nov 13, 2023
1 parent 26851f9 commit 7d8373f
Show file tree
Hide file tree
Showing 19 changed files with 50 additions and 50 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<ContentPage x:Class="ArcGIS.Samples.DefineClusteringFeatureReduction.DefineClusteringFeatureReduction"
<ContentPage x:Class="ArcGIS.Samples.AddClusteringFeatureReductionToAPointFeatureLayer.AddClusteringFeatureReductionToAPointFeatureLayer"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:esriTK="clr-namespace:Esri.ArcGISRuntime.Toolkit.Maui;assembly=Esri.ArcGISRuntime.Toolkit.Maui"
Expand All @@ -10,7 +10,7 @@
<Button x:Name="DrawClustersButton"
Clicked="DrawClustersButton_Clicked"
Text="Draw clusters" />
<VerticalStackLayout x:Name="DefineClusteringFeatureReductionOptions" IsVisible="False">
<VerticalStackLayout x:Name="AddClusteringFeatureReductionToAPointFeatureLayerOptions" IsVisible="False">
<Label Margin="0,0,0,10"
FontSize="Small"
Text="Clustering properties" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@
using Esri.ArcGISRuntime.Symbology;
using Map = Esri.ArcGISRuntime.Mapping.Map;

namespace ArcGIS.Samples.DefineClusteringFeatureReduction
namespace ArcGIS.Samples.AddClusteringFeatureReductionToAPointFeatureLayer
{
[ArcGIS.Samples.Shared.Attributes.Sample(
name: "Define clustering feature reduction",
name: "Add clustering feature reduction to a point feature layer",
category: "Layers",
description: "Add client side feature reduction on a point feature layer that is not pre-configured with clustering.",
instructions: "Tap the `Draw clusters` button to set new feature reduction object on the feature layer. Interact with the controls to customize clustering feature reduction properties. Tap on any clustered aggregate geoelement to see the cluster feature count and aggregate fields in the popup.",
tags: new[] { "aggregate", "bin", "cluster", "group", "merge", "normalize", "popup", "reduce", "renderer", "summarize" })]
[ArcGIS.Samples.Shared.Attributes.OfflineData("aa44e79a4836413c89908e1afdace2ea")]
public partial class DefineClusteringFeatureReduction
public partial class AddClusteringFeatureReductionToAPointFeatureLayer
{
private FeatureLayer _layer;
private ClusteringFeatureReduction _clusteringFeatureReduction;

public DefineClusteringFeatureReduction()
public AddClusteringFeatureReductionToAPointFeatureLayer()
{
InitializeComponent();
_ = Initialize();
Expand Down Expand Up @@ -166,7 +166,7 @@ private void DrawClustersButton_Clicked(object sender, EventArgs e)
CreateCustomFeatureReduction();

// Show the feature reduction's clustering options.
DefineClusteringFeatureReductionOptions.IsVisible = true;
AddClusteringFeatureReductionToAPointFeatureLayerOptions.IsVisible = true;

// Add an event handler for tap events on the map view.
MyMapView.GeoViewTapped += MyMapView_GeoViewTapped;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Define clustering feature reduction
# Add clustering feature reduction to a point feature layer

Add client side feature reduction on a point feature layer that is not pre-configured with clustering.

![Image of define clustering feature reduction](DefineClusteringFeatureReduction.jpg)
![Image of add clustering feature reduction to a point feature layer](addclusteringfeaturereductiontoapointfeaturelayer.jpg)

## Use case

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"category": "Layers",
"description": "Add client side feature reduction on a point feature layer that is not pre-configured with clustering.",
"formal_name": "DefineClusteringFeatureReduction",
"formal_name": "AddClusteringFeatureReductionToAPointFeatureLayer",
"ignore": false,
"images": [
"DefineClusteringFeatureReduction.jpg"
"addclusteringfeaturereductiontoapointfeaturelayer.jpg"
],
"keywords": [
"aggregate",
Expand All @@ -20,7 +20,7 @@
],
"offline_data": [],
"redirect_from": [
"/net/latest/winui/sample-code/defineclusteringfeaturereduction.htm"
"/net/latest/maui/sample-code/addclusteringfeaturereductiontoapointfeaturelayer.htm"
],
"relevant_apis": [
"AggregateGeoElement",
Expand All @@ -32,8 +32,8 @@
"PopupViewer"
],
"snippets": [
"DefineClusteringFeatureReduction.xaml.cs",
"DefineClusteringFeatureReduction.xaml"
"AddClusteringFeatureReductionToAPointFeatureLayer.xaml.cs",
"AddClusteringFeatureReductionToAPointFeatureLayer.xaml"
],
"title": "Define clustering feature reduction"
"title": "Add clustering feature reduction to a point feature layer"
}
2 changes: 1 addition & 1 deletion src/MAUI/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
## Layers

* [Add a point scene layer](Maui.Samples/Samples/Layers/AddPointSceneLayer) - View a point scene layer from a scene service.
* [Add clustering feature reduction to a point feature layer](Maui.Samples/Samples/Layers/AddClusteringFeatureReductionToAPointFeatureLayer) - Add client side feature reduction on a point feature layer that is not pre-configured with clustering.
* [Add custom dynamic entity data source](Maui.Samples/Samples/Layers/AddCustomDynamicEntityDataSource) - Create a custom dynamic entity data source and display it using a dynamic entity layer.
* [Add dynamic entity layer](Maui.Samples/Samples/Layers/AddDynamicEntityLayer) - Display data from an ArcGIS stream service using a dynamic entity layer.
* [Add integrated mesh layer](Maui.Samples/Samples/Layers/AddAnIntegratedMeshLayer) - View an integrated mesh layer from a scene service.
Expand All @@ -95,7 +96,6 @@
* [Control annotation sublayer visibility](Maui.Samples/Samples/Layers/ControlAnnotationSublayerVisibility) - Use annotation sublayers to gain finer control of annotation layer subtypes.
* [Create and save KML file](Maui.Samples/Samples/Layers/CreateAndSaveKmlFile) - Construct a KML document and save it as a KMZ file.
* [Create feature collection layer (Portal item)](Maui.Samples/Samples/Layers/FeatureCollectionLayerFromPortal) - Create a feature collection layer from a portal item.
* [Define clustering feature reduction](Maui.Samples/Samples/Layers/DefineClusteringFeatureReduction) - Add client side feature reduction on a point feature layer that is not pre-configured with clustering.
* [Dictionary renderer with feature layer](Maui.Samples/Samples/Layers/FeatureLayerDictionaryRenderer) - Convert features into graphics to show them with mil2525d symbols.
* [Display KML](Maui.Samples/Samples/Layers/DisplayKml) - Display KML from a URL, portal item, or local KML file.
* [Display KML network links](Maui.Samples/Samples/Layers/DisplayKmlNetworkLinks) - Display a file with a KML network link, including displaying any network link control messages at launch.
Expand Down
4 changes: 2 additions & 2 deletions src/Samples.Shared/Resources/FeaturedSamples.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<Sample>CreateAndEditGeometries</Sample>
</Category>
<Category name="Layers">
<Sample>AddCustomDynamicEntityDataSource</Sample>
<Sample>AddClusteringFeatureReductionToAPointFeatureLayer</Sample>
<Sample>AddCustomDynamicEntityDataSource</Sample>
<Sample>AddDynamicEntityLayer</Sample>
<Sample>AddVectorTiledLayerFromCustomStyle</Sample>
<Sample>DefineClusteringFeatureReduction</Sample>
<Sample>DisplayPointsUsingClusteringFeatureReduction</Sample>
<Sample>DisplayRouteLayer</Sample>
</Category>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<UserControl x:Class="ArcGIS.WPF.Samples.DefineClusteringFeatureReduction.DefineClusteringFeatureReduction"
<UserControl x:Class="ArcGIS.WPF.Samples.AddClusteringFeatureReductionToAPointFeatureLayer.AddClusteringFeatureReductionToAPointFeatureLayer"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013">
Expand All @@ -12,7 +12,7 @@
Padding="5"
Click="DrawClustersButton_Clicked"
Content="Draw clusters" />
<StackPanel x:Name="DefineClusteringFeatureReductionOptions"
<StackPanel x:Name="AddClusteringFeatureReductionToAPointFeatureLayerOptions"
Orientation="Vertical"
Visibility="Collapsed">
<TextBlock Margin="0,0,0,10"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,21 @@
using System.Windows;
using System.Windows.Controls;

namespace ArcGIS.WPF.Samples.DefineClusteringFeatureReduction
namespace ArcGIS.WPF.Samples.AddClusteringFeatureReductionToAPointFeatureLayer
{
[ArcGIS.Samples.Shared.Attributes.Sample(
name: "Define clustering feature reduction",
name: "Add clustering feature reduction to a point feature layer",
category: "Layers",
description: "Add client side feature reduction on a point feature layer that is not pre-configured with clustering.",
instructions: "Tap the `Draw clusters` button to set new feature reduction object on the feature layer. Interact with the controls to customize clustering feature reduction properties. Tap on any clustered aggregate geoelement to see the cluster feature count and aggregate fields in the popup.",
tags: new[] { "aggregate", "bin", "cluster", "group", "merge", "normalize", "popup", "reduce", "renderer", "summarize" })]
[ArcGIS.Samples.Shared.Attributes.OfflineData("aa44e79a4836413c89908e1afdace2ea")]
public partial class DefineClusteringFeatureReduction
public partial class AddClusteringFeatureReductionToAPointFeatureLayer
{
private FeatureLayer _layer;
private ClusteringFeatureReduction _clusteringFeatureReduction;

public DefineClusteringFeatureReduction()
public AddClusteringFeatureReductionToAPointFeatureLayer()
{
InitializeComponent();
_ = Initialize();
Expand Down Expand Up @@ -164,7 +164,7 @@ private void DrawClustersButton_Clicked(object sender, RoutedEventArgs e)
CreateCustomFeatureReduction();

// Show the feature reduction's clustering options.
DefineClusteringFeatureReductionOptions.Visibility = Visibility.Visible;
AddClusteringFeatureReductionToAPointFeatureLayerOptions.Visibility = Visibility.Visible;

// Add an event handler for tap events on the map view.
MyMapView.GeoViewTapped += MyMapView_GeoViewTapped;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Define clustering feature reduction
# Add clustering feature reduction to a point feature layer

Add client side feature reduction on a point feature layer that is not pre-configured with clustering.

![Image of define clustering feature reduction](defineclusteringfeaturereduction.jpg)
![Image of add clustering feature reduction to a point feature layer](AddClusteringFeatureReductionToAPointFeatureLayer.jpg)

## Use case

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"category": "Layers",
"description": "Add client side feature reduction on a point feature layer that is not pre-configured with clustering.",
"formal_name": "DefineClusteringFeatureReduction",
"formal_name": "AddClusteringFeatureReductionToAPointFeatureLayer",
"ignore": false,
"images": [
"DefineClusteringFeatureReduction.jpg"
"AddClusteringFeatureReductionToAPointFeatureLayer.jpg"
],
"keywords": [
"aggregate",
Expand All @@ -20,7 +20,7 @@
],
"offline_data": [],
"redirect_from": [
"/net/latest/wpf/sample-code/defineclusteringfeaturereduction.htm"
"/net/latest/wpf/sample-code/addclusteringfeaturereductiontoapointfeaturelayer.htm"
],
"relevant_apis": [
"AggregateGeoElement",
Expand All @@ -32,8 +32,8 @@
"PopupViewer"
],
"snippets": [
"DefineClusteringFeatureReduction.xaml.cs",
"DefineClusteringFeatureReduction.xaml"
"AddClusteringFeatureReductionToAPointFeatureLayer.xaml.cs",
"AddClusteringFeatureReductionToAPointFeatureLayer.xaml"
],
"title": "Define clustering feature reduction"
"title": "Add clustering feature reduction to a point feature layer"
}
2 changes: 1 addition & 1 deletion src/WPF/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
## Layers

* [Add a point scene layer](WPF.Viewer/Samples/Layers/AddPointSceneLayer) - View a point scene layer from a scene service.
* [Add clustering feature reduction to a point feature layer](WPF.Viewer/Samples/Layers/AddClusteringFeatureReductionToAPointFeatureLayer) - Add client side feature reduction on a point feature layer that is not pre-configured with clustering.
* [Add custom dynamic entity data source](WPF.Viewer/Samples/Layers/AddCustomDynamicEntityDataSource) - Create a custom dynamic entity data source and display it using a dynamic entity layer.
* [Add dynamic entity layer](WPF.Viewer/Samples/Layers/AddDynamicEntityLayer) - Display data from an ArcGIS stream service using a dynamic entity layer.
* [Add integrated mesh layer](WPF.Viewer/Samples/Layers/AddAnIntegratedMeshLayer) - View an integrated mesh layer from a scene service.
Expand All @@ -95,7 +96,6 @@
* [Control annotation sublayer visibility](WPF.Viewer/Samples/Layers/ControlAnnotationSublayerVisibility) - Use annotation sublayers to gain finer control of annotation layer subtypes.
* [Create and save KML file](WPF.Viewer/Samples/Layers/CreateAndSaveKmlFile) - Construct a KML document and save it as a KMZ file.
* [Create feature collection layer (Portal item)](WPF.Viewer/Samples/Layers/FeatureCollectionLayerFromPortal) - Create a feature collection layer from a portal item.
* [Define clustering feature reduction](WPF.Viewer/Samples/Layers/DefineClusteringFeatureReduction) - Add client side feature reduction on a point feature layer that is not pre-configured with clustering.
* [Dictionary renderer with feature layer](WPF.Viewer/Samples/Layers/FeatureLayerDictionaryRenderer) - Convert features into graphics to show them with mil2525d symbols.
* [Display KML](WPF.Viewer/Samples/Layers/DisplayKml) - Display KML from a URL, portal item, or local KML file.
* [Display KML network links](WPF.Viewer/Samples/Layers/DisplayKmlNetworkLinks) - Display a file with a KML network link, including displaying any network link control messages at launch.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<UserControl x:Class="ArcGIS.WinUI.Samples.DefineClusteringFeatureReduction.DefineClusteringFeatureReduction"
<UserControl x:Class="ArcGIS.WinUI.Samples.AddClusteringFeatureReductionToAPointFeatureLayer.AddClusteringFeatureReductionToAPointFeatureLayer"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:esriTK="using:Esri.ArcGISRuntime.Toolkit.UI.Controls"
Expand All @@ -10,7 +10,7 @@
<Button x:Name="DrawClustersButton"
Click="DrawClustersButton_Click"
Content="Draw clusters" />
<StackPanel x:Name="DefineClusteringFeatureReductionOptions"
<StackPanel x:Name="AddClusteringFeatureReductionToAPointFeatureLayerOptions"
Orientation="Vertical"
Visibility="Collapsed">
<TextBlock Margin="0,0,0,10"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,21 @@
using System.Linq;
using System.Threading.Tasks;

namespace ArcGIS.WinUI.Samples.DefineClusteringFeatureReduction
namespace ArcGIS.WinUI.Samples.AddClusteringFeatureReductionToAPointFeatureLayer
{
[ArcGIS.Samples.Shared.Attributes.Sample(
name: "Define clustering feature reduction",
name: "Add clustering feature reduction to a point feature layer",
category: "Layers",
description: "Add client side feature reduction on a point feature layer that is not pre-configured with clustering.",
instructions: "Tap the `Draw clusters` button to set new feature reduction object on the feature layer. Interact with the controls to customize clustering feature reduction properties. Tap on any clustered aggregate geoelement to see the cluster feature count and aggregate fields in the popup.",
tags: new[] { "aggregate", "bin", "cluster", "group", "merge", "normalize", "popup", "reduce", "renderer", "summarize" })]
[ArcGIS.Samples.Shared.Attributes.OfflineData("aa44e79a4836413c89908e1afdace2ea")]
public partial class DefineClusteringFeatureReduction
public partial class AddClusteringFeatureReductionToAPointFeatureLayer
{
private FeatureLayer _layer;
private ClusteringFeatureReduction _clusteringFeatureReduction;

public DefineClusteringFeatureReduction()
public AddClusteringFeatureReductionToAPointFeatureLayer()
{
InitializeComponent();
_ = Initialize();
Expand Down Expand Up @@ -170,7 +170,7 @@ private void DrawClustersButton_Click(object sender, RoutedEventArgs e)
CreateCustomFeatureReduction();

// Show the feature reduction's clustering options.
DefineClusteringFeatureReductionOptions.Visibility = Visibility.Visible;
AddClusteringFeatureReductionToAPointFeatureLayerOptions.Visibility = Visibility.Visible;

// Add an event handler for tap events on the map view.
MyMapView.GeoViewTapped += MyMapView_GeoViewTapped;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Define clustering feature reduction
# Add clustering feature reduction to a point feature layer

Add client side feature reduction on a point feature layer that is not pre-configured with clustering.

![Image of define clustering feature reduction](DefineClusteringFeatureReduction.jpg)
![Image of add clustering feature reduction to a point feature layer](AddClusteringFeatureReductionToAPointFeatureLayer.jpg)

## Use case

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"category": "Layers",
"description": "Add client side feature reduction on a point feature layer that is not pre-configured with clustering.",
"formal_name": "DefineClusteringFeatureReduction",
"formal_name": "AddClusteringFeatureReductionToAPointFeatureLayer",
"ignore": false,
"images": [
"defineclusteringfeaturereduction.jpg"
"AddClusteringFeatureReductionToAPointFeatureLayer.jpg"
],
"keywords": [
"aggregate",
Expand All @@ -20,7 +20,7 @@
],
"offline_data": [],
"redirect_from": [
"/net/latest/maui/sample-code/defineclusteringfeaturereduction.htm"
"/net/latest/winui/sample-code/addclusteringfeaturereductiontoapointfeaturelayer.htm"
],
"relevant_apis": [
"AggregateGeoElement",
Expand All @@ -32,8 +32,8 @@
"PopupViewer"
],
"snippets": [
"DefineClusteringFeatureReduction.xaml.cs",
"DefineClusteringFeatureReduction.xaml"
"AddClusteringFeatureReductionToAPointFeatureLayer.xaml.cs",
"AddClusteringFeatureReductionToAPointFeatureLayer.xaml"
],
"title": "Define clustering feature reduction"
"title": "Add clustering feature reduction to a point feature layer"
}
Loading

0 comments on commit 7d8373f

Please sign in to comment.