2330 Durant, Berkeley, CA 94704
(510) 204-9200";
function draw_map() {
var $AV_bounds = [
new google.maps.LatLng(37.920503,-122.331648),
new google.maps.LatLng(37.927375,-122.290106),
new google.maps.LatLng(37.889215,-122.242126),
new google.maps.LatLng(37.850459,-122.213888),
new google.maps.LatLng(37.827921,-122.290835),
new google.maps.LatLng(37.891925,-122.310104)
];
$myMap = new google.maps.Map(
document.getElementById("map_div"),
{
center:new google.maps.LatLng(37.877157,-122.278304),
mapTypeId: google.maps.MapTypeId.ROADMAP,
mapTypeControl: true,
mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DEFAULT},
navigationControl: true,
navigationControlOptions: {style: google.maps.NavigationControlStyle.LARGE},
scaleControl: true,
zoom: 13
}
);
$AV_zone = new google.maps.Polygon({
paths: [$AV_bounds],
strokeColor: "#FF0000",
strokeOpacity: 0.8,
strokeWeight: 2,
fillColor: "#FF0000",
fillOpacity: 0.05,
map: $myMap
});
$AV_home = new google.maps.Marker({
clickable:true,
map:$myMap,
title:"Ashby Village Office",
position:new google.maps.LatLng(37.871593,-122.272747)
});
google.maps.event.addListener($AV_home,"click",function() {
infowin($AV_home.position,$AV_address);
});
google.maps.event.addListener($myMap,"click",function() {
if ($win_is_open) $openWin.close();
$win_is_open = false;
});
google.maps.event.addListener($AV_zone,"click",function(event) {
infowin(event.latLng,"Ashby Village member zone.");
});
}
function infowin($latlng,$data) {
if ($win_is_open) $openWin.close();
$openWin = new google.maps.InfoWindow({
position:$latlng,
content:'