DynamicLocalProjection Class
Represents a map projection that can be modified dynamically, intended for local areas.
NuGet/Assembly: Carmenta.Engine.5.16.2.nupkg (in the CECore assembly)
Syntax
public class DynamicLocalProjection : Projection
Remarks
This type has been deprecated, and may be removed in future a version.
This projection is an old-fashioned way to construct a moving map that follows a vehicle or aircraft. It is recommended to use the View.Rotation property and a TileLayer instead.
However, the DynamicLocalProjection is an alternative, since its center point and up direction can be modified after creation. It can be used for a View.Crs (which preferably should have the same GeodeticDatum as the presented features). To pan and rotate the view, the application can call the Set method of the projection instance, with the new center point and up direction. (To implement zooming, you would set the View.Width or View.Scale as usual.)
The map projection method is the same as an EquidistantCylindricalProjection with rotation. This projection method is efficient but not very good for larger areas, except near the equator.
Inheritance Hierarchy
System.Object (not available in C#)
EngineObject
ResourceObject
Projection
DynamicLocalProjection
Platforms
Windows, Linux, Android
DynamicLocalProjection Members
The DynamicLocalProjection type has the following members.
Constructors
Name | Description |
---|---|
DynamicLocalProjection | Initializes a new instance of the DynamicLocalProjection class from center and up direction. |
Properties
Name | Description |
---|---|
Authority | Gets the name of an authority, which is often "epsg". Inherited from Projection |
AuthorityCode | Gets the unique code for the projection instance, according to the Authority, for example "19883". Inherited from Projection |
CentralLatitude | Gets the central latitude. |
CentralLongitude | Gets the central longitude. |
IsDisposed | Gets a value that tells whether the current DynamicLocalProjection has been disposed. Inherited from EngineObject |
LengthUnit | Gets the length unit. |
Gets a pre-defined LongLatProjection instance. Inherited from Projection | |
Name | Gets or sets the name of the DynamicLocalProjection. Inherited from ResourceObject |
NativeHandle | Gets the native Carmenta Engine kernel object the current DynamicLocalProjection represents. Inherited from EngineObject |
Up | Gets the up direction. |
IUserProperties.UserProperties | Gets the AttributeSet that contains the user properties. Inherited from IUserProperties |
Methods
Name | Description |
---|---|
Clone | Creates a copy of an object. Inherited from EngineObject |
Dispose | Releases the reference to the native Carmenta Engine kernel instance the EngineObject represents. Inherited from EngineObject |
Equals | Determines whether this instance is equal to another. Inherited from EngineObject |
Set | Modifies the central longitude and latitude, and the up direction. |
Returns one of the 120 predefined instances of Universal Transverse Mercator. Inherited from Projection |