(Google Maps AP)I'm stumped...
- Started
- Last post
- 10 Responses
- ideaist
http://thecreemoreecho.com/googl…
Trying to get a Google Maps Marker & Infowindow centered on load and on resize.
I have it solved except the centre point doesn't include the height of the Infowindow.
It seems like this would be a simple solution of offsetting the center point but I've scoured the "net" for a solution and have come up with 2 handfuls of nothing...
Thanks in advance designers, developers and Google Maps API folks for relevant and irrelevant responses...
- ideaist0
Damn,
Should be (Google Maps AP)I'm stumped in the PUBLIC VOICE; forgot to do a character count due to Google Maps API frustration...
Please spare my brief ignorance gang!
: )
- utopian0
works fine on Safari
- i_monk0
Works fine in Firefox 15.0.1.0.0.3.9677617.1ß
- utopian0
Even works fine on my iPhone.
- i_monk0
Isn't working in Dolphin HD on Android; the scale is off and the white header/footer cover 80% of the screen and prevent scrolling.
- Crack_Junkie0
Why are you doing the map.panTo?
- When the window resizes, but again it pans to marker centre not taking the info window into account...ideaist
- Crack_Junkie0
ideaist,
You can cheat it by centering the map at a different LatLng location that's more north, so the marker and pin are more south - this way the infoWindow isn't hidden.