     }
     
     func mtkView(view: MTKView, drawableSizeWillChange size: CGSize) {
+        _viewportOverlay.rectangle = BoundingRectangle(x: 20, y: 20, width: Double(size.width)/2-40, height: Double(size.height)/2-40)
         /*let scale = self.v!.backingScaleFactor
          let layerSize = view.bounds.size
          

        //_globe.scene.camera.setView(position: Cartesian3.fromDegrees(longitude: 174.784356, latitude: -41.438928, height: 1000), heading: 0, pitch: 0, roll: 0)
        //_globe.scene.camera.viewRectangle(Rectangle(fromDegreesWest: 150, south: -90, east: 110, north: 20))
        

        
        let viewportQuad = ViewportQuad(rectangle: BoundingRectangle(x: 20, y: 20, width: 200, height: 200))
        _globe.scene.primitives.add(viewportQuad)
        
        let labels = LabelCollection(scene: _globe.scene)
        labels.add(

    
    private let _view: MTKView
    
    private let _viewportOverlay: ViewportQuad
    
    private let _fontName = "CarbonPlus"
    private let _fontSize: CGFloat = 36
    
    private var _fontAtlas: FontAtlas
    
    init (view: MTKView) {
        
        _view = view
