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
)
Public Sub SetEnvelope (
rect As MapRectangle,
animate As Boolean,
maxAutoZoom As Double
)
public:
void SetEnvelope(
MapRectangle^ rect,
bool animate,
double maxAutoZoom
)
member SetEnvelope :
rect : MapRectangle *
animate : bool *
maxAutoZoom : float -> unit
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