https://github.com/fernandospr/vsmotionpanoramaview
Google Maps Street View (Panorama View) using device motion.
https://github.com/fernandospr/vsmotionpanoramaview
Last synced: 3 months ago
JSON representation
Google Maps Street View (Panorama View) using device motion.
- Host: GitHub
- URL: https://github.com/fernandospr/vsmotionpanoramaview
- Owner: fernandospr
- License: mit
- Created: 2015-06-30T02:43:30.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-30T03:09:24.000Z (almost 11 years ago)
- Last Synced: 2024-12-31T15:54:25.364Z (over 1 year ago)
- Language: Objective-C
- Size: 137 KB
- Stars: 0
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Introduction
Because Google Maps (GMSPanoramaView) does not have support for device motion, we decided to implement VSMotionPanoramaView.
VSMotionPanoramaView inherits from Panorama View to support device motion.
This enables you to show Google Street View map images using the device motion without touching the screen.
## How to use it on your project
* Copy the VSMotionPanoramaView folder to your project.
* Just use VSMotionPanoramaView instead of GMSPanoramaView, by default the property orientationMotion will be enabled (and orientationGestures will be disabled to avoid conflict).
## Example project
* Clone this repository.
* Execute pod install (to download GoogleMaps SDK).
* Open VSMotionPanoramaViewExample.xcworkspace.
* Configure your Google Maps Api Key in AppDelegate.m.
* Run it on your device.