On Apr 25, 3:03 am, Mark Thompson <[email protected]> wrote:
> Awesome, thanks!   Figure I should keep yours since you're the one
> whose undertaken updating it in case you make further updates.
>  Works great now!

If you mean you are pointing to the version on my site, please don't
use my bandwidth for your page.  Download a copy and put it on your
domain.

  -- Larry

>
> On Apr 25, 1:59 am, "[email protected]" <[email protected]>
> wrote:
>
>
>
>
>
>
>
> > On Apr 24, 11:04 pm, Mark Thompson <[email protected]> wrote:
>
> > > Thanks, the new version of the library stops it from erroring out,
> > > but the line:
>
> > > var
> > > distancetoedge=Math.round(bdccGeoDistanceToPolyMtrs(geoXml.docs[0].gpolygon
> > >  s[i],
> > > point)*3.28);  
>
> > > returns NaN when I display what's in distancetoedge.
>
> > As I said (and as it says in that version of the library), I modified
> > it:
> > // modified bdccGeoDistanceToPolyMtrs to return additional information
>
> > It now returns an object.  You either need to change it back, or use
> > the object to get the information you want.
>
> > The object it returns has these properties:
> >                         info.p1=p1;
> >                         info.p2=p2;
> >                         info.index=i+1;
> >                         info.distance=dp;
> > where .distance is the original value.
>
> > > I'm wondering if geoXml.docs[0].gpolygons[i] just isn't the
> > > appropriate way to pass a polygon to the function.
>
> > I'm pretty sure that is a polygon...
>
> >   -- Larry

-- 
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 [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-js-api-v3?hl=en.

Reply via email to