function _gmap_polyutil_encode in GMap Module 7.2
Same name and namespace in other branches
- 5 gmap_polyutil.inc \_gmap_polyutil_encode()
- 6.2 gmap_polyutil.inc \_gmap_polyutil_encode()
- 6 gmap_polyutil.inc \_gmap_polyutil_encode()
- 7 gmap_polyutil.inc \_gmap_polyutil_encode()
Encode polyutil function.
Deprecated
use GmapPolylineToolbox::getInstance()->setLatLonNumber($x)->getEncode();
File
- ./
gmap_polyutil.inc, line 63 - Encoded polyline utilities.
Code
function _gmap_polyutil_encode($x) {
include_once drupal_get_path('module', 'gmap') . '/lib/Drupal/gmap/GmapPolylineToolbox.php';
return GmapPolylineToolbox::getInstance()
->setLatLonNumber($x)
->getEncode();
}