// configuration variables for map search

// default values - configure as required for your site or override with CSS
var defWidth=780;      // default width of map box
var defHeight=450;     // default height of map box

// where to center the blank map when first starts up.  use this
// link to get the lat/lng of where you want to center and zoom level
// http://gmaps-samples-v3.googlecode.com/svn/trunk/geocoder/getlatlng.html
var defCtrLat=30.383698427381496;       // centerpoint latitude
var defCtrLng=-86.32962298518065;      // centerpoint longitude
var defZoom=14;             // zoom level of blank map
var maxZoom=15;            // max zoom level when only 1 marker

// min/max lat/lng - if outside these bounds, it will
// cause an alert to pop-up because it is probably not
// geocoded correctly (alert currently commented out)
var minLat=28.0;       // minimum latitude
var maxLat=32.0;       // maximum latitude
var minLng=-89.0;      // minimum longitude
var maxLng=-83.0;      // maximum longitude

// maximum number of auto suggestions to display
var maxAutoSuggest = 8;

// controls whether the mouse wheel zooms the map
var wheelZoom = false;

// default icons - change as you see fit
// these are the standard icons to display for each property type
var iconHome = 'images/home.png';
var iconTownhouse = 'images/townhome.png';
var iconCondo = 'images/condo.png';
var iconTimeshare = 'images/timeshare.png';
var iconResLand = 'images/land.png';
var iconCommSales = 'images/commsales.png';
var iconCommLand = 'images/commland.png';
var iconCommLease = 'images/commlease.png';
var iconRental = 'images/rental.png';
var iconAuction = 'images/auction.png';
var iconFarm = 'images/farm.png';

// default viewed icons - change as you see fit
// these are the icons to display for each property type 
// after the user has clicked on it to view the infoWindow
var viewedHome = 'images/home.png';
var viewedTownhouse = 'images/townhome.png';
var viewedCondo = 'images/condo.png';
var viewedTimeshare = 'images/timeshare.png';
var viewedResLand = 'images/land.png';
var viewedCommSales = 'images/commsales.png';
var viewedCommLand = 'images/commland.png';
var viewedCommLease = 'images/commlease.png';
var viewedRental = 'images/rental.png';
var viewedAuction = 'images/auction.png';
var viewedFarm = 'images/farm.png';

/*
 *  Points of Interest Section
 */
 
// display points of interest - true or false
// do not set to true unless a points_of_interest table and a
// poi_categories table have been set up and populated with at least
// one point of interest (see ndpair_map db for table structures)
var disp_poi=false;

// whether to display poi on the blank map before a search.
// must also have disp_poi set for poi to display at all
var always_poi=false;

// use poi in computing map bounds - true or false
// if set to true, all poi will be visible in the map for every
// search.  if false, only the poi within the current map bounds
// will appear.  the others will appear if you pan or zoom out.
var bound_poi=false;

// default points of interest icons - change as you see fit
// these are the standard icons to display for each point of interest
var iconBusiness = 'http://labs.google.com/ridefinder/images/mm_20_blue.png';
var iconRestaurant = 'http://labs.google.com/ridefinder/images/mm_20_red.png';
var iconShopping = 'http://labs.google.com/ridefinder/images/mm_20_purple.png';
var iconPark = 'http://labs.google.com/ridefinder/images/mm_20_green.png';
var iconSchool = 'http://labs.google.com/ridefinder/images/mm_20_yellow.png';
var iconChurch = 'http://labs.google.com/ridefinder/images/mm_20_white.png';
var iconOther = 'http://labs.google.com/ridefinder/images/mm_20_black.png';

// default viewed icons - change as you see fit
// these are the icons to display for each point of interest
// after the user has clicked on it to view the infoWindow
var viewedBusiness = 'http://labs.google.com/ridefinder/images/mm_20_orange.png';
var viewedRestaurant = 'http://labs.google.com/ridefinder/images/mm_20_red.png';
var viewedShopping = 'http://labs.google.com/ridefinder/images/mm_20_purple.png';
var viewedPark = 'http://labs.google.com/ridefinder/images/mm_20_green.png';
var viewedSchool = 'http://labs.google.com/ridefinder/images/mm_20_yellow.png';
var viewedChurch = 'http://labs.google.com/ridefinder/images/mm_20_white.png';
var viewedOther = 'http://labs.google.com/ridefinder/images/mm_20_black.png';

