Hi,

        Thank you sir..

with sincerely,
sravan

On Fri, Mar 27, 2009 at 9:32 PM, [email protected]
<[email protected]>wrote:

>
> On Mar 27, 8:24 am, sravan kumar gudivada <[email protected]>
> wrote:
> > Hi,
> >
> >         I think now its giving correct distance, before i
> thought...polyLine
> > is considering between before point and new draw point....but here it is
> > considering from the first marker to last marker....Am i right?? Now the
> > readings are seems like correct.
> >
> > I have doubt, is distance related to zoom level??
>
> It shouldn't be.
>
> >
> > Thanks in advance,
> >
> > with sincerely,
> > sravan
> >
> > On Fri, Mar 27, 2009 at 8:29 PM, Mike Williams <
> [email protected]>wrote:
> >
> >
> >
> >
> >
> > > poly.getLength() is the length of the whole polyline. You don't need to
> > > add it to the length of the previous polyline.
> >
> > > Try changing:
> > >   distance =distance+(poly.getLength()/1000);
> > > to
> > >  distance =poly.getLength()/1000;
> >
> > > --
> > >http://econym.org.uk/gmap
> > > The Blackpool Community Church Javascript Team- Hide quoted text -
> >
> > - Show quoted text -
> >
>

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