SetCartographicFlag Method

WRAPPER_API void SetCartographicFlag(bool cartographic = false)

 

Description

Sets a flag that enables better handling of certain projections for visual presentation.  As a note this will compromise mathematical accuracy in certain areas of the projection.  For instance if a projection expands off into infinity at a certain point, enabling cartographic mode will cause coordinates close to the point to start returning a set value instead of the correct value returned from the projection calculations.  This is done to prevent unreasonable (for purposes of visual display) stretching of the projected map.  The exact effect of this flag varies from projection to projection, and is not implemented for all projections.  This flag is best used when trying to visually display world projections.