BoatSurveyMember = {
	init:function( latitude, longitude, boat_latitude, boat_longitude ){
		var target = jQuery( '#map' );

		var properties =
		{
			wheelzoom:true,
			controls:{
				zoom:'large'
			}
		};

		this.map = new BasicMap( target, properties );

		// Create 'boat' icon
		this.map.AddIcon
		(
			'boat',
			"/images/map/icon_boat.png",
			35,
			35,
			"/images/map/icon_shadow.png",
			52,
			35,
			17,
			34,
			17,
			1,
			[3,0,31,0,31,35,3,35]
		);

		// Create 'boat' icon
		this.map.AddIcon
		(
			'surveyor',
			"/images/map/icon_surveyor.png",
			35,
			35,
			"/images/map/icon_shadow.png",
			52,
			35,
			17,
			34,
			17,
			1,
			[3,0,31,0,31,35,3,35]
		);

		if( latitude !== null && longitude !== null ){
			this.map.SetCenter( latitude, longitude );
			this.map.SetZoom( 12 );
			this.map.AddMarker
			(
				latitude,
				longitude,
				{
					icon:'surveyor',
					group:'surveyor'
				}
			);
			if( boat_latitude !== null && boat_longitude !== null ){
				this.map.AddMarker
				(
					boat_latitude,
					boat_longitude,
					{
						icon:'boat',
						group:'boat'
					}
				);
				this.map.ZoomExtents();
			}
		}

	}
}