marker setPosition() blinking

2,233 views
Skip to first unread message

frogmaster

unread,
Jun 11, 2010, 4:57:14 AM6/11/10
to Google Maps JavaScript API v3
This suddenly started yesterday. You can see the effect in
http://tracker.viiret.ee. I believe this is a bug in v3, but i'm not
quite sure. Most evident in firefox, not so much in chrome, but still
visible.
Could someone confirm, if it's my mishap or not... Thanks.

Pil

unread,
Jun 11, 2010, 6:54:18 AM6/11/10
to Google Maps JavaScript API v3
I get an error when I click on any of the markers

Error: v_id is not defined
Source File: http://tracker.viiret.ee/
Line: 176





On Jun 11, 10:57 am, frogmaster <teet.talvi...@gmail.com> wrote:
> This suddenly started yesterday. You can see the effect inhttp://tracker.viiret.ee. I believe this is a bug in v3, but i'm not

frogmaster

unread,
Jun 11, 2010, 7:20:09 AM6/11/10
to Google Maps JavaScript API v3
They are not supposed to do anything any more, when clicked, but
thanks for noticing the error. The issue presents itself when play is
pressed...

Nathan Raley

unread,
Jun 11, 2010, 9:05:09 AM6/11/10
to google-map...@googlegroups.com
I am having a similar issue, I had narrowed it down to me switching the image or repositioning, but if its just the repositioning that helps me narrow down the issues.

I have a similar playback feature for showing a driving route and have recently moved from v2 to v3 of the API and have the same issue you are having.  I only change the image if the heading is 15 degrees different than the previous heading and then reposition the image and I too am getting a constant "flicker" effect.

--
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-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.


AV

unread,
Jun 12, 2010, 9:02:33 PM6/12/10
to Google Maps JavaScript API v3
I have the same problem, but found a way to resolve it temporarily.
We can use an older version of the API, so I tried to use v3.0 instead
of v3.1.
As it turns out, it worked for me with marker movement now being
smooth.

This is done by adding the v=3.0 request in the API call, like this
(in my case):
<script type="text/javascript" src="http://maps.google.com/maps/api/js?
v=3.0&sensor=false"></script>

Best regards,
AV

On Jun 11, 2:05 pm, Nathan Raley <nlrale...@gmail.com> wrote:
> I am having a similar issue, I had narrowed it down to me switching the
> image or repositioning, but if its just the repositioning that helps me
> narrow down the issues.
>
> I have a similar playback feature for showing a driving route and have
> recently moved from v2 to v3 of the API and have the same issue you are
> having.  I only change the image if the heading is 15 degrees different than
> the previous heading and then reposition the image and I too am getting a
> constant "flicker" effect.
>
> On Fri, Jun 11, 2010 at 6:20 AM, frogmaster <teet.talvi...@gmail.com> wrote:
> > They are not supposed to do anything any more, when clicked, but
> > thanks for noticing the error. The issue presents itself when play is
> > pressed...
>
> > On Jun 11, 1:54 pm, Pil <wolf...@gmail.com> wrote:
> > > I get an error when I click on any of the markers
>
> > > Error: v_id is not defined
> > > Source File:http://tracker.viiret.ee/
> > > Line: 176
>
> > > On Jun 11, 10:57 am, frogmaster <teet.talvi...@gmail.com> wrote:
>
> > > > This suddenly started yesterday. You can see the effect inhttp://
> > tracker.viiret.ee. I believe this is a bug in v3, but i'm not
> > > > quite sure. Most evident in firefox, not so much in chrome, but still
> > > > visible.
> > > > Could someone confirm, if it's my mishap or not... Thanks.
>
> > --
> > 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-map...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-maps-js-a...@googlegroups.com<google-maps-js-api-v3%2Bunsu...@googlegroups.com>
> > .

AV

unread,
Jun 12, 2010, 8:40:10 PM6/12/10
to Google Maps JavaScript API v3
Hi,

I also have the same problem. I am moving a marker about in a map and
it blinks a lot. If the speed is slow enough it becomes invisible with
rare appearances.
It worked well two weeks ago and the problem started sometime last
week.
It must have coincided with the new release.
Should we report this to someone?

Best rgeards,
AV


On Jun 11, 2:05 pm, Nathan Raley <nlrale...@gmail.com> wrote:
> I am having a similar issue, I had narrowed it down to me switching the
> image or repositioning, but if its just the repositioning that helps me
> narrow down the issues.
>
> I have a similar playback feature for showing a driving route and have
> recently moved from v2 to v3 of the API and have the same issue you are
> having.  I only change the image if the heading is 15 degrees different than
> the previous heading and then reposition the image and I too am getting a
> constant "flicker" effect.
>
> On Fri, Jun 11, 2010 at 6:20 AM, frogmaster <teet.talvi...@gmail.com> wrote:
> > They are not supposed to do anything any more, when clicked, but
> > thanks for noticing the error. The issue presents itself when play is
> > pressed...
>
> > On Jun 11, 1:54 pm, Pil <wolf...@gmail.com> wrote:
> > > I get an error when I click on any of the markers
>
> > > Error: v_id is not defined
> > > Source File:http://tracker.viiret.ee/
> > > Line: 176
>
> > > On Jun 11, 10:57 am, frogmaster <teet.talvi...@gmail.com> wrote:
>
> > > > This suddenly started yesterday. You can see the effect inhttp://
> > tracker.viiret.ee. I believe this is a bug in v3, but i'm not
> > > > quite sure. Most evident in firefox, not so much in chrome, but still
> > > > visible.
> > > > Could someone confirm, if it's my mishap or not... Thanks.
>
> > --
> > 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-map...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-maps-js-a...@googlegroups.com<google-maps-js-api-v3%2Bunsu...@googlegroups.com>
> > .

frogmaster

unread,
Jun 13, 2010, 2:05:40 PM6/13/10
to Google Maps JavaScript API v3
Submitted a bug report...
> > > google-maps-js-a...@googlegroups.com<google-maps-js-api-v3%2B unsub...@googlegroups.com>

Jeff McFadden

unread,
Jun 13, 2010, 8:00:49 PM6/13/10
to Google Maps JavaScript API v3
I've had the exact same issue, since 3.1 was released. Thanks for
filing the bug report.

-- Jeff

Nathan Raley

unread,
Jun 14, 2010, 9:38:13 AM6/14/10
to google-map...@googlegroups.com
It appears that they resolved this over the weekend as I no longer have the issue.

To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.

en4ce

unread,
Jun 14, 2010, 10:59:25 AM6/14/10
to Google Maps JavaScript API v3
nope, i cant confirm that, iam still in blinkmode ;)

On 14 Jun., 15:38, Nathan Raley <nlrale...@gmail.com> wrote:
> It appears that they resolved this over the weekend as I no longer have the
> issue.
>
> > > > > > google-maps-js-a...@googlegroups.com<google-maps-js-api-v3%2Bunsu...@googlegroups.com><google-maps-js-api-v3%2B
> > unsub...@googlegroups.com>
> > > > > > .
> > > > > > For more options, visit this group at
> > > > > >http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
> > --
> > 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-map...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-maps-js-a...@googlegroups.com<google-maps-js-api-v3%2Bunsu...@googlegroups.com>

Nathan Raley

unread,
Jun 14, 2010, 11:10:14 AM6/14/10
to google-map...@googlegroups.com
That's odd b/c it appears to be working fine on mine, even if I bump up the update rate to 4x what was causing a flicker last Friday.

How complex is your set position part?  Mine's like this:
VehiclePosMarker.setIcon(tempString);
VehiclePosMarker.setPosition(point);

And doesn't appear to be flickering at all.

Nathan Raley

unread,
Jun 14, 2010, 12:33:51 PM6/14/10
to google-map...@googlegroups.com
Actually nevermind, it is still doing it.

I forgot when I compiled my program and had the link to the html element I was testing the new api with I had not saved it and closed out of it when I went home for the weeked.  It was loading the old page using api v2.

Luke Mahé

unread,
Jun 14, 2010, 8:50:29 PM6/14/10
to google-map...@googlegroups.com
Hey guys,

We are aware of this and it should be resolved soon.

-- Luke


--
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-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.

Nathan Raley

unread,
Jun 15, 2010, 9:06:43 AM6/15/10
to google-map...@googlegroups.com
Thanks for the update, I was having a field day trying to figure out what was triggering this error.

Appreciate it,
Nathan
Reply all
Reply to author
Forward
0 new messages