[Google Maps API v3] How to clear the images out of streetview

2012-02-11 Thread spiderplant0
contain any images). See attached image above. Is there a way to do this? http://jsfiddle.net/spiderplant0/y9PSz/ -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To view this discussion on the web visit https

[Google Maps API v3] Re: Detect when the streetview pegman has been dropped onto the map

2011-12-10 Thread spiderplant0
Here's a fork of the code I'm using to prototype... jsfiddle.net/spiderplant0/fubNj/ This should help you understand the issues with visibility_changed etc. The question is pretty simple: Detect if, and only if, the pegman has been dropped onto the map. Thanks. -- You received this message

[Google Maps API v3] Re: Detect when the streetview pegman has been dropped onto the map

2011-12-10 Thread spiderplant0
around with the fiddle you'll see it activates even if you pan the streetview (this is counter to what the documentation suggests). I've added getPosition() and pano_changed etc to the fiddle - it prints them out to see whats happening. Have a go. http://jsfiddle.net/spiderplant0/UmPEq/17/ I guess

[Google Maps API v3] Re: Detect when the streetview pegman has been dropped onto the map

2011-12-10 Thread spiderplant0
oops wrong fiddle link. try this one http://jsfiddle.net/spiderplant0/fubNj/7/ -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from

[Google Maps API v3] Re: Detect when the streetview pegman has been dropped onto the map

2011-12-10 Thread spiderplant0
..also in case theres any confusion, when I said to pan the streetView. I really mean clciking on the big arrow symbols that move street view along the road. -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group,

[Google Maps API v3] Detect when the streetview pegman has been dropped onto the map

2011-12-08 Thread spiderplant0
I am building a site where the Google map and Google street-view are in separate DIVs. I want to detect when the user has dropped the little yellow man onto the map so I can switch the display from the map to the streetview. Is there an event for this? I guess there must be a way to do this

[Google Maps API v3] Usage limits for StreetView

2011-12-08 Thread spiderplant0
I was wondering if there are any limits for calling the *getPanoramaByLocation() *method on the *google.maps.StreetViewService()* object? Eg if I have placed a google map on my web page, my usage counter will increment by 1 each time the page is loaded. Does the useage counter also increase

[Google Maps API v3] Re: Usage limits for StreetView

2011-12-08 Thread spiderplant0
Thanks Marcelo. It is slightly confusing and ambiguous. The documentation doesnt actually mention street view (or at least the non streetview images api). It just says Maps JavaScript API I guess this includes StreetView. I take it from this that a stand alone street view application api (no

[Google Maps API v3] Re: Detect when the streetview pegman has been dropped onto the map

2011-12-08 Thread spiderplant0
Thanks but this is not really it. visibile_changed works somewhat but also fires at initialisation and when you park the pegman etc. This bug ..

[Google Maps API v3] Re: convert from tile coordinates to lat/lng

2010-12-06 Thread spiderplant0
er, not sure how this helps. Are you saying it cant be done? Or is my question not clear? -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api...@googlegroups.com. To unsubscribe

[Google Maps API v3] Re: convert from tile coordinates to lat/lng

2010-12-06 Thread spiderplant0
I'll clarify the question. I need to convert tile coords plus zoom into lat/lng. I can easily convert tile coords plus zoom into and world coordinates as the maths is simple. However what is not trivial is the conversion between world coordinates and lat/lng. Does google maps include a function to

[Google Maps API v3] Re: convert from tile coordinates to lat/lng

2010-12-06 Thread spiderplant0
Thanks Martin, thats just what I was looking for. -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send email to

[Google Maps API v3] Re: groundOverlay distortion

2010-12-05 Thread spiderplant0
Thanks Ben. I implemented the custom overlay and it worked fine. In case anyones interested, there is a tutorial here... http://code.google.com/apis/maps/documentation/javascript/overlays.html#CustomOverlays -- You received this message because you are subscribed to the Google Groups Google

[Google Maps API v3] convert from tile coordinates to lat/lng

2010-12-05 Thread spiderplant0
Hi, my website needs to convert google maps tile cordinates (x, y and zoom) into LatLngBounds (latitude and longitude for the north-east and south west corners of the tile). For example, for the tile showing Scotland: (x,y) = (7,4), zoom=4 The bounds are: NE=(66.51326044311185, 0)

[Google Maps API v3] Re: groundOverlay distortion

2010-11-12 Thread spiderplant0
Thanks for the reply. To solve this problem I guess my options are: 1) Implement an alternative projection type so google maps displays my overlay in a different projection. 2) Obtain the algorithim that Google uses to stretch the map - I could then apply the reverse algorithim to my overlay image

[Google Maps API v3] Re: Reuse custom map overlay tiles at different zoom levels

2010-07-26 Thread spiderplant0
Hi Marcello, thanks for this idea. I tried it out and the overlay maintains its quality even when you zoom in quite hard. The trouble is google maps stops showing the ground overlay when you exceed a certain zoom. It seems to stop showing the overlay when the percentage of the ground overlay that

[Google Maps API v3] Re: Differentiate between API zooming and user manual zooming.

2010-06-29 Thread spiderplant0
Thanks. On Jun 28, 9:12 pm, Chad Killingsworth chadkillingswo...@missouristate.edu wrote: Here's a starting point for you:http://search.missouristate.edu/map/mobile/zoompancontrol.js Chad Killingsworth On Jun 28, 3:04 pm, spiderplant0 spiderpla...@googlemail.com wrote: Hi, thanks

[Google Maps API v3] Re: streetView - share markers and set options

2010-06-28 Thread spiderplant0
is dragged as well.  But as of right now the only way to have a custom street view pano and to show markers on both is to make 2 markers, one for the main map and one for the street view and to bind the position as I described above. On Sun, Jun 27, 2010 at 1:36 PM, spiderplant0 spiderpla

[Google Maps API v3] Re: Differentiate between API zooming and user manual zooming.

2010-06-28 Thread spiderplant0
of setTimeout to compensate for the order in which these events happen. Chad Killingsworth On Jun 25, 7:51 am, spiderplant0 spiderpla...@googlemail.com wrote: The 'zoom_changed' event fires both when a user clicks on the zoom- control and when the zoom setting changes as a result of an API call

[Google Maps API v3] streetView - share markers and set options

2010-06-27 Thread spiderplant0
Hi, I'm getting confused with StreetView. As far as I can tell there are two main ways to show a street-view: use: .getStreetView() on a map object or use the constructor: new google.maps.StreetViewPanorama(...) If you use the '.getStreetView()' way, I believe you cannot set

[Google Maps API v3] Differentiate between API zooming and user manual zooming.

2010-06-25 Thread spiderplant0
The 'zoom_changed' event fires both when a user clicks on the zoom- control and when the zoom setting changes as a result of an API call - such as .fitBounds(). (In fact 'zoom_changed' fires for any fitBounds() call even if the zoom scale did not actually change) I need to be alerted to a change