CartoType iOS API 8.8-13-g03c6f7017
for development in Swift and Objective C for iOS and Mac OS
|
#import <CartoTypeBase.h>
Instance Methods | |
(CTResult) | - readFromXml: |
(NSString *) | - toXml |
(void *) | - getPerspectiveParam |
Properties | |
CartoTypePoint | positionDegrees |
bool | autoPosition |
double | heightMeters |
double | azimuthDegrees |
bool | autoAzimuth |
double | declinationDegrees |
double | rotationDegrees |
double | fieldOfViewDegrees |
Parameters giving detailed control of the perspective view.
- (void *) getPerspectiveParam |
(for internal use) Gets a pointer to the underlying C++ object.
- (CTResult) readFromXml: | (NSString *) | aText |
Reads a perspective parameter object from its XML form.
- (NSString *) toXml |
Creates a string representing a perspective parameter object in XML.
|
readwritenonatomicassign |
If true, ignore iAzimuthDegrees and use the current map orientation.
|
readwritenonatomicassign |
If true, ignore iPosition, and set the camera position so that the location in the center of the display is shown.
|
readwritenonatomicassign |
The azimuth of the camera in degrees going clockwise, where 0 is N, 90 is E, etc.
|
readwritenonatomicassign |
The declination of the camera downward from the horizontal plane. Values are clamped to the range -90...90.
|
readwritenonatomicassign |
The camera's field of view in degrees.
|
readwritenonatomicassign |
The height of the camera above the terrain. The value 0 causes a default value to be used, which is the width of the display.
|
readwritenonatomicassign |
The position of the point on the terrain below the camera, in degrees longitude (x) and latitude (y).
|
readwritenonatomicassign |
The amount by which the camera is rotated about its axis, after applying the declination, in degrees going clockwise.