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

Reply via email to