开发者

Google Maps Encoded Polyline PHP Function

I am looking for a PHP function that encodes an array of points into an encoded polyline.

The algorithm is described here:

http://code.google.com/apis/maps/documentation/utilities/polylinealgorithm.html

I can't seem to find any way to do this and 开发者_StackOverflow中文版I have searched all over to no avail.


Have you seen this site: http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/

It has encoders written in Javascript, PHP, Java, Ruby and Perl.

UPDATE 2014-03-17

The above link is dead here is a new link for the PHP class http://perassi.org/quickhacks/polyline/class.polylineEncoder.phps

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜