8000 GitHub - duzhenlin/IMap: IMap-一个优雅的地图集成API
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

duzhenlin/IMap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IMap

IMap

安装方式

composer require duzhenlin/imap

qq地图WebService API实现

  $config = [
        'qq' => [
            'Key' => 'yourKey'
        ]
    ];
    $app = new \IMap\Core\App($config);
    //地址解析(地址转坐标)
    $app->QQMap->address('济南泉城广场');
    //计算距离
    $app->QQMap->distance('39.983171,116.308479','39.996060,116.353455');
    //ip定位
    $app->QQMap->fromIp('22.22.22.22');

后期会增加百度,高德api

About

IMap-一个优雅的地图集成API

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0