On May 15, 9:45 am, hrose1234 <[email protected]> wrote:
> > Define "block"?  If is is a street intersection, you are out of luck.
> > If it is a square of a predetermined size, then you don't need an API,
> > you need math.
>
> I never had to read a map with lat lng points before, maybe in high
> school.  So, say I want to
> go 0.1 miles (one block) NW in a straight line from where my address
> marker is,  what is the offset
> I have to reduce or add to lat and lng marker points?

http://www.movable-type.co.uk/scripts/latlong.html
see the section titled:
Destination point given distance and bearing from start point



>
> Is there a conversion cart or somewhere you can point me too, in
> order, to get my answer?  Seems
> like pretty basic stuff, once I know the offset.
>
> Thanks,
> -Rose
>
> On May 15, 1:45 am, "[email protected]" <[email protected]>
> wrote:
>
>
>
> > On May 14, 8:23 pm, hrose1234 <[email protected]> wrote:
>
> > > Hi,
>
> > > I'm trying to make a perfect square around a marker, say a block
> > > wide.
>
> > > I first do this:
>
> > >      marker.msg=address;
> > >      map.addOverlay(marker);
>
> > > Now, I thought if I could get the lat lng of the marker, I would know
> > > the center of my square.
>
> > > Then, I would need an api that I could pass the marker's lat lng and
> > > it would return a lat and lng say, North West one block.  
>
> > Define "block"?  If is is a street intersection, you are out of luck.
> > If it is a square of a predetermined size, then you don't need an API,
> > you need math.
>
> > > If there is
> > > such an api out there, I could use this api to get my four points I
> > > need into GPolygon to create the square around the mark, that is say,
> > > a block wide.
>
> > > Would this be the best way to make a perfect square around a mark that
> > > is always one block wide?
>
> > > Code examples would help me here. :-)
>
> > > Thanks,
> > > -Rose- 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