MapControl.ZoomLevel Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the zoom level of the map, which is a value between 1 and 20 in 2D views.
public:
property double ZoomLevel { double get(); void set(double value); };
double ZoomLevel();
void ZoomLevel(double value);
public double ZoomLevel { get; set; }
var double = mapControl.zoomLevel;
mapControl.zoomLevel = double;
Public Property ZoomLevel As Double
<!-- xmlns:Maps="using:Windows.UI.Xaml.Controls.Maps" -->
<Maps:MapControl ZoomLevel="zoomLevel"/>
- or -
<Maps:MapControl>
<Maps:MapControl.ZoomLevel>zoomLevel</Maps:MapControl.ZoomLevel>
</Maps:MapControl>
Property Value
Double
double
The zoom level of the map, which is a value between 1 and 20 in 2D views.
Remarks
See the remarks section of the TryZoomInAsync method.
Applies to
See also
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro