google-street-view

Best (or any) way to programmatically screen grab a Google Street View panorama

孤街浪徒 提交于 2019-12-08 06:46:22
问题 As the question implies, I'm looking for a way to programmatically screen grab a given panorama, I.E set a longitude and latitude and POV (pitch, yaw and zoom) and save the grab to the server. So far the most promise has been shown by Using .net to control the google earth com api (http://earth.google.com/comapi/index.html), however I am unable to find a definitive answer on whether on not the street view layer is accessible via this means. Embed the street view swf inside another swf that

Best (or any) way to programmatically screen grab a Google Street View panorama

心不动则不痛 提交于 2019-12-06 22:28:28
As the question implies, I'm looking for a way to programmatically screen grab a given panorama, I.E set a longitude and latitude and POV (pitch, yaw and zoom) and save the grab to the server. So far the most promise has been shown by Using .net to control the google earth com api ( http://earth.google.com/comapi/index.html ), however I am unable to find a definitive answer on whether on not the street view layer is accessible via this means. Embed the street view swf inside another swf that opens a socket to the web server to listen for requests, and passing commands (such as adjusting lat

Upload pano Image using street View Publish API

核能气质少年 提交于 2019-12-06 15:12:03
问题 When I am making upload using the the given street View API Request an Upload URL $ curl --request POST \ --url 'https://streetviewpublish.googleapis.com/v1/photo:startUpload?key=YOUR_API_KEY' \ --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \ --header 'Content-Length: 0' Upload the photo bytes to the Upload URL $ curl --request POST \ --url 'UPLOAD_URL' \ --upload-file 'PATH_TO_FILE' \ --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' But its not Working.. Its giving me the error No

InfoWindows on Markers in StreetView

浪子不回头ぞ 提交于 2019-12-06 14:12:23
According to the Google documentation, when you create a marker on a gmap the marker is also 'copied' onto the StreetView version of the map. However, onClick event binding are not copied (or at least don't appear to be), so I can't open the InfoWindow on the marker when in StreetView. Ideally I'd actually be able to define different content for the StreetView version of the InfoWindow, but right now I can't even get the same InfoWindow to open. I'm using code from the Google examples to create the InfoWindow binding on the main map markers as follows (wrapped in a function): google.maps.event

Requesting Google Street View panorama tiles from an origin location

时光总嘲笑我的痴心妄想 提交于 2019-12-06 09:48:29
I am trying to request Google Street View images so that I can render the full panorama onto a sphere in 3D. Unfortunately, this API only allows requesting up to 120° FoV. Ideally I need an equirectangular image that I can project onto this sphere. I then checked what requests Google Maps made when requesting panorama images for insight, and found that it makes requests similar to this: https://geo0.ggpht.com/cbk?cb_client=maps_sv.tactile&panoid=${panorama_id}&output=tile&x=${tile_x}&y=${tile_y}&zoom=${zoom_level}&nbt&fover=2 where each zoom level splits the image up into more tiles, giving

Google Street View zoom to Fov

最后都变了- 提交于 2019-12-06 06:18:39
问题 I need to save Street view image exactly as user selected (including panoID, heading, pitch and fov). I have the following code: panorama = new google.maps.StreetViewPanorama(document.getElementById('pano')); panorama.addListener('pano_changed', function () { $('#panoID').val(panorama.getPano()); }); panorama.addListener('pov_changed', function () { $('#heading').val(panorama.getPov().heading); $('#pitch').val(panorama.getPov().pitch); $('#fov').val(panorama.getZoom()); }); problem is I want

Google Street View API V3 - tiles loaded event?

谁说胖子不能爱 提交于 2019-12-05 20:02:28
Is there an event that fires when the Street View has finished loading all the tiles that make up a panorama? Currently if you change the position manually ( StreetViewPanorama.setPosition ) the transition is rough, and there is no way to tell when the new files have all loaded. As a result, it's not possible to display a loading GIF unless it's given an arbitrary timeout such as 2 or 3 seconds. Any ideas? You can see all available events for a panorama here: http://code.google.com/apis/maps/documentation/javascript/reference.html#StreetViewPanorama Have you tried using the position_changed

streetview into infowindow [closed]

跟風遠走 提交于 2019-12-05 02:42:06
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . I m trying to show a streetview view into an infowindow, but I m not getting it, this is my code: Does anyone know how it could be done? Thank you very much in advanced function createMarker(myLatlng) { var

Setting HTTP Referrer on Maps API Browser Key Results in 403 Error

我怕爱的太早我们不能终老 提交于 2019-12-04 17:19:23
问题 I'm confused about how the HTTP Referrer settings work on Google Maps API Browser Keys. I'm building a webpage that programatically requests images from Google Maps (primarily the Google Maps Street View Image API, but also does some queries of MaxZoomService and the Static Maps API from the Javascript API). If I create a Browser key without an HTTP Referrer, it works great. If I create a Browser key with an HTTP Referrer that matches the domain the page is loaded from, I get 403 errors. I'm

How to detect enter and exit streetView in Google Maps API v3

不问归期 提交于 2019-12-04 08:30:42
Is there a way to detect when a user enters and exits StreetView in Google Maps under API v3? I want to trigger an existing 'Hide Menu' function when the user enters StreetView (as the menu isn't relevant) and then re-show the menu when they exit. Observe the visible_changed -event of the streetView, the visible -property will be true or false (open or closed) function initialize() { var mapOptions = { center: new google.maps.LatLng(52.5498783, 13.425209), zoom: 8 }; var map = new google.maps.Map(document.getElementById("map-canvas"), mapOptions); google.maps.event.addListener(map