public function GmapPolylineToolbox::setLinePoints in GMap Module 7.2
Points set from former gmap_polyutil_dist($p1, $p2).
Parameters
string $p1: Input 1.
string $p2: Input 2.
Return value
object $this.
File
- lib/
Drupal/ gmap/ GmapPolylineToolbox.php, line 155 - Contains GmapPolylineToolbox.php Encoded polyline utilities.
Class
Namespace
Drupal\gmapCode
public function setLinePoints($p1, $p2) {
$this->startPoint = $p1;
$this->endPoint = $p2;
return $this;
}