diff --git a/CHANGELOG.md b/CHANGELOG.md index 60331b3..86a3da2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ CHANGE LOG ========== +## 1.0.8 + +* Add [Geoconv](http://developer.baidu.com/map/wiki/index.php?title=webapi/guide/changeposition) Query for [Module LBS](https://github.com/yoozi/LBS). + ## 1.0.7 * Add two methods ``getQuery()`` and ``set()`` for Search Class in Module LBS. diff --git a/lib/Yoozi/LBS/Query/Geoconv.php b/lib/Yoozi/LBS/Query/Geoconv.php new file mode 100644 index 0000000..3d2c00c --- /dev/null +++ b/lib/Yoozi/LBS/Query/Geoconv.php @@ -0,0 +1,32 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +namespace Yoozi\LBS\Query; + +/** + * Geoconv Query. + * + * @see http://developer.baidu.com/map/wiki/index.php?title=webapi/guide/changeposition + * @author Saturn HU + */ +class Geoconv extends AbstractQuery { + + /** + * Service URL segments. + * + * @var array + */ + protected $segments = array( + 'endpoint' => 'http://api.map.baidu.com', + 'name' => 'geoconv', + 'version' => 'v1', + 'method' => null, + ); +}