NMapBounds Structure Members
In This Topic
The following tables list the members exposed by NMapBounds.
Public Constructors
Public Fields
| Name | Description |
| Auto | Denotes that the map bounds should be automatically calculated based on the imported map data. |
| World | Represents the world map bounds. |
Top
Public Properties
| Name | Description |
| CoordinateSystemType | Gets the coordinate system type of this map bounds. |
| Height | Gets the height of this map bounds, i.e. the difference between the maximum and the minimum latitude. |
| IsAuto | Gets whether this map bounds object is set to Auto, which is true if at least one of the min or max longitudes or latitudes is set to Double.NaN. |
| IsEmpty | Gets whether this map bounds has zero width or height. |
| MaxLatitude | Gets/Sets the maximum latitude in degrees. Should be in the range [-90, 90]. By default set to Double.NaN, which means that the value will be automatically determined from the imported map data. |
| MaxLongitude | Gets/Sets the maximum longitude in degrees. Should be in the range [-180, 180]. By default set to Double.NaN, which means that the value will be automatically determined from the imported map data. |
| MinLatitude | Gets/Sets the minimum latitude in degrees. Should be in the range [-90, 90]. By default set to Double.NaN, which means that the value will be automatically determined from the imported map data. |
| MinLongitude | Gets/Sets the minimum longitude in degrees. Should be in the range [-180, 180]. By default set to Double.NaN, which means that the value will be automatically determined from the imported map data. |
| Width | Gets the width of this map bounds, i.e. the difference between the maximum and the minimum longitude. |
Top
Public Methods
| Name | Description |
| ClampToWorldBounds | Clamps this map bounds to the World bounds. |
| Contains | Determines whether the map bounds contains the specified map bounds. |
| FromNRectangle | Creates a map bounds from the given NRectangle instance. |
| Intersection | Overloaded. Returns a third map bounds that represents the intersection of two map bounds. If there is no intersection, the Auto map bounds is returned. |
| ToNRectangleF | Converts this map bounds to an NRectangle instance. |
| ToString | Gets the string representation of this object. |
| Union | Overloaded. Creates the smallest possible map bounds, which contains both this and the given map bounds. |
Top
See Also