You are here

public function GmapPolylineToolbox::setPoints in GMap Module 7.2

Former gmap_polyutil_dp_encode($points).

Parameters

array $points: An array of coordinate pairs.

Return value

object $this

File

lib/Drupal/gmap/GmapPolylineToolbox.php, line 233
Contains GmapPolylineToolbox.php Encoded polyline utilities.

Class

GmapPolylineToolbox

Namespace

Drupal\gmap

Code

public function setPoints(array $points) {
  $this->points = $points;
  return $this;
}