defro/google-streetview
Composer 安装命令:
composer require defro/google-streetview
包简介
Google StreetView photo service by API provide metadata request and get static image url by location (address), panorama ID or latitude & longitude
README 文档
README
This package can get street view image from any address to GPS coordinates, location or panorama ID using Google's street view service. Here's a quick example:
$client = new \GuzzleHttp\Client(); $streetView = new \Defro\Google\StreetView\Api($client); $imgUrl = $streetView ->setApiKey('YOUR_GOOGLE_API_KEY') ->getImageUrlByLocation('Eiffel tower, Paris'); echo '<img src="' . $imgUrl . '" />';
Documentation
Read how to install, use this package, customize photo location to display on documentation page.
License
The MIT License (MIT). Please see license file for more information.
统计信息
- 总下载量: 8.22k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-02-22