// A TextualZoomControl is a GControl that displays textual "Zoom In"
// and "Zoom Out" buttons (as opposed to the iconic buttons used in
// Google Maps).

// We define the function first
function TextualZoomControl() 
{
}

function initialize() {
	var copyOSM = new GCopyrightCollection("<a href=\"http://www.openstreetmap.org/\">OpenStreetMap</a>");
	var tilesMapnik     = new GTileLayer(copyOSM, 1, 17, {tileUrlTemplate: 'http://tile.openstreetmap.org/{Z}/{X}/{Y}.png'});
	var mapMapnik = new GMapType([tilesMapnik],G_NORMAL_MAP.getProjection(), "מפה");


	map = new GMap2(document.getElementById("map"), { mapTypes: [mapMapnik] });
	map.setCenter(new GLatLng(32.08, 34.82), 12);
	map.addMapType(G_SATELLITE_MAP);

	map.addControl(new GLargeMapControl());
	map.addControl(new GMapTypeControl());
}

