饿了么,美团外卖这个是怎么生成的啊?

WBOY
Release: 2016-06-06 20:10:44
Original
1753 people have browsed it

像这两个地址,是定位之后的,我想问下,wt3tnnudg0xn,wtw3snpky49像这样参数是怎么生成的啊,这个应该是根据lng,lat(114.902514,30.45855)经纬度生成唯一的标示。php用什么算法可以生成啊?

http://i.waimai.meituan.com/home/wt3tnnudg0xn
https://m.ele.me/place/wtw3snpky49

在线等大神啊

回复内容:

像这两个地址,是定位之后的,我想问下,wt3tnnudg0xn,wtw3snpky49像这样参数是怎么生成的啊,这个应该是根据lng,lat(114.902514,30.45855)经纬度生成唯一的标示。php用什么算法可以生成啊?

http://i.waimai.meituan.com/home/wt3tnnudg0xn
https://m.ele.me/place/wtw3snpky49

在线等大神啊

geohash算法原理及实现方式

http://www.cnblogs.com/dengxinglin/archive/2012/12/14/2817761.html

是有一定的算法的geoHash算法

https://github.com/Eleme/geohash

https://github.com/cevin/geohash

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template