                 
                 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)
         }
     }
     

        sceneView.session.pause()
    }
    
    override func layoutSubviews() {
        super.layoutSubviews()
        
        sceneView.frame = self.bounds
    }
    
    func setupSceneAnchor() {
        //Heading will be required to setup the node properly
        if let currentFrame = self.sceneView.session.currentFrame,

        super.init(coder: aDecoder)
    }
    
    override func layoutSubviews() {
        super.layoutSubviews()
        
        sceneView.frame = self.bounds
    }
    
    func run() {
        // Create a session configuration
        let configuration = ARWorldTrackingSessionConfiguration()
