You are here

public static function GmapPolylineToolbox::getInstance in GMap Module 7.2

Getting instance.

Return value

array GmapPolylineToolbox SingleTon instance

File

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

Class

GmapPolylineToolbox

Namespace

Drupal\gmap

Code

public static function getInstance() {
  if (is_null(self::$gmapInstance)) {
    self::$gmapInstance = new self();
  }
  return self::$gmapInstance;
}