You are here

function gmap_polyutil_encode_levels in GMap Module 5

Same name and namespace in other branches
  1. 6.2 gmap_polyutil.inc \gmap_polyutil_encode_levels()
  2. 6 gmap_polyutil.inc \gmap_polyutil_encode_levels()
  3. 7.2 gmap_polyutil.inc \gmap_polyutil_encode_levels()
  4. 7 gmap_polyutil.inc \gmap_polyutil_encode_levels()
1 call to gmap_polyutil_encode_levels()
gmap_polyutil_polyline in ./gmap_polyutil.inc
Simplify a set of points and generate an "Encoded Polyline" for Google Maps.

File

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

Code

function gmap_polyutil_encode_levels($x) {
  return _gmap_polyutil_encode(abs($x));
}