protected function checkAndSetMessageInToLabel(Point $point)
    {
        if( ! $this->messageToLabel)
            return;

        // Update label
        $point->setLabel( $point->getLabel() . " - " . $this->messageToLabel);

        // Reset
        $this->messageToLabel = '';
    }
protected function checkAndSetMessageInToLabel(Point $point)
    {
        if( ! $this->messageToLabel)
            return;

        // Update label
        $point->setLabel( $point->getLabel() . " - " . $this->messageToLabel);

        // Reset
        $this->messageToLabel = '';
    }
protected function checkAndSetMessageInToLabel ( Point $ point ) { if ( ! $ this -> messageToLabel ) return ; // Update label $ point -> setLabel ( $ point -> getLabel ( ) . " - " . $ this -> messageToLabel ) ; // Reset $ this -> messageToLabel = '' ; }
Update point label with message
Update point label with message