/**********************************************************
*	parameters.js
*
**********************************************************/



// Custom nowCOAST parameters **********************
var layerListAssociate = false;
var useHyperlink = true;
var isHyperLink = false;
var useZoomLast = true;
var useFind = false;
var useQuery = true;
var usePrint = true;
var useZoomLatLon = true;
var useDataBrowser = true;
var useMapServiceSwitch = false;


//	Parameters for Overview and LayerList ************
var hasOVMap = false;
// Display/hide the layer list. If set to 'false', then overview map will also NOT be displayed.
var hasLayerList = true;


/**************************************************
*	Map Extent
***************************************************/

// If extent coords are all set to zero, coords will be 
// dynamically set by mapservice envelope.
// If coords are set to a non-zero value, both starting and full extent must be set 
// or full extent will default to starting defined by the starting extent coords

// starting extent coords
var minX = -131;
var minY = 14.93;
var maxX = -65;
var maxY = 58.02;

// full extent coords: must be specified for FullExtent button to work.
var fullMinX = -171.70;
var fullMinY = -6.80;
var fullMaxX = -44.10;
var fullMaxY = 75.10;

// full extent of the world map.  must be present to limit the zoom out extent.
var worldMinX = -180;
var worldMaxX = 180;
var worldMinY = -90;
var worldMaxY = 83.7;

/**************************************************
*	Toolbar buttons
***************************************************/

// Select tools available from the toolbar
var useFullExtent=true;
var useZoomIn=true;
var useZoomOut=true;
var usePan=true;
var useIdentify=true;
var useSelect=true; 
var useClearSelect=true;
// tool to dynamically add a service
var useAddService=true; 
var useLegend=false;



/**************************************************
*	Variables for colors, text
***************************************************/
var backColor = "#000066";
var textColor = "white";
var tableHeaderBackColor = "Gray";
var tableHeaderTextColor = "White";
var tableBackColor = "Silver";
var tableTextColor = "Black";
var tableTextFont = "Arial,Helvetica,sans-serif";
var layerListTextColor = "white";
var layerListTextFont = "Arial,Helvetica,sans-serif";


// OTHER ************************
// 0=none (default); 1=zoomin; 2=zoomout; 3=pan; 4=identify; 5=select;
var toolMode = 0; 
// If defined id does not exist in service, topmost layer will be used
var ActiveLayerId = "WARN_SHORT_SMW";
// Area around click used in identify. Helps in locating points and lines
var pixelTolerance = 5;
// Tolerance of movement for zooming by zoom box vs. factor zoom
boxTolerance = 4;
