﻿/* --------------------------------------------------------------------------------------------------------------
	Name				: 	Constants.js
	Purpose				:	This script contains name constants for the maps
	Created				:	03/12/2007
	Modified			:	  
	Author				:	Max Kramnik
	Version				:   1.0
	Comments			:	Map related constants		
--------------------------------------------------------------------------------------------------------------- */

var CONST = {}                                          //constants are available through the static object
   
CONST.COPYRIGHT_MESSAGE = "&#169; 2007 The MLS&#174;/CLAW &nbsp; &nbsp; &nbsp; &nbsp;";  //map copyright message
CONST.DEFAULT_MAP_CENTER = "34.061071 -118.383606";     //default center of the map    
CONST.DEFAULT_MAP_HEIGHT = "498px";                     //default map height
CONST.DEFAULT_MAP_ZOOM = 11;                            //default map zoom 
CONST.PUSH_PIN_IMAGE = "img/pin_red.png";                //push pin image location
CONST.BLUE_PIN = "img/pin_blue.png";        
CONST.BROWN_PIN = "img/pin_brown.png";   
CONST.GREEN_PIN = "img/pin_green.png";   
CONST.GRAY_PIN = "img/pin_gray.png";   
CONST.ORANGE_PIN = "img/pin_orange.png";   
CONST.RED_PIN = "img/pin_red.png";    
CONST.CYAN_PIN = "img/pin_cyan.png"; 
CONST.PINK_PIN = "img/pin_pink.png"; 
CONST.PURPLE_PIN = "img/pin_purple.png"; 
CONST.YELLOW_PIN = "img/pin_yellow.png";   
     
CONST.MULT_LISTING_PIN_IMAGE = "img/pin_multiple.png";

CONST.CENTER_POINT = "img/pin_home.png";

CONST.PRINT_RED = "img/print_red.png";
CONST.PRINT_BLUE = "img/print_blue.png";
CONST.PRINT_ORANGE = "img/print_orange.png";
CONST.PRINT_GREEN = "img/print_green.png";
CONST.PRINT_GRAY = "img/print_gray.png";
CONST.PRINT_BROWN = "img/print_brown.png";
CONST.PRINT_CYAN = "img/print_cyan.png";
CONST.PRINT_PINK = "img/print_pink.png";
CONST.PRINT_PURPLE = "img/print_purple.png";
CONST.PRINT_YELLOW = "img/print_yellow.png";

CONST.BODY_IMAGE = "img/body.png";
CONST.POINTER_IMAGE = "img/pointer.png";
CONST.CLOSE_IMAGE = "img/close_me.png";
CONST.ARROW_DOWN = "img/arrow_down.gif";
CONST.CIRCLE = "img/circle.gif";
CONST.CIRCLE_IN = "img/circle_in.gif";
CONST.RECTANGLE = "img/rectangle.gif";
CONST.RECTANGLE_IN = "img/rectangle_in.gif";
CONST.POLYLINE = "img/measure.gif";
CONST.POLYLINE_IN = "img/measure_in.gif";
CONST.POLYGON = "img/polygon.gif";
CONST.POLYGON_IN = "img/polygon_in.gif";
CONST.DELETE = "img/delete.gif";
CONST.DELETE_IN = "img/delete.gif";
CONST.MOUSE = "img/mouse.gif";
CONST.MOUSE_IN = "img/mouse_in.gif";
CONST.LISTINGWINDOW = "img/listingWindow.gif";
CONST.LISTINGWINDOW_IN = "img/listingWindow_in.gif";
CONST.ARROW_D = "img/arrow_down.png";
CONST.ARROW_U = "img/arrow_up.png";
CONST.ARROW_L = "img/arrow_left.png";
CONST.ARROW_R = "img/arrow_right.png";
CONST.CAMERA = "img/camera.gif";
CONST.PLATMAP = "img/platmap.gif";

CONST.COMMERCIAL = 5;  //commercial property type boundary

CONST.INFO_WINDOW_HEIGHT = 130;                         //info window approx height
CONST.INFO_WINDOW_WIDTH = 220;                          //info window approx width
CONST.INFO_WINDOW_PAGE_SIZE = 6;                          //number of records for one info window 

CONST.EQUATORIAL_RADIUS = 3963.1676;                    //Equatorial radius in miles
CONST.REL_PI = 0.01745329252;   /* (3.141592653589793 / 180) */   //relative value of PI, used in maltiple spearical formula





