public void SetCamera( MapObject cameraOrCameraCurve )
{
camera = cameraOrCameraCurve as MapCamera;
cameraCurve = cameraOrCameraCurve as MapCameraCurve;
if( cameraCurve != null )
cameraCurveTime = cameraCurve.GetCurveTimeRange().Minimum;
oldCameraCurveTime = cameraCurveTime;
}