// Setup some different icons for categories
var iconRestaurants = new GIcon();
iconRestaurants.image = '/images/map_icons/restaurants.png';
iconRestaurants.iconSize = new GSize(24, 24); //new GSize(20, 34);
iconRestaurants.iconAnchor = new GPoint(10, 34);
iconRestaurants.infoWindowAnchor = new GPoint(0, 0);
var iconShopping = new GIcon();
iconShopping.image = '/images/map_icons/shopping.png';
iconShopping.iconSize = new GSize(24, 32);
iconShopping.iconAnchor = new GPoint(10, 34);
iconShopping.infoWindowAnchor = new GPoint(0, 0);
var iconGolf = new GIcon();
iconGolf.image = '/images/map_icons/golf.png';
iconGolf.iconSize = new GSize(24, 24);
iconGolf.iconAnchor = new GPoint(10, 34);
iconGolf.infoWindowAnchor = new GPoint(0, 0);
var iconTennis = new GIcon();
iconTennis.image = '/images/map_icons/tennis.png';
iconTennis.iconSize = new GSize(24, 24);
iconTennis.iconAnchor = new GPoint(10, 34);
iconTennis.infoWindowAnchor = new GPoint(0, 0);
var iconParksAndTrails = new GIcon();
iconParksAndTrails.image = '/images/map_icons/parks_and_trails.png';
iconParksAndTrails.iconSize = new GSize(24, 13);
iconParksAndTrails.iconAnchor = new GPoint(10, 34);
iconParksAndTrails.infoWindowAnchor = new GPoint(0, 0);
var customIcons = {
'restaurants': iconRestaurants,
'shopping': iconShopping,
'golf': iconGolf,
'tennis': iconTennis,
'parks_and_trails': iconParksAndTrails
};
var markerGroups = {
'restaurants': [],
'shopping': [],
'golf': [],
'tennis': [],
'parks_and_trails': []
};
function createMarker(icon, group, point, html) {
var marker = new GMarker(point, {icon: customIcons[icon]});
if (markerGroups[group]) {
markerGroups[group].push(marker);
}
GEvent.addListener(marker, "click", function() {
map.openInfoWindowHtml(point, html);
});
return marker;
}
function toggleGroup(group) {
for (var i = 0; i < markerGroups[group].length; i++) {
var marker = markerGroups[group][i];
if (marker.isHidden()) {
marker.show();
} else {
marker.hide();
}
}
}
function setAddress(field, address) {
var returnVar;
returnVar = Ext.getDom(field).value = address;
returnVar = Ext.get(field).frame("FFFFFF", 2);
return false;
}
function setDirections(fromAddress, toAddress) {
gdir.load("from: " + fromAddress + " to: " + toAddress);
}
function handleErrors(){
if (gdir.getStatus().code == G_GEO_UNKNOWN_ADDRESS)
alert("No corresponding geographic location could be found for one of the specified addresses. This may be due to the fact that the address is relatively new, or it may be incorrect.\nError code: " + gdir.getStatus().code);
else if (gdir.getStatus().code == G_GEO_SERVER_ERROR)
alert("A geocoding or directions request could not be successfully processed, yet the exact reason for the failure is not known.\n Error code: " + gdir.getStatus().code);
else if (gdir.getStatus().code == G_GEO_MISSING_QUERY)
alert("The HTTP q parameter was either missing or had no value. For geocoder requests, this means that an empty address was specified as input. For directions requests, this means that no query was specified in the input.\n Error code: " + gdir.getStatus().code);
else if (gdir.getStatus().code == G_GEO_BAD_KEY)
alert("The given key is either invalid or does not match the domain for which it was given. \n Error code: " + gdir.getStatus().code);
else if (gdir.getStatus().code == G_GEO_BAD_REQUEST)
alert("A directions request could not be successfully parsed.\n Error code: " + gdir.getStatus().code);
else alert("An unknown error occurred.");
}
var map;
Ext.onReady(function() {
if (GBrowserIsCompatible()) {
// Initialize our checkboxes
Ext.getDom('restaurants').checked = true;
Ext.getDom('shopping').checked = true;
Ext.getDom('golf').checked = true;
Ext.getDom('tennis').checked = true;
Ext.getDom('parks_and_trails').checked = true;
map = new GMap2(document.getElementById('map'));
map.setCenter(new GLatLng(33.752558, -116.429441), 13); // Center on Rancho Mirage
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
map.enableScrollWheelZoom();
gdir = new GDirections(map, document.getElementById('directions'));
GEvent.addListener(gdir, "error", handleErrors);
var point = new GLatLng(33.742181, -116.413005);
var html = 'Applebee\'s
71-740 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 674-0761
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.74136, -116.412272);
var html = 'Babe\'s Bar-B-Que Grill and Brewhouse
71-800 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 346-8738
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.74136, -116.412272);
var html = 'The Cheesecake Factory
71-800 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 404-1400
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.756470, -116.391212);
var html = 'Goody\'s Cafe
40-101 Monterey Ave,
Rancho Mirage, CA. 92270
Phone - (760) 346-2604
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.742643, -116.413411);
var html = 'The Great American Grill at Hilton Garden Inn
71-700 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 776-9700
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.800306, -116.388241);
var html = 'International House of Pancakes
34-199 Monterey Ave,
Rancho Mirage, CA. 92270
Phone - (760) 770-5686
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.770043, -116.446402);
var html = 'Marie Callender\'s
69-830 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 328-0844
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.739115, -116.410510);
var html = 'Mimi\'s Cafe
71-861 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 836-3905
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.744400, -116.408124);
var html = 'R Bar at Rancho Las Palmas
41-000 Bob Hope Drive,
Rancho Mirage, CA. 92270
Phone - (760) 568-2727
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.801793, -116.391073);
var html = 'Red Robin Gourmet Burgers and Spirits
72-797 Dinah Shore Dr,
Rancho Mirage, CA. 92270
Phone - (760) 324-8310
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.738744, -116.410236);
var html = 'Ruby\'s Diner
71-885 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 836-0788
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.801586, -116.417596);
var html = 'Season\'s Grill/ Westin Mission Hills Resort & Villas
71-333 Dinah Shore Drive,
Rancho Mirage, CA. 92270
Phone - (760) 328-5955
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.74136, -116.412272);
var html = 'Yard House Rancho Mirage
71-800 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 779-1415
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.7444, -116.408124);
var html = 'bluEmber at Rancho Las Palmas Resort & Spa
41-000 Bob Hope Drive,
Rancho Mirage, CA. 92270
Phone - (760) 568-2727
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.74136, -116.412272);
var html = 'Piero\'s Acqua Pazza - A California Bistro
71-800 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 862-9800
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.787065, -116.406057);
var html = 'Lotus Chinese Restaurant
36-101 Bob Hope Dr F-4,
Rancho Mirage, CA. 92270
Phone - (760) 202-8877
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.74136, -116.412272);
var html = 'P.F. Chang\'s China Bistro
71-800 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 776-4912
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.800952, -116.388244);
var html = 'Panda Express
34-151 Monterey Ave,
Rancho Mirage, CA. 92270
Phone - (760) 321-5738
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.756470, -116.391212);
var html = 'Shanghai Inn
40-101 Monterey Ave A-3,
Rancho Mirage, CA. 92270
Phone - (760) 568-5812
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.801807, -116.390404);
var html = 'Juice It Up!
72877 Dinah Shore Dr,
Rancho Mirage, CA. 92270
Phone - (760) 202-7713
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.74136, -116.412272);
var html = 'Seattle\'s Best Coffee at Borders Books and Music
71-800 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 779-1314
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.74136, -116.412272);
var html = 'Starbucks
71-800 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 776-1844
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.75647, -116.391212);
var html = 'Starbucks
40-101 Monterey Ave,
Rancho Mirage, CA. 92270
Phone - (760) 341-4925
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.756470, -116.391212);
var html = 'Swiss Donut
40-101 Monterey Ave,
Rancho Mirage, CA. 92270
Phone - (760) 346-5888
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.772493, -116.445098);
var html = 'Shame On The Moon Restaurant
69-950 Frank Sinatra Drive,
Rancho Mirage, CA. 92270
Phone - (760) 324-5515
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.740952, -116.41207);
var html = 'Wally\'s Desert Turtle
71-775 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 568-9321
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.757804, -116.435872);
var html = 'Lord Fletcher Inn
70-385 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 328-1161
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.801624, -116.388248);
var html = 'McDonald\'s
34-101 Monterey Ave,
Rancho Mirage, CA. 92270
Phone - (760) 202-6894
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.800952, -116.388244);
var html = 'Subway
34-151 Monterey Ave,
Rancho Mirage, CA. 92270
Phone - (760) 328-4078
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.8018, -116.39077);
var html = 'Wendy\'s
72-837 Dinah Shore Dr,
Rancho Mirage, CA. 92270
Phone - (760) 321-8614
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.743404, -116.414081);
var html = 'The Honey Baked Ham Company - Carry-out
71-634 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 346-3894
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.759913, -116.438999);
var html = 'Jennifer\'s Kitchen & Catering
70-225 Highway 111, Suite A,
Rancho Mirage, CA. 92270
Phone - (760) 324-3904
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.74136, -116.412272);
var html = 'Ben and Jerry\'s Ice Cream
71-800 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 779-1823
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.75647, -116.391212);
var html = 'Golden Spoon
40-101 Monterey Ave,
Rancho Mirage, CA. 92270
Phone - (760) 340-0402
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.81458, -116.410417);
var html = 'Grand Palms Buffet
32-250 Bob Hope Dr,
Rancho Mirage, CA. 92270
Phone - (760) 202-2601
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.745952, -116.417363);
var html = 'Alberto\'s Ristorante
71-416 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 346-3221
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.746264, -116.418035);
var html = 'Amici Italian Trattoria
71-380 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 341-0738
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.8, -116.39);
var html = 'The Slice - NY Style Pizzeria Ristorante
72-877 Dinah Shore Drive,
Rancho Mirage, CA. 92270
Phone - (760) 202-3122
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.737367, -116.405856);
var html = 'D\' Carlo\'s Italian Cafe
42-418 Bob Hope Dr,
Rancho Mirage, CA. 92270
Phone - (760) 340-4444
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.744984, -116.415795);
var html = 'Ristorante Donatella
71-511 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 773-6434
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.737283, -116.408068);
var html = 'Fuu Rin Sushi Restaurant
42-490 Bob Hope Dr,
Rancho Mirage, CA. 92270
Phone - (760) 837-0108
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.742873, -116.413615);
var html = 'Hibachi Steak House and Sushi Bar
71-680 Highway 111, #A,
Rancho Mirage, CA. 92270
Phone - (760) 674-0078
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.769595, -116.446259);
var html = 'Kobe Japanese Steakhouse
69-838 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 324-1717
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.787065, -116.406057);
var html = 'Midori
36-101 Bob Hope Drive,
Rancho Mirage, CA. 92270
Phone - (760) 202-8186
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.801796, -116.390921);
var html = 'Sushi Manbo
72-817 Dinah Shore Dr,
Rancho Mirage, CA. 92270
Phone - (760) 202-6131
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.801586, -116.417596);
var html = 'Bella Vista at the Westin Mission Hills Resort
71-333 Dinah Shore Drive,
Rancho Mirage, CA. 92270
Phone - (760) 328-5955
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.74136, -116.412272);
var html = 'Baja Fresh Mexican Grill
71-800 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 674-9380
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.762049, -116.441608);
var html = 'Las Casuelas Nuevas
70-050 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 328-8844
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.801807, -116.390404);
var html = 'Tortilla Express Fresh Mexican Grill
72-877 Dinah Shore Dr,
Rancho Mirage, CA. 92270
Phone - (760) 202-3899
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.81, -116.41);
var html = 'Waterscafe
32-250 Bob Hope Drive,
Rancho Mirage, CA. 92270
Phone - (888) 999-1999
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.736928, -116.40896);
var html = 'Roy\'s
71-959 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 340-9044
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.774758, -116.449123);
var html = 'Stuart\'s Steakhouse
69640 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 459-3310
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.74136, -116.412272);
var html = 'Fleming\'s Prime Steakhouse
71-800 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 776-6685
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.81458, -116.410417);
var html = 'The Steakhouse
32-250 Bob Hope Dr,
Rancho Mirage, CA. 92270
Phone - (888) 999-1995
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.763234, -116.442521);
var html = 'Bangkok Five
70-026 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 770-9508
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.736850, -116.407770);
var html = 'Thai Smile
42-476 Bob Hope Dr,
Rancho Mirage, CA. 92270
Phone - (760) 341-6565
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.81, -116.41);
var html = 'Poker Deli
32-250 Bob Hope Drive,
Rancho Mirage, CA. 92270
Phone - (888) 999-1995
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.76, -116.44);
var html = 'The Crab Pot Restaurant & Bar
70-030 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 321-7635
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.8, -116.4);
var html = 'Francesco\'s Cafe
72047 Dinah Shore Drive, C-1,
Rancho Mirage, CA. 92270
Phone - (760) 202-4425
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.8, -116.39);
var html = 'Maraca\'s Cantina
72-877 Dinah Shore Drive,
Rancho Mirage, CA. 92270
Phone - (760) 321-1001
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.81, -116.41);
var html = 'java caliente
32-250 Bob Hope Drive,
Rancho Mirage, CA. 92270
Phone - (888) 999-1999
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.74, -116.41);
var html = 'Papa Mario\'s Pizzeria
71-800 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 862-9898
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.8, -116.39);
var html = 'Burgers & Beer
72773 Dinah Shore Drive,
Rancho Mirage, CA. 92270
Phone - (760) 202-4522
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.81, -116.41);
var html = 'Wet Bar
32-250 Bob Hope Drive,
Rancho Mirage, CA. 92270
Phone - (888) 999-1999
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.77, -116.45);
var html = 'Emperor Asian Buffet
69600 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 328-9200
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('restaurants', 'restaurants', point, html));
var point = new GLatLng(33.772444, -116.407679);
var html = 'Rancho Mirage Country Club
38-500 Bob Hope Drive,
Rancho Mirage, CA. 92270
Phone - (760) 324-4711
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('golf', 'golf', point, html));
var point = new GLatLng(33.801057, -116.41903);
var html = 'The Westin Mission Hills Resort & Spa
71-333 Dinah Shore Drive,
Rancho Mirage, CA. 92270
Phone - (760) 328-3198
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('golf', 'golf', point, html));
var point = new GLatLng(33.816212, -116.411731);
var html = 'Mission Hills North
70-705 Ramon Road,
Rancho Mirage, CA. 92270
Phone - (760) 770-2908
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('golf', 'golf', point, html));
var point = new GLatLng(33.742787, -116.408107);
var html = 'Rancho Las Palmas Country Club & Spa
42-000 Bob Hope Drive,
Rancho Mirage, CA. 92270
Phone - (760) 862-4551
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('golf', 'golf', point, html));
var point = new GLatLng(33.771704, -116.425693);
var html = 'The Club at Morningside (Private)
39-033 Morningside Drive,
Rancho Mirage, CA. 92270
Phone - (760) 321-1555
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('golf', 'golf', point, html));
var point = new GLatLng(33.764574, -116.420257);
var html = 'The Springs Club (Private)
1 Duke Drive,
Rancho Mirage, CA. 92270
Phone - (760) 328-0590
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('golf', 'golf', point, html));
var point = new GLatLng(33.772162, -116.414391);
var html = 'Desert Island Golf & Country Club (Private)
71-777 Frank Sinatra Drive,
Rancho Mirage, CA. 92270
Phone - (760) 328-2111
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('golf', 'golf', point, html));
var point = new GLatLng(33.757788, -116.414935);
var html = 'Sunrise Country Club (Private)
71-601 Country Club Drive,
Rancho Mirage, CA. 92270
Phone - (760) 328-1139
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('golf', 'golf', point, html));
var point = new GLatLng(33.773876, -116.43724);
var html = 'Tamarisk Country Club (Private)
70-240 Frank Sinatra Drive,
Rancho Mirage, CA. 92270
Phone - (760) 328-2141
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('golf', 'golf', point, html));
var point = new GLatLng(33.755645, -116.430250);
var html = 'Thunderbird Country Club (Private)
70-612 Highway 111,
Rancho Mirage, CA. 92270
Phone - (760) 328-2161
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('golf', 'golf', point, html));
var point = new GLatLng(33.798046, -116.434019);
var html = 'Mission Hills Country Club (Private)
34-600 Mission Hills Drive,
Rancho Mirage, CA. 92270
Phone - (760) 324-9400
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('golf', 'golf', point, html));
var point = new GLatLng(33.7468, -116.396);
var html = 'Clancy Lane Trail
Clancy Lane between Rancho Manana and the Monterey
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('parks_and_trails', 'parks_and_trails', point, html));
var point = new GLatLng(33.7723, -116.441);
var html = 'Butler-Abrams Trail
DaVall and Frank Sinatra Dr
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('parks_and_trails', 'parks_and_trails', point, html));
var point = new GLatLng(33.7708, -116.449);
var html = 'Bighorn Overlook Trail
Frank Sinatra Dr / Highway 111 - Behind City Hall
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('parks_and_trails', 'parks_and_trails', point, html));
var point = new GLatLng(33.769, -116.446);
var html = 'Jack Rabbit Trail
Frank Sinatra Dr and Highway 111
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('parks_and_trails', 'parks_and_trails', point, html));
var point = new GLatLng(33.7694, -116.453);
var html = 'Chuckwalla Trail
Frank Sinatra Dr near Highway 111
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('parks_and_trails', 'parks_and_trails', point, html));
var point = new GLatLng(33.7723, -116.448);
var html = 'Road Runner Trail
Frank Sinatra Drive near Highway 111
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('parks_and_trails', 'parks_and_trails', point, html));
var point = new GLatLng(33.7414, -116.422);
var html = 'Blixseth Mountain Park
Mirage Road
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('parks_and_trails', 'parks_and_trails', point, html));
var point = new GLatLng(33.7696, -116.447);
var html = 'Cancer Survivors Park
Frank Sinatra Dr and Highway 111
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('parks_and_trails', 'parks_and_trails', point, html));
var point = new GLatLng(33.7419, -116.42);
var html = 'Magnesia Falls Neighorhood Park
North of Rancho Mirage Elementary School
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('parks_and_trails', 'parks_and_trails', point, html));
var point = new GLatLng(33.7723, -116.44);
var html = 'Michael S. Wolfson Park
DaVall and Frank Sinatra Dr
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('parks_and_trails', 'parks_and_trails', point, html));
var point = new GLatLng(33.7461, -116.415);
var html = 'Whitewater Park
71-560 San Jacinto Dr,
Rancho Mirage, CA. 92270
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('parks_and_trails', 'parks_and_trails', point, html));
var point = new GLatLng(33.801624, -116.388248);
var html = 'Monterey Marketplace
34-101 Monterey Ave,
Rancho Mirage, CA. 92270
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('shopping', 'shopping', point, html));
var point = new GLatLng(33.74136, -116.412272);
var html = 'The River
71-800 Highway 111,
Rancho Mirage, CA. 92270
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('shopping', 'shopping', point, html));
var point = new GLatLng(33.737107, -116.407944);
var html = 'Rancho Las Palmas Shopping Center
42-540 Bob Hope Drive,
Rancho Mirage, CA. 92270
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('shopping', 'shopping', point, html));
var point = new GLatLng(33.746067, -116.417852);
var html = 'Desert European Motorcars
71-387 Highway 111,
Rancho Mirage, CA. 92270
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('shopping', 'shopping', point, html));
var point = new GLatLng(33.787065, -116.406057);
var html = 'Pavilions Shopping Center
36-101 Bob Hope Drive,
Rancho Mirage, CA. 92270
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('shopping', 'shopping', point, html));
var point = new GLatLng(33.75647, -116.391212);
var html = 'Country Club Village
40-101 Monterey Ave,
Rancho Mirage, CA. 92270
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('shopping', 'shopping', point, html));
var point = new GLatLng(33.775544, -116.415617);
var html = 'Furniture and Consignment on Highway 111
,
Rancho Mirage, CA. 92270
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('shopping', 'shopping', point, html));
var point = new GLatLng(33.746072, -116.414640);
var html = 'Whitewater Park, City of Rancho Mirage
71-560 San Jacinto Drive,
Rancho Mirage, CA. 92270
Phone - (760) 324-4511
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('tennis', 'tennis', point, html));
var point = new GLatLng(33.742787, -116.408107);
var html = 'Rancho Las Palmas Country Club
42-000 Bob Hope Dr,
Rancho Mirage, CA. 92270
Phone - (760) 862-4551
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('tennis', 'tennis', point, html));
var point = new GLatLng(33.801057, -116.41903);
var html = 'Westin Mission Hills Resort and Spa
71-333 Dinah Shore Drive,
Rancho Mirage, CA. 92270
Phone - (866) 716-8132
';
html += 'Get Directions
';
html += 'To Here - From Here';
map.addOverlay(createMarker('tennis', 'tennis', point, html));
var geocoder = new GClientGeocoder();
geocoder.getLatLng('4080 Lemon Street, Riverside, CA. 92502-2204', function (point) {
map.setCenter(point, 13);
var marker = new GMarker(point);
var html = '4080 Lemon Street, Riverside, CA. 92502-2204
';
html += 'Get Directions
';
html += 'To Here - From Here';
GEvent.addListener(marker, 'click', function() {
map.openInfoWindowHtml(point, html);
});
map.addOverlay(marker);
marker.openInfoWindowHtml(html);
});
// Turn off our checkboxes and remove other flags
Ext.getDom('restaurants').checked = false;
Ext.getDom('shopping').checked = false;
Ext.getDom('golf').checked = false;
Ext.getDom('tennis').checked = false;
Ext.getDom('parks_and_trails').checked = false;
toggleGroup('restaurants');
toggleGroup('shopping');
toggleGroup('golf');
toggleGroup('tennis');
toggleGroup('parks_and_trails');
}
});