Ejemplo n.º 1
0
 /**
  * Draws a line between two {@link ViewableData} objects
  *
  * @param ViewableData $one   The first point
  * @param ViewableData $two   The second point
  * @param string  $color The hexidecimal color of the line
  */
 public function connectPoints(ViewableData $one, ViewableData $two, $color = "#FF3300")
 {
     $this->addLine(array($one->getMappableLatitude(), $one->getMappableLongitude()), array($two->getMappableLatitude(), $two->getMappableLongitude()), $color);
 }