Click or drag to resize

MapViewSetEnvelope Method (MapRectangle, Boolean, Double)

Sets the visible map section to a bounding box, so the box is contained in the map section.

Namespace:  Ptv.XServer.Controls.Map
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public void SetEnvelope(
	MapRectangle rect,
	bool animate,
	double maxAutoZoom
)

Parameters

rect
Type: Ptv.XServer.Controls.MapMapRectangle
The bounding box.
animate
Type: SystemBoolean
Animate the transition to the new map section.
maxAutoZoom
Type: SystemDouble
Additional specification of the maximal zoom.
See Also