
var map = new GMap2(document.getElementById("map"));
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
map.setCenter(new GLatLng(33.881231, -117.766402), 13);
var infoTabs = [
  new GInfoWindowTab("Site", "<b>Rancho San Antonio</b><br><i>Esperanza road, one-half mile east of Imperial highway</i>"),
  new GInfoWindowTab("Description", "<small>In 1835 Bernardo Yorba built a fifty room adobe ranch house, the Rancho San Antonio.  Named in honor of Saint Anthony of Padua, the rancho housed the family as well as over a dozen servants and craftsmen.  The Yorba family lived there until the 1890's when the adobe walls began to deteriorate.  In 1926 the home was demolished.  Today, there is a monument on the site and it is registered with the state of California as Historical Landmark #226.</small><br><br>")
];
var point1 = new GLatLng(33.863115,-117.789689);
var marker1 = new GMarker(point1);
GEvent.addListener(marker1, "click", function() {
marker1.openInfoWindowTabsHtml(infoTabs);
});

map.addOverlay(marker1);


var infoTabs2 = [
  new GInfoWindowTab("Site", "<b>Yorba Cemetery</b><br><i>Woodgate Park</i><br><a href='http://www.ocparks.com/yorbacemetery' target='_blank'>http://www.ocparks.com/yorbacemetery</a><p>&nbsp;</p>"),
  new GInfoWindowTab("Description", "<small>The Yorba Cemetery, Orange County's second oldest cemetery, was established in 1858 by Bernardo Yorba and deeded to the Catholic Church.  Over 400 Yorba family members and friends are buried in the cemetery. When the cemetery closed in 1939, it fell victim to vandals who defaced and stole many of the rustic markers and marble headstones. In 1967 the Orange County Board of Supervisors accepted the deed of the cemetery and restored the site.</small>")
];
var point2 = new GLatLng(33.865026,-117.782588);
var marker2 = new GMarker(point2);
GEvent.addListener(marker2, "click", function() {
marker2.openInfoWindowTabsHtml(infoTabs2);
});

map.addOverlay(marker2);

var infoTabs3 = [
  new GInfoWindowTab("Site", "<b>First Schoolhouse</b><br><i>4866 Olinda street</i><br><br>"),
  new GInfoWindowTab("Description", "<small>Yorba Linda's first school house was built in 1911.  Local residents donated from $2.50 to $30 toward its building.  Others assisted in building the school, or donated lumber, roofing, and doors.  The first day of school was September 18, 1911, with Amanda Longnecker as Yorba Linda's first teacher.  Proud of their school, residents held a social there on October 13, 1911.  Gingerbread, pumpkin pie, and coffee were served.  Today, it is Salon Taylori.</small><br><br>")
];
var point3 = new GLatLng(33.890638,-117.814890);
var marker3 = new GMarker(point3);
GEvent.addListener(marker3, "click", function() {
marker3.openInfoWindowTabsHtml(infoTabs3);
});
map.addOverlay(marker3);

var infoTabs4 = [
  new GInfoWindowTab("Site", "<b>Nixon family home</b><br><i>18001 Yorba Linda boulevard</i><br><a href='http://www.nixonlibrary.gov/themuseum/thebirthplace.php' target='_blank'>http://www.nixonlibrary.gov/themuseum/thebirthplace.php</a><br>"),
  new GInfoWindowTab("Description", "<small>Frank and Hannah Nixon moved to Yorba Linda in 1912, where they built a home and planted an adjacent lemon grove.  On January 9, 1913, President Richard M. Nixon was born in the house.  The Nixon family resided here until 1922, when they moved to Whittier, California.  Today, the home is part of the Richard Nixon Library & Birthplace.</small><br><br>")
];
var point4 = new GLatLng(33.888614,-117.819990);
var marker4 = new GMarker(point4);
GEvent.addListener(marker4, "click", function() {
marker4.openInfoWindowTabsHtml(infoTabs4);
});
map.addOverlay(marker4);

var infoTabs5 = [
  new GInfoWindowTab("Site", "<b>First church</b><br><i>4845 School street</i><br><br>"),
  new GInfoWindowTab("Description", "<small>Yorba Linda's first church was built in 1912 by residents from various denominations.  The first Sunday church service was held on August 11, 1912. The Nixon family attended this church.</small><br><br>")
];
var point5 = new GLatLng(33.890969,-117.812954);
var marker5 = new GMarker(point5);
GEvent.addListener(marker5, "click", function() {
marker5.openInfoWindowTabsHtml(infoTabs5);
});
map.addOverlay(marker5);

var infoTabs6 = [
  new GInfoWindowTab("Site", "<b>Lemon packing house</b><br><i>Esperanza road, one-half mile east of Imperial highway</i><br><br>"),
  new GInfoWindowTab("Description", "<small>In 1922 the Yorba Linda Citrus Association built a wooden lemon packing house.  In 1929 the building burned down and was replaced by a concrete packing house.  It was converted into a variety of retail and office spaces in 1962.  In 1980 it was redesigned again with 24-Hour Fitness as the main proprietor.</small><br><br>")
];
var point6 = new GLatLng(33.888614,-117.816390);
var marker6 = new GMarker(point6);
GEvent.addListener(marker6, "click", function() {
marker6.openInfoWindowTabsHtml(infoTabs6);
});
map.addOverlay(marker6);

var infoTabs7 = [
  new GInfoWindowTab("Site", "<b>Pacific Electric depot</b><br><i>18132 Imperial Highway</i><br><br>"),
  new GInfoWindowTab("Description", "<small>In 1910-1911 the Pacific Electric Railway Company extended its service to Yorba Linda and built a depot.  It strengthened the economic vitality of the community by providing an inexpensive and direct route to markets in Los Angeles.  Today, it is a Polly's restaurant.</small><br><br>")
];
var point7 = new GLatLng(33.891628,-117.817119);
var marker7 = new GMarker(point7);
GEvent.addListener(marker7, "click", function() {
marker7.openInfoWindowTabsHtml(infoTabs7);
});
map.addOverlay(marker7);

var infoTabs8 = [
  new GInfoWindowTab("Site", "<b>Susanna Bixby Bryant Ranch House</b><br><i>5700 Susanna Bryant drive</i><br><a href='http://www.ylpl.lib.ca.us/sbb.php' target='_blank'>http://www.ylpl.lib.ca.us/sbb.php</a><p>&nbsp;</p>"),
  new GInfoWindowTab("Description", "<small>In 1875, John Bixby, one of the founders of Long Beach, purchased nearly 6000 acres of land from the Yorba family and established a cattle ranch. In 1911 Susanna Bixby Bryant, his daughter, built a ranch house, and in 1927, created the Rancho Santa Ana Botanic Garden as a memorial to her father. After Susanna passed away, the ranch was sold and the garden was moved to Claremont College. In 1983 the house was annexed and restored by the City of Yorba Linda. Today, it serves as the home of the Yorba Linda Heritage Museum and Historical Society.</small>")
];
var point8 = new GLatLng(33.874561,-117.710833);
var marker8 = new GMarker(point8);
GEvent.addListener(marker8, "click", function() {
marker8.openInfoWindowTabsHtml(infoTabs8);
});
map.addOverlay(marker8);
