Click or drag to resize

MapBuffer Structure

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Used to provide a buffer to ZoomToBoundingBox(BoundingBox, MapBuffer), with separate values for each side of the map.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public struct MapBuffer

The MapBuffer type exposes the following members.

Constructors
  NameDescription
Public methodMapBuffer(Int32)
Constructs a MapBuffer with the same buffer on every side.
Public methodMapBuffer(Int32, Int32, Int32, Int32)
Constructs a MapBuffer with each side's buffer size explicitly provided.
Top
Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Fields
  NameDescription
Public fieldBottom
The buffer below the BoundingBox, in pixels.
Public fieldLeft
The buffer on the left side of the BoundingBox, in pixels.
Public fieldRight
The buffer on the right side of the BoundingBox, in pixels.
Public fieldTop
The buffer above the BoundingBox, in pixels.
Top
Examples
IMap map; // initialize the map... // a buffer with 150px to the left of the bounding box, 50px to the right, and // 0px above and below the bounding box var buffer = new MapBuffer { Left = 150, Right = 50, }; map.ZoomToBoundingBox(bbox, buffer);
See Also