My favorites | Sign in
Project Logo
             
New issue | Search
for
| Advanced search | Search tips
Issue 629: getBounds() returns wrong coordinates after panning on iPhone safari
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Oct 2008
Type-Defect
ApiType-Javascript


Sign in to add a comment
 
Reported by heikki.hannikainen, Aug 29, 2008
After panning the map a bit on an iPhone, getBounds() returns coordinates
which are pretty much something else than what the map is showing. Right
after the map has loaded they are correct.

var bounds = gmap.getBounds();
var bound_sw = bounds.getSouthWest();
var bound_ne = bounds.getNorthEast();

What version of the API are you using?
2.121 

What operating system and browser are you using?
Mozilla/5.0 (iPod; U; CPU iPhone OS 2_0_1 like Mac OS X; en-us)
AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5B108
Safari/525.20

Comment 1 by pamela.fox, Aug 29, 2008
Hi Heiki-- As with the other report, please link to a map that exhibits the behavior.
There are quite a few bugs reported in this issue tracker, and it's much easier for
us to report them when test pages are provided. Thanks!
Comment 2 by heikki.hannikainen, Oct 08, 2008
I finally got myself a device for testing. It turns out this bug doesn't exist, and
the ticket can be closed. Sorry for the trouble. Instead, I found another one - the
'moveend' GEvent only fired once on the iphone (so my bounds checking code wasn't
being executed). I'll create a simple test page and file another bug for it.
Comment 3 by pamela.fox, Oct 08, 2008
(No comment was entered for this change.)
Status: Invalid
Sign in to add a comment

Hosted by Google Code