Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ihsanbal/StreetView
Google Street View Image API Android Library [DEPRECATED]
https://github.com/ihsanbal/StreetView
android api google google-street streetview
Last synced: 3 months ago
JSON representation
Google Street View Image API Android Library [DEPRECATED]
- Host: GitHub
- URL: https://github.com/ihsanbal/StreetView
- Owner: ihsanbal
- License: apache-2.0
- Created: 2015-12-31T10:25:14.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-12T07:21:50.000Z (over 8 years ago)
- Last Synced: 2024-07-16T04:33:54.376Z (4 months ago)
- Topics: android, api, google, google-street, streetview
- Language: Java
- Homepage:
- Size: 2.83 MB
- Stars: 44
- Watchers: 4
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
StreetView
=======
Google Street View Image API Android Library -
StreetView use the [Retrofit](https://github.com/square/retrofit)
[![License](http://img.shields.io/badge/License-Apache%202-brightgreen.svg?style=flat-square)](https://github.com/ihsanbal/StreetView/blob/master/LICENSE)
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-StreetView-green.svg?style=flat-square)](http://android-arsenal.com/details/1/2972)
[![API](https://img.shields.io/badge/API-9%2B-brightgreen.svg?style=flat-square)](https://android-arsenal.com/api?level=9)
[![Version](https://img.shields.io/badge/Version-2.0.0-orange.svg?style=flat-square)](https://github.com/ihsanbal/StreetView/releases/tag/2.0.0)
[![Release](https://img.shields.io/github/release/ihsanbal/StreetView.svg?style=flat-square&label=Release)](https://jitpack.io/#ihsanbal/StreetView)Usage
--------```java
StreetView streetView = new StreetView.Builder("ApiKey")
.pitch("-0.76")
.heading("80.0")
.size("600x400")
.fov("90")
.build();
streetView.getStreetView(41.0421119, 29.0379787, new CallBack() {
@Override
public void onResponse(Response response, Retrofit retrofit, Bitmap bitmapStreetView) {
//TODO : Stream image from response or use bitmapStreetView bitmap
}
@Override
public void onFailure(Throwable t) {
t.printStackTrace();
}
});```
Update app build.gradle with
```
ext {
retrofitLastLibVersion = "2.0.0-beta2" //Retrofit last version
}
```Download
--------Download [the latest AAR][2] or grab via Gradle:
```groovy
repositories {
maven {
url "https://jitpack.io"
}
}
dependencies {
compile 'com.github.ihsanbal:StreetView:2.0.0'
}
```
or Maven:
```xmljitpack.io
https://jitpack.iocom.github.ihsanbal
StreetView
2.0.0```
##[Screenshot](https://github.com/ihsanbal/StreetView/blob/master/images/device-istanbul_view.png)
Pic form [istanbul](https://www.google.com.tr/maps/place/%C4%B0stanbul/@41.02881,28.946502,3a,75y,90t/data=!3m8!1e2!3m6!1s87258476!2e1!3e10!6s%2F%2Flh6.googleusercontent.com%2Fproxy%2FJOnyZ62VmmGhlqtu5FwscwAxSc9rCB0ptWdxKyF47Cs9wpPRZ6U8rfLgweSv3eU8sZsKK-9SOGISndy3eyX44SbQwBSC-w%3Dw139-h86!7i4704!8i2900!4m2!3m1!1s0x14caa7040068086b:0xe1ccfe98bc01b0d0!6m1!1e1?hl=tr)
Know More About Street View Image API
-------------------------------------
>* [Developer's Guide](https://developers.google.com/maps/documentation/streetview/intro)>* [Get A Key And Signature](https://developers.google.com/maps/documentation/streetview/intro)
>* [Usage Limits](https://developers.google.com/maps/documentation/streetview/usage-limits)
Licence
--------------
Copyright [2015]() [İHSAN BAL](https://github.com/ihsanbal)Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.Author
--------------
[İHSAN BAL](https://github.com/ihsanbal)