You are here

function _gmap_polyutil_zoom_levels in GMap Module 7.2

Same name and namespace in other branches
  1. 5 gmap_polyutil.inc \_gmap_polyutil_zoom_levels()
  2. 6.2 gmap_polyutil.inc \_gmap_polyutil_zoom_levels()
  3. 6 gmap_polyutil.inc \_gmap_polyutil_zoom_levels()
  4. 7 gmap_polyutil.inc \_gmap_polyutil_zoom_levels()

Build a logarithmic scale of zoom levels.

Deprecated

use GmapPolylineToolbox::getInstance()->getZoomLevels();

File

./gmap_polyutil.inc, line 152
Encoded polyline utilities.

Code

function _gmap_polyutil_zoom_levels() {
  include_once drupal_get_path('module', 'gmap') . '/lib/Drupal/gmap/GmapPolylineToolbox.php';
  return GmapPolylineToolbox::getInstance()
    ->getZoomLevels();
}