Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ private void Initialize()
Map myMap = new Map(BasemapStyle.ArcGISTopographic);
myMap.InitialViewpoint = new Viewpoint(34.056295, -117.195800, 50000);

// Enable magnifier.
// The magnifier is enabled by default but will only display on touch screen devices.
// To disable the magnifier set IsMagnifierEnabled = false.
MyMapView.InteractionOptions = new MapViewInteractionOptions
{
IsMagnifierEnabled = true
Expand Down
4 changes: 2 additions & 2 deletions src/MAUI/Maui.Samples/Samples/MapView/ShowMagnifier/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ Tap and hold on the map to show a magnifier, then drag across the map to move th
## How it works

1. Create a new `MapView`, and add an `Map` to it.
2. Enable the magnifier using `mapView.MagnifierEnabled`. This will set the magnifier to be shown on the `Map` when the user performs a long press gesture. Note: The default value is `false`.
2. Enable and disable the magnifier using `mapView.InteractionOptions.IsMagnifierEnabled`. This will set the magnifier to be shown on the `Map` when the user performs a long press gesture. Note: The default value is `true`.

## Relevant API

* Map
* MapView
* MapView.MagnifierEnabled
* MapViewInteractionOptions.IsMagnifierEnabled

## Additional information

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"relevant_apis": [
"Map",
"MapView",
"MapView.MagnifierEnabled"
"MapViewInteractionOptions.IsMagnifierEnabled"
],
"snippets": [
"ShowMagnifier.xaml.cs",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ private void Initialize()
Map myMap = new Map(BasemapStyle.ArcGISTopographic);
myMap.InitialViewpoint = new Viewpoint(34.056295, -117.195800, 50000);

// Enable magnifier.
// The magnifier is enabled by default but will only display on touch screen devices.
// To disable the magnifier set IsMagnifierEnabled = false.
MyMapView.InteractionOptions = new MapViewInteractionOptions()
{
IsMagnifierEnabled = true
Expand Down
4 changes: 2 additions & 2 deletions src/WPF/WPF.Viewer/Samples/MapView/ShowMagnifier/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ Tap and hold on the map to show a magnifier, then drag across the map to move th
## How it works

1. Create a new `MapView`, and add an `Map` to it.
2. Enable the magnifier using `mapView.MagnifierEnabled`. This will set the magnifier to be shown on the `Map` when the user performs a long press gesture. Note: The default value is `false`.
2. Enable and disable the magnifier using `mapView.InteractionOptions.IsMagnifierEnabled`. This will set the magnifier to be shown on the `Map` when the user performs a long press gesture. Note: The default value is `true`.

## Relevant API

* Map
* MapView
* MapView.MagnifierEnabled
* MapViewInteractionOptions.IsMagnifierEnabled

## Additional information

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"relevant_apis": [
"Map",
"MapView",
"MapView.MagnifierEnabled"
"MapViewInteractionOptions.IsMagnifierEnabled"
],
"snippets": [
"ShowMagnifier.xaml.cs",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ private void Initialize()
Map myMap = new Map(BasemapStyle.ArcGISTopographic);
myMap.InitialViewpoint = new Viewpoint(34.056295, -117.195800, 50000);

// Enable magnifier.
// The magnifier is enabled by default but will only display on touch screen devices.
// To disable the magnifier set IsMagnifierEnabled = false.
MyMapView.InteractionOptions = new MapViewInteractionOptions
{
IsMagnifierEnabled = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ Tap and hold on the map to show a magnifier, then drag across the map to move th
## How it works

1. Create a new `MapView`, and add an `Map` to it.
2. Enable the magnifier using `mapView.MagnifierEnabled`. This will set the magnifier to be shown on the `Map` when the user performs a long press gesture. Note: The default value is `false`.
2. Enable and disable the magnifier using `mapView.InteractionOptions.IsMagnifierEnabled`. This will set the magnifier to be shown on the `Map` when the user performs a long press gesture. Note: The default value is `true`.

## Relevant API

* Map
* MapView
* MapView.MagnifierEnabled
* MapViewInteractionOptions.IsMagnifierEnabled

## Additional information

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"relevant_apis": [
"Map",
"MapView",
"MapView.MagnifierEnabled"
"MapViewInteractionOptions.IsMagnifierEnabled"
],
"snippets": [
"ShowMagnifier.xaml.cs",
Expand Down