From 5925a61d46f0a1ffb137316ad55924691b86b878 Mon Sep 17 00:00:00 2001 From: William Bohrmann <118313312+williambohrmann3@users.noreply.github.com> Date: Mon, 6 May 2024 10:55:27 -0700 Subject: [PATCH] Toolkit concept docs XAML: batch 3 (#559) Co-authored-by: Thad Tilton --- docs/legend.md | 4 ++-- docs/overview-map.md | 4 ++-- docs/scale-line.md | 33 ++++++++++++++++++++++++++-- docs/search-view.md | 49 +++++++++++++++++++++++------------------- docs/symbol-display.md | 21 +++++++++++++++++- docs/un-trace.md | 35 +++++++++++++++++++++++++++--- 6 files changed, 114 insertions(+), 32 deletions(-) diff --git a/docs/legend.md b/docs/legend.md index 4cd435171..ee9d08efb 100644 --- a/docs/legend.md +++ b/docs/legend.md @@ -19,7 +19,7 @@ Display a legend for a map or scene view. - ``` @@ -34,7 +34,7 @@ Display a legend for a map or scene view. - ``` diff --git a/docs/overview-map.md b/docs/overview-map.md index 98e150134..635579bd7 100644 --- a/docs/overview-map.md +++ b/docs/overview-map.md @@ -34,7 +34,7 @@ OverviewMap has the following bindable properties: + GeoView="{x:Reference MyMapView}" /> ``` @@ -45,7 +45,7 @@ OverviewMap has the following bindable properties: xmlns:toolkit="using:Esri.ArcGISRuntime.Toolkit.UI.Controls"> + GeoView="{x:Bind MyMapView}" /> ``` diff --git a/docs/scale-line.md b/docs/scale-line.md index bdcc4167c..7466731c1 100644 --- a/docs/scale-line.md +++ b/docs/scale-line.md @@ -12,6 +12,35 @@ Display the current scale reference for a map. ## Usage +Ensure that your `GeoModel` is not null before selecting a basemap with the `BasemapGallery`. + +### .NET MAUI: + +```xml + + + + +``` + +### UWP/WinUI: + +```xml + + + + +``` + +### WPF: + ```xml - -``` \ No newline at end of file + + + + +``` diff --git a/docs/search-view.md b/docs/search-view.md index e7888e5e6..dd9dbfcea 100644 --- a/docs/search-view.md +++ b/docs/search-view.md @@ -27,36 +27,41 @@ The following properties enable customization of the view: - `EnableIndividualResultDisplay` - Controls whether the result list is shown when there is only one result. - `MutlipleResultZoomBuffer` - Controls the buffer distance around collection results when a GeoView is attached and a search has multiple results. -## Usage - WPF +## Usage -```xaml - - - +### .NET MAUI: + +`SearchView` shows results in a list on top of underlying content, so it is best to position the view near the top of the page, on top of the `MapView` or `SceneView`. + +```xml + + + ``` -## Usage - UWP and WinUI +### UWP/WinUI: -```xaml - +```xml + - + ``` -## Usage - MAUI +### WPF: -SearchView shows results in a list on top of underlying content, so it is best to position the view near the top of the page, on top of the MapView or SceneView. - -```xaml - - - - - - - - +```xml + + + -``` \ No newline at end of file +``` diff --git a/docs/symbol-display.md b/docs/symbol-display.md index 42821f6f0..17bd8e90d 100644 --- a/docs/symbol-display.md +++ b/docs/symbol-display.md @@ -11,6 +11,25 @@ Displays a symbol outside of a `GeoView`. ## Usage + + +### .NET MAUI: + +```xml + +``` + +## UWP/WinUI: + +```xml + +``` + +### WPF: + ```xml - + ``` \ No newline at end of file diff --git a/docs/un-trace.md b/docs/un-trace.md index 967461d9c..b216c9ddf 100644 --- a/docs/un-trace.md +++ b/docs/un-trace.md @@ -44,15 +44,44 @@ The following properties enable customizing symbology: ## Usage +The default template for this control is optimized for a panel or side-by-side presentation with a width of around 300 dip. + +### .NET MAUI: + ```xml - + + + + +``` + +### UWP/WinUI: + +```xml + - + ``` -The default template for this control is optimized for a panel or side-by-side presentation with a width of around 300 dip. \ No newline at end of file +### WPF: + +```xml + + + + + + + + +```