                 
                 sceneAnchor.node = node
             }
+        } else if let temporaryAnchor = anchor as? TemporaryAnchor {
+            //Used for determining the current position on the map
+            if let sceneNode = sceneAnchor?.node {
+                let convertedPosition = sceneNode.convertPosition(node.position, to: sceneNode)
+                
+                temporaryAnchor.completion?(convertedPosition)
+            } else {
+                temporaryAnchor.completion?(nil)
+            }
+            
+            node.removeFromParentNode()
+            sceneView.session.remove(anchor: temporaryAnchor)
         }
     }
     

    //MARK: LocationManager
    
    func locationManagerDidUpdateLocation(_ locationManager: LocationManager, location: CLLocation) {
        
    }
    
    func locationManagerDidUpdateHeading(_ locationManager: LocationManager, heading: CLLocationDirection) {

    private let locationManager = LocationManager()
    
    private(set) var sceneAnnotations = [SceneAnnotation]()
    private var sceneLocationEstimates = [SceneLocationEstimate]()
    
    private var sceneAnchor: SceneAnchor?
    
