public function GmapPolylineToolbox::setWeight in GMap Module 7.2
Setting a weight.
former _gmap_polyutil_get_zoom_level($weight).
Parameters
int $weight: Weight for setting.
Return value
object $this.
File
- lib/
Drupal/ gmap/ GmapPolylineToolbox.php, line 360 - Contains GmapPolylineToolbox.php Encoded polyline utilities.
Class
Namespace
Drupal\gmapCode
public function setWeight($weight) {
$this->weight = $weight;
return $this;
}