You are here

public function Base::getWeight in Openlayers 7.3

Get the weight of an object.

Return value

int The weight of the object.

Overrides ObjectInterface::getWeight

1 call to Base::getWeight()
Group::optionsToObjects in src/Plugin/Layer/Group/Group.php
Return a flat array containing Openlayers Objects from the options array.

File

src/Types/Base.php, line 528
Class Object.

Class

Base
Class Base.

Namespace

Drupal\openlayers\Types

Code

public function getWeight() {
  return floatval($this->configuration['weight']);
}