added try catch for Map in Camera class