DK for Delphi | GisViewer.TGIS_Viewer.CS | Constructors | Fields | Methods | Properties | Events | Events
Coordinate system assigned to the viewer. If set to nil, the coordinate system is turned off. The default is turned off.
// Delphi public property CS : TGIS_CSCoordinateSystem read write;
// C++ Builder public: __property TGIS_CSCoordinateSystem* CS = {read, write};
USAGE: Set global coordinate system for all layers. Essential for proper coordinate transformations and accurate geographic representation. All layers must have proper CS; otherwise turned off.
cs = CreateCoordinateSystem(3857) gis.CS = cs gis.Reposition()
USAGE: Set/get map coordinate system. Controls projection and coordinate handling for all layers. Affects distance, area, and coordinate calculations.
cs = TGIS_CSFactory.CreateWithWKT(wkt_string) gis.CS = cs