CartoType .NET API 7.8.2, 2022-03-25
for development in C#, Visual Basic and other .NET languages
|
The view state, which can be retrieved or set so that maps can be recreated. More...
#include <CartoTypeWrapper.h>
Public Member Functions | |
Result | ReadFromXml (String^ aText) |
Reads a view state from its XML form. | |
String ^ | ToXml () |
Creates a string representing a view state in XML. | |
Public Attributes | |
int | m_width_in_pixels = 256 |
The display width in pixels. | |
int | m_height_in_pixels = 256 |
The display height in pixels. | |
double | m_view_center_degrees_x |
The X coordinate (longitude) of the view center in map coordinates. | |
double | m_view_center_degrees_y |
The Y coordinate (latitude) of the view center in map coordinates. | |
double | m_scale_denominator = 0 |
The denominator of the scale fraction; e.g., 50000 for 1:50000. | |
double | m_rotation_degrees = 0 |
The clockwise rotation of the view in degrees. | |
bool | m_perspective = false |
True if perspective mode is on. | |
PerspectiveParam ^ | m_perspective_param = nullptr |
The parameters to be used for perspective mode; if null, default parameters are used. | |
The view state, which can be retrieved or set so that maps can be recreated.