/*
 *
 * This establishes a number of constants used for configuration of hte application
 *
 */

var CALL_SERVER_TYPE = 'standard'; //gismo
//CALL_SERVER_TYPE='gismo';

var MAPBOOK_FILE = 'demo.xml';

/*
 * Constatns to Define the MapServer Call
 */
var MAPSERVER_PATH = '/gis/mapserver/cgi-bin/mapserv.pl';
var MAPSERVER_HOST = '';
var MAPSERVER_METHOD = 'POST'; // POST IS *** HIGHLY *** RECOMMENDED, AND REQUIRED IF YOU ARE USING THE POLYGON TOOLS!!!!
var MAPSERVER_SEND_MAP = true;

/* This is the main template used in Server.js to create the call to map server
 * Examples (for GET):
 *	= 'http://[HOST]/[MAPSERVER_PATH]?map=[MAPFILE]&[PARAMETERS]';
 *	= '[MAPSERVER_PATH]?map=[MAPFILE]&[PARAMETERS]';
 * Examples (for POST):
 *	= 'http://[HOST]/[MAPSERVER_PATH]
 *	= '[MAPSERVER_PATH]';
 */
var MAPSERVER_CALL = '[MAPSERVER_PATH]/[MAPSERVER_PATH]?map=[MAPFILE]&[PARAMETERS]';
var MAPSERVER_DISPLAY_CALL = '[MAPSERVER_PATH]?[PARAMETERS]';

var LAYER_MAXIMUM_OBJECTS = 200;

var SERVER_MAXIMUM_ATTEMPTS = 3;

/*
 * Some image Locations.
 */

var BLANK_IMAGE = 'blank.gif';
var UNKNOWN_DEFAULT_ICON = 'map_info.gif';
var SERVICE_DEFAULT_ICON = 'tool.gif';
var MAP_DEFAULT_ICON = 'service.gif';
var VIEW_DEFAULT_ICON = 'view.gif';

