A simple class to handle polyline-encoding for Google Maps
OTHER License
Published by emcconville over 8 years ago
No major functionality changes.
array_chunk
(thanks MiniCodeMonkey)Published by emcconville almost 10 years ago
Published by emcconville about 10 years ago
Polyline Encoding now rounds
numbers instead of the previous floor
method.
// Was
0.1234567 => 12345
// Now
0.1234567 => 12346
Note
Pre-recorded encoded points may need to be re-encoded for accurate results. Decoding methods are unaffected.
Published by emcconville about 10 years ago
@deprecated
& issuing E_USER_DEPRECATED
make lint
for PHPCSmake coverage
for code-coverage reportThe follow methods will be removed from v1.3.x
Polyline::Singleton
Polyline::__call
Polyline::get{Node}Points
Polyline::get{Node}Encoded
Polyline::getPolyline
Polyline::polyline
Polyline::listPolylines
The follow properties will be removed from v1.3.x
Polyline->$polylines