google-street-view

Opening StreetView from my app at a specific location

坚强是说给别人听的谎言 提交于 2019-12-31 02:26:27
问题 I'm trying to open the Google StreetView on Panorama mode from my Android app. I really wanna open the Google StreetView and not Google Maps, because I wanna use it with a Virtual Reality application that uses a VR Glass, that uses stereo view and panorama mode. The panorama mode that I wanna is like that: https://youtu.be/3mQKGEnWxIw The following code opens the StreetView app: PackageManager pm = this.getPackageManager(); Intent intent = pm.getLaunchIntentForPackage("com.google.android

How to open a street view in virtual reality mode programmatically?

蓝咒 提交于 2019-12-30 10:12:50
问题 Using the following code I open a street view of a particular location using its latitude and longitude. Intent streetView = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse("google.streetview:cbll=27.173891,78.042068" + "&cbp=1,90,,0,1.0&mz=8")); startActivity(streetView); When the street view of that location appears I need to double tap on the rotating arrow icon to the bottom right of the screen to get to the virtual reality mode, but I want to directly view the street view in

Facing the targeted building with Google StreetView

笑着哭i 提交于 2019-12-28 07:06:06
问题 My question is very straightforward. I need the heading value to know how to target the POV. sv.getPanoramaByLocation() in this case returns a data variable containing the heading of both the arrows in which direction you can go further. However it doesn't give me the heading value for which way to look at the building. However it is possible to use a marker in streetview to target your building! example Can anyone help me with this? I can make whatever dump you people want. 回答1: Geocode the

Map onClick Handler Fails - InvalidValueError: setCenter: not a LatLng or LatLngLiteral: in property lat: not a number

江枫思渺然 提交于 2019-12-25 17:38:26
问题 I have a simple page with GMap and Streetview div's. While an external link sets a new location OK in both div's, trying to do so in the map click handler fails. (I suspect there may be some closure rule I'm missing.) Script is as follows: var map, panorama; function do_show ( a, b ) { map = new google.maps.Map(document.getElementById('map'), { center: {lat: a, lng: b}, zoom: 14 }); map.addListener ( 'click', function(e) { do_show ( e.latLng.lat().toFixed(6), e.latLng.lng().toFixed(6) ); } );

Map onClick Handler Fails - InvalidValueError: setCenter: not a LatLng or LatLngLiteral: in property lat: not a number

余生颓废 提交于 2019-12-25 17:38:14
问题 I have a simple page with GMap and Streetview div's. While an external link sets a new location OK in both div's, trying to do so in the map click handler fails. (I suspect there may be some closure rule I'm missing.) Script is as follows: var map, panorama; function do_show ( a, b ) { map = new google.maps.Map(document.getElementById('map'), { center: {lat: a, lng: b}, zoom: 14 }); map.addListener ( 'click', function(e) { do_show ( e.latLng.lat().toFixed(6), e.latLng.lng().toFixed(6) ); } );

Map onClick Handler Fails - InvalidValueError: setCenter: not a LatLng or LatLngLiteral: in property lat: not a number

旧街凉风 提交于 2019-12-25 17:38:08
问题 I have a simple page with GMap and Streetview div's. While an external link sets a new location OK in both div's, trying to do so in the map click handler fails. (I suspect there may be some closure rule I'm missing.) Script is as follows: var map, panorama; function do_show ( a, b ) { map = new google.maps.Map(document.getElementById('map'), { center: {lat: a, lng: b}, zoom: 14 }); map.addListener ( 'click', function(e) { do_show ( e.latLng.lat().toFixed(6), e.latLng.lng().toFixed(6) ); } );

two different google streetviews

匆匆过客 提交于 2019-12-25 08:02:48
问题 I am getting two different streetviews, and I'm wondering if anyone can help me understand why the difference occurs. I start on google maps and zoom into the streetview with the following URL: https://www.google.com/maps/place/452+42+Ave+SE/@51.0445,-114.059,3a,75y,346.38h,85.83t/data=!3m4!1e1!3m2!1smwjybt0aGjulRlrUl7QyMg!2e0!4m7!1m4!3m3!1s0x53717001e51c622d:0xe4cc541a8bac14f6!2s219+9+Ave+SE!3b1!3m1!1s0x0:0x22eaf82b58b21f94 I then extract the latitude and longitude and generate the following

how to Create Custom Panorama Tiles for Creating of custom Street view

南笙酒味 提交于 2019-12-25 02:38:15
问题 i need some advise on how do i create Creating Custom Panorama Tiles for creating the custom street view i am able to create equirectange panorama of 10000x5000 but i saw that i need to slice them into tiles. i am also confuse over how should i label them. [return 'images/panoReception1024-' + zoom + '-' + tileX + '-' +tileY +'.jpg'] this is the example i got from the google street view document help. but , assume i have a 3000x1500, and i set the tile size to 512, i need to create 12X6? am i

Google Maps V3 StreetView not displaying on second setVisible() call

左心房为你撑大大i 提交于 2019-12-24 20:34:08
问题 EDIT: Heard back from Google, they've confirmed this is an issue on their end. EDIT2: my contact at Google has informed me they've fixed this bug. I've got a troublesome bug using the Google Maps V3 API. If you set up a map, switch to streetview, close streetview, then reopen, the imagery appears blank (though the controls still display). If you click on the controls to move the camera, the imagery returns. What causes this? As you can see the code below is very simple, I can't think where I

Remove Google Street View Panorama Effect

我们两清 提交于 2019-12-24 10:48:45
问题 I have a Google Street View that I have added using the Google Maps JavaScript API v3. You can see it here. Most of what the map does is fine. The only problem is that the Street View seems to be displaying the location in a weird spherical effect. I just want the street view to be the same as it is on here with just the straight image of the location without any panorama effect. The code I have used is here: <script src="https://maps.googleapis.com/maps/api/js?key