XMapLayerFactory.UpdateXMapMinZoom Method |
Updates the minimum zoom for the XMapServer layers.
Namespace:
Ptv.XServer.Controls.Map.Layers
Assembly:
Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntaxpublic static void UpdateXMapMinZoom(
this LayerCollection layers,
int minZoom,
Nullable<int> minZoomLabels = null
)
<ExtensionAttribute>
Public Shared Sub UpdateXMapMinZoom (
layers As LayerCollection,
minZoom As Integer,
Optional minZoomLabels As Nullable(Of Integer) = Nothing
)
public:
[ExtensionAttribute]
static void UpdateXMapMinZoom(
LayerCollection^ layers,
int minZoom,
Nullable<int> minZoomLabels = nullptr
)
[<ExtensionAttribute>]
static member UpdateXMapMinZoom :
layers : LayerCollection *
minZoom : int *
?minZoomLabels : Nullable<int>
(* Defaults:
let _minZoomLabels = defaultArg minZoomLabels null
*)
-> unit
Parameters
- layers
- Type: Ptv.XServer.Controls.Map.LayerCollection
The LayerCollection instance. - minZoom
- Type: System.Int32
Minimum zoom value to set. See remarks. - minZoomLabels (Optional)
- Type: System.Nullable<Int32>
Minimum zoom for the label layer. See remarks.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
LayerCollection. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
RemarksUpdate the minimum zoom for the background and the label layer. If minZoomLabels is unspecified,
minZoom will be used for both layers. If minZoomLabels is specified, minZoom determines the value for
the background and minZoomLabels the value for the label layer.
See Also