承接 defro/google-streetview 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

Latest Version Software License Build Status SymfonyInsight Scrutinizer Code Quality Code Coverage StyleCI Total Downloads Donate

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

GitHub 信息

  • Stars: 9
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-02-22