         }
     }
     
-    var positionViews:[String:GZPositionView] = [:]
+    var positionViews:[String:GZPositionEditView] = [:]
     
     var cameraView:GZCameraView{
         return self.highlighView.cameraView

    
}

class GZPositionEditView:GZPositionView, UIScrollViewDelegate {
    
    var image:UIImage?{
        
        set{
            self.imageView.image = newValue
            
            
            if let parentLayoutView = self.layoutView {
                
                var imageMetaData = parentLayoutView.privateObjectInfo.imageMetaData
                
                if let newImage = newValue {
                    imageMetaData[self.identifier] = newImage
                }else{
                    imageMetaData.removeValueForKey(self.identifier)
                }
                
                parentLayoutView.privateObjectInfo.imageMetaData = imageMetaData
                
            }
            
        }
        
        get{

                
                self.relayout(layout)
                
                for positionMetaData in newMetaData.imagesMetaData.positionMetaDatas {
                    
                    var positionView:GZPositionEditView = self.positionView(forIdentifier: positionMetaData.identifier) as GZPositionEditView
                    positionView.metaData = positionMetaData
                    
                }
                
//                for (position, image) in self.privateObjectInfo.imageMetaData {
//                    
//                    self.setImage(image, forPosition: position)
//                    
//                }
            }
            
        }
