@define('CONST_Suggestions_Enabled', false);
+ // Set to zero to disable polygon output
+ @define('CONST_PolygonOutput_MaximumTypes', 1);
+
// Log settings
@define('CONST_Log_DB', true);
@define('CONST_Log_File', false);
+ ($bAsKML?1:0)
+ ($bAsSVG?1:0)
+ ($bAsTEXT?1:0)
- ) > 1) {
- echo "Select only one polgyon output option";
+ ) > CONST_PolygonOutput_MaximumTypes) {
+ if (CONST_PolygonOutput_MaximumTypes) {
+ echo "Select only ".CONST_PolygonOutput_MaximumTypes." polgyon output option";
+ } else {
+ echo "Polygon output is disabled";
+ }
exit;
}