[Google Maps API v3] To implement animation effect in map

179 views
Skip to first unread message

priya....@gmail.com

unread,
May 13, 2010, 6:43:33 AM5/13/10
to Google Maps JavaScript API v3
Hi,
iam using version 3 of g map.

I am having a set of lat and long values.I want to draw the
route(direction) on the map with the icon of a truck.So it should feel
like moving the truck from start point to end point by drawing the
ploylines
through the route.

Can anybody pls help.Is it possible to implement this with the help of
animation. I saw an example like this.But i want in v3 and its not
completely clear to me..pls help me

Thanks,
Priya

--
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.

osama ashraf

unread,
May 17, 2010, 8:52:26 AM5/17/10
to google-map...@googlegroups.com
may b google maps flash API will b help full for ur application. try this.

DiogoAndre

unread,
Oct 18, 2010, 8:18:38 AM10/18/10
to priya....@gmail.com, Google Maps JavaScript API v3
I am also looking for something like this, whitout using flash, of
course. Any ideas?

cheers

Diogo

On May 13, 8:43 am, "priya.ren...@gmail.com" <priya.ren...@gmail.com>
wrote:


> Hi,
> iam using version 3  of g map.
>
> I am having a set of lat and long values.I want to draw the
> route(direction) on the map with the icon of a truck.So it should feel
> like moving the truck from start point to end point by drawing the
> ploylines
> through the route.
>

> Can anybody pls help.Is it possible to implement this with the help ofanimation. I saw an example like this.But i want in v3 and its not

geoco...@gmail.com

unread,
Oct 18, 2010, 9:06:51 AM10/18/10
to Google Maps JavaScript API v3
On Oct 18, 5:18 am, DiogoAndre <diogo.assump...@gmail.com> wrote:
> I am also looking for something like this, whitout using flash, of
> course. Any ideas?

Are you looking for something like this:
http://www.geocodezip.com/v3_animate_marker_directions.html

-- Larry

Diogo Andre Assumpcao

unread,
Oct 19, 2010, 9:48:29 AM10/19/10
to google-map...@googlegroups.com
Yes, that is very much like what I need want to do.

The only details are:  There will not be a predefined route, polylines should be drawn based on latlgn points received via ajax. I would need to display several routes at the same time, basically tracking several objects at once.

I haven't looked at your code yet, so not sure if its possible to simply adapt it to my use...

Think its possible?

thaks

Diogo

geoco...@gmail.com

unread,
Oct 19, 2010, 10:16:50 AM10/19/10
to Google Maps JavaScript API v3
On Oct 19, 6:48 am, Diogo Andre Assumpcao <diogo.assump...@gmail.com>
wrote:
> Yes, that is very much like what I need want to do.
>
> The only details are:  There will not be a predefined route, polylines
> should be drawn based on latlgn points received via ajax. I would need to
> display several routes at the same time, basically tracking several objects
> at once.
>
> I haven't looked at your code yet, so not sure if its possible to simply
> adapt it to my use...
>
> Think its possible?

It is certainly possible to adapt it to follow an arbitrary polyline,
there is an example of that in a thread on the v2 group.

Multiple markers at a time should be possible.as well.

-- Larry

>
> thaks
>
> Diogo
>
> 2010/10/18 geocode...@gmail.com <geocode...@gmail.com>
> > google-maps-js-a...@googlegroups.com<google-maps-js-api-v3%2B­unsub...@googlegroups.com>
> > .
> > > > For more options, visit this group athttp://
> > 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%2B­unsub...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-js-api-v3?hl=en.- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages