MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual void MgCoordinateSystem::SetLonLatBounds ( double  dLonMin,
double  dLatMin,
double  dLonMax,
double  dLatMax 
) [pure virtual]

Allows to set the min/max longitude and latitude values in degrees this coordinate system is valid in. This method must only be called on systems that are not protected. When setting these values, the coordinate system API will perform the following actions:

  1. (Re-)enable valid range checking: When converting coordinates, the values are checked to fall in the valid range as specified here
  2. Save the values for later storage: When eventually writing this coordinate system to the dictionary, the values will be written, too.
Parameters:
dLonMinThe minimum longitude value
dLatMinThe minimum latitude value
dLonMaxThe maximum longitude value
dLatMaxThe maximum latitude value
Returns:
Nothing