[Google Maps API v3] Markers and MouseEvent

2010-05-29 Thread Gabriel Svennerberg
According to the API documentation when you click a marker it will return an Event. This seems strange to me, why not return a MouseEvent object for all the markers mouse events? That way the API would work the same way regardless of what type of overlay you click. Best regards, Gabriel Svennerber

[Google Maps API v3] Using Styled Maps with TERRAIN map type?

2010-05-29 Thread mp-
I just discovered the new v3 Styled Maps functionality. http://googlegeodevelopers.blogspot.com/2010/05/add-touch-of-style-to-your-maps.html However, I'm confused. Can I only style the default map type (ROAD). I'd really like to style the TERRAIN map type but am not certain how to do so. -- Yo

[Google Maps API v3] Re: How to set/change default cursor

2010-05-29 Thread Esa
There are draggableCursor and draggingCursor properties in Map options: http://code.google.com/apis/maps/documentation/javascript/reference.html#MapOptions -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, s

Re: [Google Maps API v3] streetview on page load query

2010-05-29 Thread Marc Ridey
Your code looks correct. We'll flag it as a bug. Thanks. On Sun, May 30, 2010 at 1:06 AM, dbrb2 wrote: > Hello, > > Apologies if this is documented somewhere already - I haven't found it > if it is! > > I have a map here: > > http://bbarker.co.uk/cycleHire > > I am trying, initially, to get stre

[Google Maps API v3] Re: Changing Overlay Opacity - what is the right way?

2010-05-29 Thread William
On May 29, 8:20 pm, Marcelo wrote: > DIV elements on the Android browser have also mousedown and mouseup, > but they seem fire together. > I was looking into the same thing on the iPhone, and the official Apple Documentation on touch events says that the mouse events are emulated, arriving as a ba

[Google Maps API v3] Re: streetview on page load query

2010-05-29 Thread dbrb2
Ah - my mistake. That doesn't work at all - although I do now have it working. Not sure what the original problem was unfortunately :-) Now trying to find a way to hide all of my markers in streetview without the slow process of looping through each enable/disabling it :-) On May 29, 5:18 pm,

[Google Maps API v3] How to set/change default cursor

2010-05-29 Thread Antonio Latorre
Dear developers, is there a way to change the default cursor? In API v2 there was a way, but in the new api v3 it doesn't exists. Also, another user got no replies @ http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/73eb77519e93ccd5/f25702d785f4158e?lnk=gst&q=cursor#f25702d

[Google Maps API v3] Re: how do I map.fitbounds() to rendered directions

2010-05-29 Thread gp-v3
How do you make it redo the bounds on map resize though? The example doesn't refit the bounds when you resize the map (firefox 3.5.9). Is there an easy way to get at the directions bounds so I could use the fitBounds method? The reason I need to do this is because of the way I show the user the

[Google Maps API v3] Re: streetview on page load query

2010-05-29 Thread dbrb2
Ah - I've answered my own question. In addition to: panorama.setVisible(true); I have to call panorama.setZIndex(100); To bring the streetview above the map :-) On May 29, 4:06 pm, dbrb2 wrote: > Hello, > > Apologies if this is documented somewhere already - I haven't found it > if it is! >

Re: [Google Maps API v3] Re: What's best way to make a geocode request and capture the result in a variable?

2010-05-29 Thread Harry G Osoff
William, That was an excellent link. Worked like a charm. Had my data sent and returned in 15 minutes. My only disappointment was the precision. Harry Osoff Web Developer Harry Osoff Design On May 28, 2010, at 11:01 PM, William wrote: this article describes the process of using PHP to geoc

Re: [Google Maps API v3] Re: What's best way to make a geocode request and capture the result in a variable?

2010-05-29 Thread Ron Calzone
Thanks for the input Rossko, I started this thread before I started getting increased interest in the other one. I though a more open ended question would inspire some creativity. I have also since solved my problem using PHP, which is really more typically appropriate for interacting with

[Google Maps API v3] Re: Markers disappear in your example

2010-05-29 Thread Rossko
> When at max map zoom, clicking the zoom button again makes the markers > disappear. You might have to provide just a bit more info ... what example? Quoting a URL is often a good idea to make sure everbody is looking at the same page. -- You received this message because you are subscribed to

[Google Maps API v3] Re: How to get info (street Address, city, ...) from a marker

2010-05-29 Thread Rossko
> there are some methods like marker.getAddress() ? It's called 'reverse geocoding' , somehow you missed it when looking through the documentation, see http://code.google.com/apis/maps/documentation/javascript/services.html#ReverseGeocoding -- You received this message because you are subscribed

[Google Maps API v3] How to get info (street Address, city, ...) from a marker

2010-05-29 Thread Matt
Once I place one Marker on the map, I want to get some information about that marker. How can I get thoose info? I need that data to pre-fill a html form there are some methods like marker.getAddress() ? thanks -- You received this message because you are subscribed to the Google Groups "Goog

[Google Maps API v3] streetview on page load query

2010-05-29 Thread dbrb2
Hello, Apologies if this is documented somewhere already - I haven't found it if it is! I have a map here: http://bbarker.co.uk/cycleHire I am trying, initially, to get streetview to load immediately on page load - with a small "x" in the top right hand corner. To that end I have: var latlng

[Google Maps API v3] Markers disappear in your example

2010-05-29 Thread Barry Lynch
When at max map zoom, clicking the zoom button again makes the markers disappear. -- 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 t

[Google Maps API v3] Re: Wrap around tiles

2010-05-29 Thread bratliff
On May 28, 5:19 pm, Esa wrote: > Try in your getUrl() > > function getUrl(ll, z){ > ll.x = ll.x % (1 << z); > ... > > ... > } > > There is a meaningless misbehavior but I don't even remember what was > it.http://koti.mbnet.fi/ojalesa/v3/osm_dual.htm The "mod" of a negative number

[Google Maps API v3] Re: Limit zoom level (2)

2010-05-29 Thread ClubPit
google.maps.event.addListener(map, 'zoom_changed', function() { if (map.getZoom() < 12) { map.setZoom(12); }; }); -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.

Re: [Google Maps API v3] Re: Getting location of streetview panorama in API v3

2010-05-29 Thread Marc Ridey
try to monitor position_changed on the panorama. the Latlng should be set to the LatLng of the panorama instead of the latlng you requested and at that point, you could calculate the headig to set the pov. On Sat, May 29, 2010 at 1:04 PM, Matthew Landauer wrote: > Hi Marc, > > Thanks for your rep

[Google Maps API v3] Re: Custom Map Type with background color

2010-05-29 Thread rccc
Hello Daniels; thanks for information, i have already post here about this nwe feaures : http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/ce50545dbbf2c3d6/c0cbf361818220c2?lnk=gst&q=styled+map#c0cbf361818220c2. Thanks a lot :) On May 29, 1:25 am, Daniels Lee™ wrote: >

[Google Maps API v3] Re: Changing Overlay Opacity - what is the right way?

2010-05-29 Thread Marcelo
On May 29, 12:06 pm, Marcelo wrote: > As far as I could see, DIV elements on the Android browser have only > mousemove events, (no mouseup or mousedown), though it seems to act > more like a click. Correction: DIV elements on the Android browser have also mousedown and mouseup, but they seem fire

[Google Maps API v3] Re: Changing Overlay Opacity - what is the right way?

2010-05-29 Thread Marcelo
On May 28, 5:39 pm, Marcelo wrote: > > Yes, I know it doesn't work on my Nexus One either, but that's only > because of the slider. I'll see to modify the slider sometime. I've added a modified version with a "slider" that works on the Nexus One browser: http://maps.forum.nu/v3/gm_customTiles_N1.

[Google Maps API v3] Re: What's best way to make a geocode request and capture the result in a variable?

2010-05-29 Thread Rossko
> The manuals don't paint the complete picture - they just give you some > of the pieces, and actually capturing the result of the geocode query > is not one of the pieces. It is true ; there probably isn't a ready-made free code listing for every possible use-case and application. See also http:/

[Google Maps API v3] Re: Street View de V2 -> V3

2010-05-29 Thread piep14
Ah ok, j'ai passé deux jours a chercher lol Je comprend mieux pourquoi je ne trouvais pas. Je ne vois pas votre message dans : http://code.google.com/p/gmaps-api-issues/issues/list?can=2&q=apitype:Javascript3&colspec=ID+Type+Status+Introduced+Fixed+Summary+Internal+Stars&cells=tiles Sinon, vous pe