Problems dragging routes in Firefox

154 views
Skip to first unread message

Leigh

unread,
Jul 16, 2011, 10:57:34 PM7/16/11
to Google Maps JavaScript API v3
Is anyone else seeing a problem like this one? I searched the group a
bit and saw some other people with some problems dragging things in
Firefox, but nothing that seemed exactly like this.

The site I have is here. http://www.routeloops.com.

The site makes routes by sending Google a start point, some waypoints,
and an end point. So far so good. However, the route is supposed to
be draggable. In IE it is. In Opera it is. In Firefox (5.0) it acts
like it's draggable (if you mouse over the route you see a new
waypoint and the message that you should drag it to change the route),
but the points just won't drag normally. If you move the mouse, the
point starts to move and then just stays where it is until you bring
the mouse back. Then the point seems to recognize the mouse again and
kind of moves, but not really.

This all used to work in Firefox, although I don't know exactly when
it seems to have stopped working well.

Does anyone else see this problem?

Does anyone have any ideas what to do about it?

Oh, I also checked the Google Maps page itself. That works fine under
this version of Firefox. That is, dragging of routes works just like
it's supposed to. Was there some change made to the API for embedding
the map that took place that I should have done to make it work
correctly in FF 5.0?

Thanks for the advice if anyone has any.

Leigh

DiTieM

unread,
Jul 17, 2011, 5:03:10 AM7/17/11
to google-map...@googlegroups.com
This all used to work in Firefox, although I don't know exactly when
it seems to have stopped working well.

Well, not sure if understand your problem. Just a note that might help.
I noticed that Google maps in FF 3.6 is different than FF 4.0. The change
is in the div that contains the map. In FF 3.6 they use css properties top
and left to drag the map. In FF 4.0 they use -moz-transform. This change
screw-up things if you are using something like jquery functions offset or 
position, which means, that affect things that do dragging and positioning.
Now the question is, are you relying on Google maps 100% or you do some
job on the top of them when the user drag the markers?

I guess this change is to do animations when the map need to be dragged.

Regards,
  David

Leigh

unread,
Jul 18, 2011, 8:54:23 AM7/18/11
to Google Maps JavaScript API v3
Thanks David,

I know that the description is weak, but it's the best I can do. It
really very hard to explain what I see, but basically when you mouse
over the route a small white circle appears (the new waypoint you will
create if you drag the route) and if you click it, you can start to
drag it. That's the expected behavior. But then, it just won't drag
correctly.

Anyway, I think that maybe the problem is with the installation of
Firefox, not FF itself. It happens on 2 computers here, but I just
installed FF on a third and it works fine. So I guess I'll just
withdraw the question for now, and assume that the problem is more
local than global.

Leigh

Wolfgang

unread,
Jul 23, 2011, 3:51:12 AM7/23/11
to Google Maps JavaScript API v3
I got the same problem for a polylinen editor. In FF 5 it works fine
when i use no user icon (as i would prefer) and using just "no
icon" (shows standard Google icon). For FF i use this as "bugfix".
It's not so nice but still works. I'm working with Linux and all other
supported browsers (Opera, Chrome, Safari) works. Hope it's a
temporary FF 5 problem

Hope it helps

Wolfgang
Reply all
Reply to author
Forward
0 new messages