Sunday, May 30, 2010

Re: Bind a line on the cursor

Well, i have tried the function enableDrawing() and enableEditing()as
well, but it
didn't work.
Sorry but are you sure, that it wont work with the vertex functions?
I'm new in this branche and haven't enough experience.

On 30 Mai, 17:08, Rossko <ros...@culzean.clara.co.uk> wrote:
> > Right, this is what I expect. The line should be removed after the
> > second point,
> > like in this example:http://gmaps-samples.googlecode.com/svn/trunk/poly/mymapstoolbar.html
>
> Why don't you use the enableDrawing() and enableEditing() tools, like
> the example does?
> All your adding and removing vertex on mousemove will go wrong,
> because it takes time ; while your code is adding/removing a vertex
> from one move the next mouse event will come along and start adding/
> removing another.  You have nothing to stop the listener code being
> started anew even if the last process is still halfway through.

--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate