MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
void MgGeoJsonWriter::SetPrecision ( INT32  precision)

Sets the decimal precision to use when writing out coordinates. If you do not call this method, the default precision used is 7 decimal places. Precision must be enabled in order for this setting to have any effect.

.NET Syntax
void SetPrecision(int precision);
Java Syntax
void SetPrecision(int precision);
PHP Syntax
void SetPrecision(int precision);
Parameters:
precision(int) The decimal precision to write out coordinates