google-street-view

StreetViewService getPanorama method reporting Incorrect Status Codes for LatLng paris

半世苍凉 提交于 2019-12-11 05:55:42
问题 All of the sudden I appear to be getting inaccurate status codes from the Google Maps Javascript API. For example, with this code: sv.getPanorama({ location: {lat: 35.685, lng: 139.7514}, radius: 350 }, function(data, status) { console.log("getPano() location = "+data.location.latLng); console.log("getPano() panoID = "+data.location.pano); console.log("getPano() status = "+status); }); With this, I get the following output: new getPano() location = (35.685175, 139.75279950000004) getPano()

Is there a way to use the Google Street View API and only return “side view”?

佐手、 提交于 2019-12-11 05:54:18
问题 By side view I mean images where the camera is facing perpendicular to the street and facing the sidewalk that runs along the street. An example would be like this image: http://cdn.timesofisrael.com/uploads/2015/12/Screen-Shot-2015-12-02-at-1.59.53-AM.png For now I have been measuring the heading parameter explicitly with a compass for each street and that has allowed me to get side view images but this is not scaleable. Does Google Street View have some way to set this "side view" boolean

Google maps streetview tiles do not load in Firefox initially, only after dragging

寵の児 提交于 2019-12-11 02:55:12
问题 I have a problem with google maps streetview (in a bootstrap theme, if that has something to do with it). I set the streetview visible with a click of a button and it works in IE and Chrome ok, but in Firefox, the streetview stays gray (ie. it doesn't load the initial tiles) until you drag the view with a mouse. I created a fiddle about it, try your self and be amazed: http://jsfiddle.net/wK5Hq/22/ Anyone have a guess why is this happening? EDIT: Now when I tried it in the fiddle, the tiles

StreetView gyroscope functionality

ε祈祈猫儿з 提交于 2019-12-11 01:44:43
问题 In the official Google Maps application when a user rotates the device, StreetView is rotated. I made a research and didn't find how to enable gyroscope functionality in Google Maps v2 API for StreetView. I can implement this by myself, but maybe there IS such functionality and I just haven't find it? 回答1: There isn't any built-in features in StreetView to enable this functionality. If you would like to do it by yourself you can check following links: Set the camera orientation point of view

Google JavaScript API v3 - Street View Service - turn off building interiors

廉价感情. 提交于 2019-12-10 18:46:22
问题 Often the geocoding in my application will return rooftop accuracy. When I zoom into the location, and I switch on street view, I will end up inside a building, rather than on the street. I want to always be out on the street. I was looking for some kind of configuration setting here: street view documentation, that will allow me to turn off building interiors but no luck. Can someone confirm whether or not what I'm looking for is possible? Thanks. 回答1: The property we're looking for is

Google earth api javascript control

天涯浪子 提交于 2019-12-10 17:24:53
问题 I have an HTML file in which the camera flies from space to a street view and I only need to move forward, in a random direction to the next streetview and keep moving. Just like keeping the up arrow pressed. Does anyone know how to do it, please? Thank you very much! 回答1: I don't think this is possible, the Google Earth Api (to date) does not expose any methods to control the street-view mode other that enabling/disabling. All movement is via user input rather than programmatic control. That

Is it possible to use markers on street view in android Google maps API v2?

无人久伴 提交于 2019-12-10 16:27:47
问题 I implemented the street view in my app and i want to see the map markers in street view, it is possible? 回答1: Nowadays Android Google maps API v2 can´t add markers, this option is only available for iOS. Markers within Street View https://developers.google.com/maps/documentation/ios/streetview#markers_within_street_view 回答2: It's possible to add markers to StreetView in Android via a custom implementation. You should put a transparent SurfaceView on top of your StreetView , Pass panorama.

Trying to show StreetView in by using Google Maps Android API v2 in android but not able to get it working

无人久伴 提交于 2019-12-10 15:05:23
问题 I am trying since long time to show the StreetView of particular location in Android but unfortunately unable to succeed. What i require is that if i provide a position(LAT,LONG) to the map it should show the streetview of that particular position. Following is the working code that shows Map, 3D map, hybrid map, sattlatite view etc etc.. BUT not showing the STREETVIEW... mMap = ((SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.map)).getMap(); mMap.addMarker(new

Application getting crashed when i used SupportStreetViewPanoramaFragment

混江龙づ霸主 提交于 2019-12-09 01:47:28
问题 I want to started some development in StrretView and for that i used SupportStreetViewPanoramaFragment. but when i start my application it's crash with below logcat. 07-17 16:33:53.805: E/AndroidRuntime(19449): FATAL EXCEPTION: main 07-17 16:33:53.805: E/AndroidRuntime(19449): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.stacky/com.example.stacky.SplitStreetViewPanorama}: java.lang.NullPointerException 07-17 16:33:53.805: E/AndroidRuntime(19449): at android

Google Maps API v3 - Display Image capture date in StreetView

独自空忆成欢 提交于 2019-12-08 12:22:46
问题 When you visit maps.google.com there is an information at the right bottom corner saying when the image has been captured: screenshot google maps However on my site when I use Google Maps API, that information is simply not shown. I cannot find any setting for this either. Does anyone know how to display that information? EDIT: I don't use google.maps.StreetViewPanorama, but google.maps.Map where the user can switch to StreetView mode. Thanks! 回答1: When you create the Street View, specify the