MindFusion.Mapping Programmer's Guide

MapView.SetZoomFactor Method

See Also
 






Sets the map zoom level.

Namespace: MindFusion.Mapping.Wpf
Assembly: MindFusion.Mapping.Wpf

 Syntax

C#  Copy Code

public void SetZoomFactor (
    double zoomFactor,
    Point pivotPoint
)

Visual Basic  Copy Code

Public Sub SetZoomFactor( _
    zoomFactor As Double, _
    pivotPoint As Point _
)

 Parameters

zoomFactor

A double value specifying the new zoom level; 1 is for 100% zoom.

pivotPoint

A Point whose screen location should not change after zoom.

 See Also