Skip to content

Commit c8181fb

Browse files
authored
Updates to the readme copy script (#992)
* Added sample exclusion to script * Update metadata * Added logic for "clicked" and "tapped"
1 parent 9701e52 commit c8181fb

File tree

27 files changed

+59
-40
lines changed

27 files changed

+59
-40
lines changed

src/Forms/Shared/Samples/Data/EditAndSyncFeatures/EditAndSyncFeatures.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace ArcGISRuntime.Samples.EditAndSyncFeatures
3131
name: "Edit and sync features",
3232
category: "Data",
3333
description: "Synchronize offline edits with a feature service.",
34-
instructions: "Pan and zoom to position the red rectangle around the area you want to take offline. Tap \"Generate geodatabase\" to take the area offline. When complete, the map will update to only show the offline area. To edit features, tap to select a feature, and tap again anywhere else on the map to move the selected feature to the clicked location. To sync the edits with the feature service, tap the \"Sync geodatabase\" button.",
34+
instructions: "Pan and zoom to position the red rectangle around the area you want to take offline. Tap \"Generate geodatabase\" to take the area offline. When complete, the map will update to only show the offline area. To edit features, tap to select a feature, and tap again anywhere else on the map to move the selected feature to the tapped location. To sync the edits with the feature service, tap the \"Sync geodatabase\" button.",
3535
tags: new[] { "feature service", "geodatabase", "offline", "synchronize" })]
3636
[ArcGISRuntime.Samples.Shared.Attributes.OfflineData("e4a398afe9a945f3b0f4dca1e4faccb5")]
3737
public partial class EditAndSyncFeatures : ContentPage

src/Forms/Shared/Samples/Data/EditAndSyncFeatures/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ A survey worker who works in an area without an internet connection could take a
1010

1111
## How to use the sample
1212

13-
Pan and zoom to position the red rectangle around the area you want to take offline. Tap "Generate geodatabase" to take the area offline. When complete, the map will update to only show the offline area. To edit features, tap to select a feature, and tap again anywhere else on the map to move the selected feature to the clicked location. To sync the edits with the feature service, tap the "Sync geodatabase" button.
13+
Pan and zoom to position the red rectangle around the area you want to take offline. Tap "Generate geodatabase" to take the area offline. When complete, the map will update to only show the offline area. To edit features, tap to select a feature, and tap again anywhere else on the map to move the selected feature to the tapped location. To sync the edits with the feature service, tap the "Sync geodatabase" button.
1414

1515
## How it works
1616

src/Forms/Shared/Samples/Geometry/FormatCoordinates/FormatCoordinates.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace ArcGISRuntime.Samples.FormatCoordinates
2121
name: "Format coordinates",
2222
category: "Geometry",
2323
description: "Format coordinates in a variety of common notations.",
24-
instructions: "Tap on the map to see a callout with the clicked location's coordinate formatted in 4 different ways. You can also put a coordinate string in any of these formats in the text field. Hit Enter and the coordinate string will be parsed to a map location which the callout will move to.",
24+
instructions: "Tap on the map to see a callout with the tapped location's coordinate formatted in 4 different ways. You can also put a coordinate string in any of these formats in the text field. Hit Enter and the coordinate string will be parsed to a map location which the callout will move to.",
2525
tags: new[] { "USNG", "UTM", "convert", "coordinate", "decimal degrees", "degree minutes seconds", "format", "latitude", "longitude" })]
2626
public partial class FormatCoordinates : ContentPage
2727
{

src/Forms/Shared/Samples/Geometry/FormatCoordinates/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The coordinate formatter can format a map location in WGS84 in a number of commo
1010

1111
## How to use the sample
1212

13-
Tap on the map to see a callout with the clicked location's coordinate formatted in 4 different ways. You can also put a coordinate string in any of these formats in the text field. Hit Enter and the coordinate string will be parsed to a map location which the callout will move to.
13+
Tap on the map to see a callout with the tapped location's coordinate formatted in 4 different ways. You can also put a coordinate string in any of these formats in the text field. Hit Enter and the coordinate string will be parsed to a map location which the callout will move to.
1414

1515
## How it works
1616

src/Forms/Shared/Samples/Geometry/NearestVertex/NearestVertex.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace ArcGISRuntime.Samples.NearestVertex
2020
name: "Nearest vertex",
2121
category: "Geometry",
2222
description: "Find the closest vertex and coordinate of a geometry to a point.",
23-
instructions: "Tap anywhere on the map. An orange cross will show at that location. A blue circle will show the polygon's nearest vertex to the point that was clicked. A red diamond will appear at the coordinate on the geometry that is nearest to the point that was clicked. If clicked inside the geometry, the red and orange markers will overlap. The information box showing distance between the clicked point and the nearest vertex/coordinate will be updated with every new location clicked.",
23+
instructions: "Tap anywhere on the map. An orange cross will show at that location. A blue circle will show the polygon's nearest vertex to the point that was clicked. A red diamond will appear at the coordinate on the geometry that is nearest to the point that was clicked. If tapped inside the geometry, the red and orange markers will overlap. The information box showing distance between the tapped point and the nearest vertex/coordinate will be updated with every new location clicked.",
2424
tags: new[] { "analysis", "coordinate", "geometry", "nearest", "proximity", "vertex" })]
2525
public partial class NearestVertex
2626
{

src/Forms/Shared/Samples/Geometry/NearestVertex/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Determine the shortest distance between a location and the boundary of an area.
1010

1111
## How to use the sample
1212

13-
Tap anywhere on the map. An orange cross will show at that location. A blue circle will show the polygon's nearest vertex to the point that was tapped. A red diamond will appear at the coordinate on the geometry that is nearest to the point that was tapped. If tapped inside the geometry, the red and orange markers will overlap. The information box showing distance between the tapped point and the nearest vertex/coordinate will be updated with every new location tapped.
13+
Tap anywhere on the map. An orange cross will show at that location. A blue circle will show the polygon's nearest vertex to the point that was clicked. A red diamond will appear at the coordinate on the geometry that is nearest to the point that was clicked. If tapped inside the geometry, the red and orange markers will overlap. The information box showing distance between the tapped point and the nearest vertex/coordinate will be updated with every new location clicked.
1414

1515
## How it works
1616

src/Forms/Shared/Samples/Geometry/Project/Project.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace ArcGISRuntimeXamarin.Samples.Project
2020
name: "Project",
2121
category: "Geometry",
2222
description: "Project a point from one spatial reference to another.",
23-
instructions: "Tap anywhere on the map. A callout will display the clicked location's coordinate in the original (basemap's) spatial reference and in the projected spatial reference.",
23+
instructions: "Tap anywhere on the map. A callout will display the tapped location's coordinate in the original (basemap's) spatial reference and in the projected spatial reference.",
2424
tags: new[] { "WGS 84", "Web Mercator", "coordinate system", "coordinates", "latitude", "longitude", "projected", "projection", "spatial reference" })]
2525
public partial class Project : ContentPage
2626
{

src/Forms/Shared/Samples/Geometry/Project/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Being able to project between spatial references is fundamental to a GIS. An exa
1010

1111
## How to use the sample
1212

13-
Tap anywhere on the map. A callout will display the clicked location's coordinate in the original (basemap's) spatial reference and in the projected spatial reference.
13+
Tap anywhere on the map. A callout will display the tapped location's coordinate in the original (basemap's) spatial reference and in the projected spatial reference.
1414

1515
## How it works
1616

src/Forms/Shared/Samples/GraphicsOverlay/IdentifyGraphics/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Select a graphic to identify it. You will see an alert message displayed.
1616

1717
1. Create a `GraphicsOverlay` and add it to the `MapView`.
1818
2. Add a `Graphic` along with a `SimpleFillSymbol` to the graphics overlay.
19-
3. Create a `Point` from the location clicked on the map view by the user.
19+
3. Create a `Point` from the location tapped on the map view by the user.
2020
4. Identify the graphic on the map view with `IdentifyGraphicsOverlayAsync(graphicsOverlay, pointClicked, tolerance, max results)`.
2121

2222
## Relevant API

src/Forms/Shared/Samples/Layers/FeatureLayerSelection/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Tap on a feature in the map. All features within a given tolerance (in pixels) o
1616

1717
1. Create a `ServiceFeatureTable` from a feature service URL.
1818
2. Create a `FeatureLayer` from the service feature table.
19-
3. Identify nearby features at the clicked location using `IdentifyLayerAsync(featureLayer, clickLocation, tolerance, returnPopupsOnly, maxResults)` on the map view.
19+
3. Identify nearby features at the tapped location using `IdentifyLayerAsync(featureLayer, clickLocation, tolerance, returnPopupsOnly, maxResults)` on the map view.
2020
4. Select all identified features in the feature layer with `SelectFeatures(features)`.
2121

2222
## Relevant API

0 commit comments

Comments
 (0)