You are here

public function GmapPolylineToolbox::getEncodedLevels in GMap Module 7.2

Former gmap_polyutil_encode_latlon($x).

Return value

string Levels.

File

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

Class

GmapPolylineToolbox

Namespace

Drupal\gmap

Code

public function getEncodedLevels() {
  $this->latlonLevels = $this
    ->setLatLonNumber(abs($this->latlonNumber))
    ->getEncode();
  return $this->latlonLevels;
}