Hai

I think in Mike's tutorial the path is calculated. But in my project
the path is fetched from the databse

regards
Rahul R

On Jun 23, 3:22 pm, rahul <[email protected]> wrote:
> hai
>
> Thank You. U r right its a gps tracking. Inorder to show the travelled
> path correctly for a particular duration I need to take all those
> points.
> The lat and long points are fetching from the database. So i think if
> I try to reduce the decimal points, its again load to the server and
> also if i reduce the number of points the polyline path will not be
> correct when disaply on the Gmap.
>
> regards
> Rahul R
>
> reduceOn Jun 23, 2:09 pm, Rossko <[email protected]> wrote:
>
>
>
> > > Pls help me to animate a marker through the polyline in the map.
>
> > You've asked before, as well as Mike's tutorial you've been pointed at
> > this discussion -
> >    http://groups.google.com/group/Google-Maps-API/browse_frm/thread/98dd...
> > which in turn leads to this example -
> >    http://www.geocodezip.com/track_pefa9e.asp
>
> > > Please see the below 
> > > url.http://ntsdev.initexperts.com/nts2/content/testgpoly.html
>
> > Before you get into animation, though, you need to fix the 'slow
> > script' errors.
> > This is because you have 13,000 points in your one polyline.
>
> > There is a small thing you can do towards that:
> > In your XML itself, the format is -
> >     <point lat="44.804271698" lng="20.5250301361"/>
> > which is accurate to about the thickness of a hair.
> > There's no point in using more than six places of decimals.
> >     <point lat="44.804271" lng="20.525030"/>
> > That'll make the XML file smaller.
>
> > Most of all though, you need to ruthlessly reduce the number of your
> > points - I guess it's a GPS tracklog.  Almost all the slow action is
> > the API building a polyline with 13,000 points.
> > It's  a question that comes up often, sample discussions -
>
> >http://groups.google.com/group/Google-Maps-API/browse_thread/thread/b...
>
> >http://groups.google.com/group/Google-Maps-API/browse_thread/thread/d...
> > and so on
>
> > cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to