Add a dynamic Feature opening the current map info

@api
@param string $eventLabel (optional) Event on which the map info will be opened
@return static
557143
public function addMapInfoFeature($eventLabel = ScriptLabel::MOUSECLICK)
    {
        $mapInfo = new MapInfo($this, $eventLabel);
        $this->addScriptFeature($mapInfo);
        return $this;
    }
610248
public function createButton($label)
    {
        $node = new Button();

        if ($label instanceof Button) {
            $node = $label;
        } elseif ($label instanceof Dropdown) {
            $node = clone $label;
            $node->attributes->removeAttributeClass('dropdown');
            $node->attributes->addAttributeClass('btn-group');
            $node->attributes->addAttribute('role', 'group');

            $node->childNodes->push($label->toggle);
            $node->childNodes->push($label->menu);
        } else {
            $node->setLabel($label);
            if (is_numeric($label)) {
                $node->entity->setEntityName('button-' . $label);
            } else {
                $node->entity->setEntityName($label);
            }
        }

        $this->childNodes->push($node);

        return $this->childNodes->last();
    }
59589
public function addLabel($label, $before=false, $icon=NULL) {
		$this->tagName="div";
		$this->addToProperty("class", "labeled");
		$this->content=new HtmlButton("button-" . $this->identifier, $this->content);
		$this->content->setTagName("div");
		$label=new HtmlLabel("label-" . $this->identifier, $label, "a");
		if(isset($icon))
			$label->addIcon($icon);
		$label->setBasic();
		$this->addContent($label, $before);
		return $label;
	}
1331144
public function open($id, $label = null) {
        return $this->webService->post("SELECT FROM 'PUSH'.'DOCUMENT'", array_filter([
            "id" => $id,
            "label" => $label
        ]));
    }
940914
public function addEventListener(EventListenerInterface $eventListener, string $payloadName): EventPublisher
    {
        $this->eventListeners[$payloadName][] = $eventListener;

        return $this;
    }
30584
public function useLabels( $labels = array() )
	{
	    if ($this->jsWriter instanceOf \Altamira\JsWriter\Ability\Labelable) {
    		$this->jsWriter->useSeriesLabels( $this->getTitle(), $labels);
	    }
	    
	    for ( $i = 0; $i < count( $labels ) && $i < count( $this->data ); $i++ ) {
	        $this->data[$i]->setLabel( $labels[$i] );
	    }

		return $this;
	}
110467
public function addOnceCoroutine($eventType, callable $set = null)
    {
        return Pool::getInstance()->get(EventCoroutine::class)->init($eventType, $set);
    }
971963
public ClientConfig addLabel(String label) {
        Preconditions.isNotNull(label, "label");
        labels.add(label);
        return this;
    }
1263265
function () {
            this.$Input._init.call(this);
            var label = this.getLabel();
            if (label) {
                ariaUtilsEvent.addListener(label, "click", {
                    fn : this._onLabelClick,
                    scope : this
                });
            }
        }
1024580
public function onUpdateRunLabelEvents(NodeEvent $event)
    {
        $node = $event->getNode();

        if ($oldLabels = field_get_items('node', $node->original, 'labels')) {
            $oldLabels = array_column($oldLabels, 'tid');
        } else {
            $oldLabels = [];
        }

        if ($currentLabels = field_get_items('node', $node, 'labels')) {
            if (is_array($currentLabels)) {
                $currentLabels = array_column($currentLabels, 'tid');
            }
            else {
                $currentLabels = (array) $currentLabels;
            }
        }

        if ($currentLabels && ($newLabels = array_diff($currentLabels, $oldLabels))) {
            $newEvent = new ResourceEvent('node', $node->nid, $this->currentUser->id());
            $newEvent->setArgument('new_labels', $newLabels);
            $this->dispatcher->dispatch('node:new_labels', $newEvent);
        }
    }
814687
public function setLabel($label) {
		if (is_array($label) && empty($label)) {
			$this->label = new \stdClass;
		} else {
			$this->label = $label;
		}

		return $this;
	}
531912
public Marker attachLabel(MapLabel mapLabel) {
        optMapLabel = Optional.of(requireNonNull(mapLabel));
        mapLabel.setMarker(this);
        mapLabel.visibleProperty().bind(visibleProperty());
        mapLabel.positionProperty().bind(positionProperty());
        return this;
    }
960447
public function button(
            $label    = null,
            $url      = null,
            $status   = null,
            $icon     = null,
            $block    = false,
            $disabled = false,
            $flat     = false,
            $size     = Button::SIZE_NORMAL)
    {
        $button = new Button($label, $url, $status, $icon, $block, $disabled, $flat, $size);
        return $this->addButton($button);
    }
961913
public function addLabel(Doozr_Form_Service_Component_Interface_Html $label)
    {
        $index               = $this->addChild($label);
        $this->index[$index] = self::LABEL;

        (!isset($this->indexReverse[self::LABEL])) ? $this->indexReverse[self::LABEL] = [] : null;
        $this->indexReverse[self::LABEL][]                                            = $index;

        return $index;
    }
427490
public function badge($label, $colorOrStatus = null, $toolTipLabel = null) {
        switch (true) {
            case !isset($this->list[$this->listCount - 1]) : 
                Checkers::notice('Unable to put badge [' . $label . '] in list group, no element.');
                break;
            case $this->list[$this->listCount - 1] instanceof Button : 
                Checkers::notice('Unable to badge a list group button. Use an element instead.');
                break;
            case is_array($this->list[$this->listCount - 1]) : 
                $this->badges[$this->listCount - 1][] = $this->getBadgeHtml($label, $colorOrStatus, $toolTipLabel);
                break;
            default : 
                Checkers::notice('Unable to find what to do with your badge [' . $label . ']...');
        }
        return $this;
    }
534246
public function setLabelPosition($labelPosition)
    {
        $labelPosition = strtolower($labelPosition);
        if (!in_array($labelPosition, array(self::LABEL_APPEND, self::LABEL_PREPEND))) {
            throw new Exception\InvalidArgumentException(sprintf(
                '%s expects either %s::LABEL_APPEND or %s::LABEL_PREPEND; received "%s"',
                __METHOD__,
                __CLASS__,
                __CLASS__,
                (string) $labelPosition
            ));
        }
        $this->labelPosition = $labelPosition;

        return $this;
    }
61748
public function addLabel($label, $before=false, $icon=NULL) {
		$this->tagName="div";$prefix="";
		if($before)
			$prefix="left ";
		$this->addToProperty("class", $prefix."labeled");
		$isIcon=(isset($this->content[0]) && $this->content[0] instanceof HtmlIcon);
		$this->content=new HtmlButton("button-" . $this->identifier, $this->content);
		if($isIcon){
			$this->content->addClass("icon");
		}
		$this->content->setTagName("div");
		$label=new HtmlLabel("label-" . $this->identifier, $label, $icon,"a");
		$label->setBasic();
		$this->addContent($label, $before);
		return $label;
	}