     }
     
     func addObserver(altitude: Double) {
-        self.addChildNode(generateObserverNode(Int(altitude)))
+        self.addChildNode(generateObserverNode(altitude))
     }
     
     func getCameraElevation() -> Int {
         let cameraFactor = 20
-        return maxElevation + cameraFactor
+        return Int(maxScaledElevation) + cameraFactor
     }
     
     // MARK: Private Functions

                textures.append((x:Float(column + 1), y:Float(row)))
                textures.append((x:Float(column), y:Float(row + 1)))
                textures.append((x:Float(column + 1), y:Float(row + 1)))
                
            }
        }
        

        self.elevation = elevation
        self.increment = increment
        self.vertexSource = SCNGeometrySource()
        self.maxScaledElevation = 1.0
        super.init()
    }
    
