You are here

constant GMAP_DP_EPSILON in GMap Module 7.2

Same name in this branch
  1. 7.2 gmap_polyutil.inc \GMAP_DP_EPSILON
  2. 7.2 tests/inc/gmap_polyutil.inc \tests\inc\GMAP_DP_EPSILON

References: [1] http://code.google.com/apis/maps/documentation/polylinealgorithm.html [2] http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/ [3] http://mathworld.wolfram.com/

2 uses of GMAP_DP_EPSILON
legacy_gmap_polyutil_dp_encode in tests/inc/gmap_polyutil.inc
Implementation of the Douglas-Peucker polyline simplification algorithm.
legacy__gmap_polyutil_zoom_levels in tests/inc/gmap_polyutil.inc
Build a logarithmic scale of zoom levels.

File

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

Code

define('GMAP_DP_EPSILON', 1.0E-5);