Skip to content

Commit

Permalink
Add Geoconv Query for Module LBS.
Browse files Browse the repository at this point in the history
  • Loading branch information
cnsaturn committed Oct 27, 2014
1 parent 5377a59 commit d93a844
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
32 changes: 32 additions & 0 deletions lib/Yoozi/LBS/Query/Geoconv.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

/*
* This file is part of the Yoozi Golem package.
*
* (c) Yoozi Inc. <[email protected]>
*
* 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 <[email protected]>
*/
class Geoconv extends AbstractQuery {

/**
* Service URL segments.
*
* @var array
*/
protected $segments = array(
'endpoint' => 'http://api.map.baidu.com',
'name' => 'geoconv',
'version' => 'v1',
'method' => null,
);
}

0 comments on commit d93a844

Please sign in to comment.