/*
 * CarPark.js
 * (c) Copyright 2007, Martin Cowie Ltd
 * ALL RIGHTS RESERVED
 * Distribution of this file is strictly prohibited
 */

// TODO: throw a shadow onto 'P'arking signs

// Parking icon
var carparkIcon = new GIcon( );
var iconSide = 24;
carparkIcon.image = "cway_images/parking24.png";
carparkIcon.iconSize = new GSize( iconSide, iconSide );
carparkIcon.iconAnchor = new GPoint( iconSide/2, iconSide/2 );
//carparkIcon.shadowSize = GSize( 59, 32 );

function CarPark( elem, markerManager )
{
	Location.call( this, elem, carparkIcon ); // Call the parent constructor
	markerManager.addMarker( this.marker, 14 );
}

// Derive the CarpPark class from the Location class
CarPark.prototype = new Location();
