[Google Maps API v3] Re: Polygon verteces events

2011-11-21 Thread Adrien
Ok, clear. Thank you very much for your support. It was really great! On Nov 21, 11:48 pm, "Enoch Lau (Google Employee)" wrote: > > But everything is possible! You can climb the DOM tree, find the DIVs > > that represent the nodes and attach event handlers to them, but the > > code will likely br

[Google Maps API v3] Re: Polygon verteces events

2011-11-21 Thread Adrien
Thanks Marcelo. Is there any way that a left-click on a vertex will actually delete it? Adrien On Nov 21, 8:56 pm, Marcelo wrote: > On Nov 21, 12:30 pm, Adrien wrote: > > > I tested it and it works great. I have one question though: why does > > rightclicking on the vertex

[Google Maps API v3] Re: Polygon verteces events

2011-11-21 Thread Adrien
; will not fire the event on the vertex? As far as I can see, if I can change this to a left click I have my solution. Adrien On Nov 21, 7:41 pm, Marcelo wrote: > On Nov 21, 11:32 am, Adrien wrote: > > > > > @Marcelo, very interesting, but this will not work with v3 of the

[Google Maps API v3] Re: Polygon verteces events

2011-11-21 Thread Adrien
@Enoch, thanks for the feedback, I have already added the request. I however believe your workaround for deleting verteces not user friendly enough. @Marcelo, very interesting, but this will not work with v3 of the GMaps, or am I mistaken? Adrien On Nov 21, 3:21 pm, Marcelo wrote: > On Nov

[Google Maps API v3] Re: Polygon verteces events

2011-11-21 Thread Adrien
Thank you very much Enoch, you cleared a lot of doubts Is there any way you can think of which would allow me to delete vertexes by clicking on them? Or is Google working at exposing the vertex-clicking event? Adrien On Nov 20, 4:01 pm, "Enoch Lau (Google Employee)" wrote: >

[Google Maps API v3] Polygon verteces events

2011-11-20 Thread Adrien
I am working with the new drawing library from v3.7 and there's a couple fo things I'm not sure how I should be doing. Does anybody know: 1. How to capture the index id of a polygon's vertex when clicking on a vertex of a polygon? I want to use this to delete verteces by clicking on them. 2. What

[Google Maps API v3] Re: Initiate polygon drawing from custom button

2011-11-19 Thread Adrien
Brilliant, thanks. Worked a charm On Nov 19, 2:36 am, "Enoch Lau (Google Employee)" wrote: > What you can do is have a DrawingManager attached to a map, with > drawingControl: false (to hide the default buttons). Then, you can have > your html button do the following on click: >     drawingManage

[Google Maps API v3] Initiate polygon drawing from custom button

2011-11-18 Thread Adrien
I love the new polygon drawing options and have been playing with them for a couple of days. On the official documentation I see that it is possible to initiate the drawing of a polygon by clicking on a button external to the map. Does anybody know how to do this? http://code.google.com/apis/maps/

[Google Maps API v3] Re: map.fitBounds - zoom problem

2009-12-23 Thread Adrien
Thanks it works now! On Dec 22, 7:37 pm, Bob wrote: > I think the display none and jquery fadeIn effect is killing it. > Remove that and try. > > On Dec 22, 9:03 pm, Adrien wrote: > > > I just parse a xml file (on this example the xml is in a variable). > > All the ma

[Google Maps API v3] Re: map.fitBounds - zoom problem

2009-12-22 Thread Adrien
I just parse a xml file (on this example the xml is in a variable). All the markers are created correctly. On Dec 22, 4:14 pm, Esa wrote: > You have to explain first what does mean > >   jQuery(xml).find("marker").each(function() { > > That is not valid JavaScript. >

[Google Maps API v3] map.fitBounds - zoom problem

2009-12-22 Thread Adrien
s good, the map center too but zoom still not. Here is a live example: http://test2.rentfortheholidays.com/gmap.html Thanks in advance for your help. Adrien -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, sen