docs: def syncLayerData(self, layerData=None):
          """
          Syncs the layer information for this item from the given layer data.
          
          :param      layerData | <dict>
          """
          if not self._layer:
              return
  
          if not layerData:
              layerData = self._layer.layerData()
  
          self.setVisible(layerData.get('visible', True))
  
          if layerData.get('current'):
              # set the default parameters
              self.setFlags(self.ItemIsSelectable)
              self.setAcceptHoverEvents(True)
              self.setZValue(99)
  
          else:
              # set the default parameters
              self.setFlags(self.GraphicsItemFlags(0))
              self.setAcceptHoverEvents(True)
              self.setZValue(layerData.get('zValue', 0) - 1)