hivenkay/easylbs

BaiDu LBSYun SDK

dev-master 2017-04-24 08:50 UTC

This package is not auto-updated.

Last update: 2024-11-09 19:59:20 UTC


README

百度云地图LBS SDK 使用前请先阅读百度云LBS服务云文档,本SDK不再对请求参数以及响应作解释

Laravel 使用说明

Laravel5 服务提供的使用请移步Laravel-EasyLbs

云存储

方法列表:

* create
* getList
* update
* detail
* delete

位置数据表(geotable)

    $geoTable = new GeoTable('your-ak','your-sk');

自定义扩展列(column)

    $geoColumn = new GeoColumn('your-ak','your-sk');

位置数据(poi)

    $geoPoi = new GeoPoi('your-ak','your-sk');

云检索

poi周边搜索

    $geoSearch = new GeoSearch('your-ak','your-sk');
    //$attributes 请参考百度云文档
    $geoSearch->searchOfNearBy($attributes);

poi本地检索

    $geoSearch = new GeoSearch('your-ak','your-sk');
    //$attributes 请参考百度云文档
    $geoSearch->searchOfLocal($attributes);

poi详情检索

    $geoSearch = new GeoSearch('your-ak','your-sk');
    //$attributes 请参考百度云文档
    $geoSearch->searchOfDetail($attributes);