google-map-polyline-encoding-tool

A simple class to handle polyline-encoding for Google Maps

OTHER License

Downloads
1.8M
Stars
154
Committers
7
google-map-polyline-encoding-tool - Removed deprecated methods Latest Release

Published by emcconville over 8 years ago

No major functionality changes.

  • Improved examples
  • Light documentation fixes + LGPL header
  • Removed meaningless PHPUnit bootstrap
  • Simplified code-styling to use CodeSniffers default rules (why bicker about whitespace anyway?)
  • Deprecated useless helper functions
  • Optimization with array_chunk (thanks MiniCodeMonkey)
google-map-polyline-encoding-tool - Patch Release 1.2.4

Published by emcconville almost 10 years ago

Introduced "examples" directory to share creative use-cases. Light cosmetic improvements, but no functionality changes.

FYI - Continuous Integration status can be monitored with...

google-map-polyline-encoding-tool - Patch Release 1.2.3

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.

google-map-polyline-encoding-tool - Patch release 1.2.2

Published by emcconville about 10 years ago

  • Improved performance in Polyline::Flatten
  • Added deprecated alerts with @deprecated & issuing E_USER_DEPRECATED
  • Added new dev/contrib commands to Makefile
    • make lint for PHPCS
    • make coverage for code-coverage report

The 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
Package Rankings
Top 1.55% on Packagist.org
Badges
Extracted from project README
Coverage Status Packagist Version