If the variable-width div is always going to be visible, why not adjust the 
width of your map to be the 200px - Zpx?

Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

For more information or a project quote:
[email protected]

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

On Oct 28, 2011, at 12:21 PM, pinksy wrote:

> Hi
> 
> I'm really sorry if this has been answered - I can't find a clear answer, and 
> am struggling to figure it out from the documentation...
> 
> I have a map with known dimensions, and one side of the map will be obscured 
> by a DIV which will have a variable width, leaving a visible portion of the 
> map on the left. What I'm trying to figure out is the LatLng at the center of 
> the visible portion.
> 
> I can easily work out the pixel co-ordinates of the center point of the 
> visible area (as shown below), but I can't get my head around how to 
> translate that into a LatLng.
> 
> Can anyone give me some pointers?
> 
> Thanks in advance.
> 
> 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google Maps JavaScript API v3" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/google-maps-js-api-v3/-/jzlxFB2Vjf0J.
> 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.

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