And, what map api do I need to get the lat and lng of the street address? 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
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
