On Aug 31, 1:29 pm, Esa <[email protected]> wrote: > On Aug 31, 6:23 pm, Jason <[email protected]> wrote: > > > I need to calculate a bounding box that includes the open info window. > > Your link was broken but here is one method for the > calculationhttp://esa.ilmari.googlepages.com/showbounds.htm
Thanks Esa. I see from this how I can add a padding to the viewport. I think my steps would need to be: 1) Determine size of info window 2) Convert other marker's LatLng position to pixels and determine how far it will displaced off the screen. 3) Add that distance as a padding to the viewport using your showBounds () method. Is this what you had in mind? I am not sure how to determine the size of the info window. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
