My favorites | Sign in
Project Logo
             
New issue | Search
for
| Advanced search | Search tips
Issue 630: Map controls (GSmallMapControl, GHierarchicalMapTypeControl) cannot be clicked on an iPhone
2 people starred this issue and may be notified of changes. Back to list
Status:  Duplicate
Owner:  ----
Closed:  Sep 2008
Type-Defect
ApiType-Javascript


Sign in to add a comment
 
Reported by heikki.hannikainen, Aug 29, 2008
The standard map controls cannot be clicked on iPhone safari. They are
shown on top of the map, but if you click them, nothing happens.

gmap.addControl(new GHierarchicalMapTypeControl());
gmap.addControl(new GSmallMapControl());

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 heikki.hannikainen, Aug 29, 2008
By the way - if the controls can be fixed, it would be nice if you could provide
bigger / simpler versions of them for mobile devices with a high-resolution screen
and no stylus. Something like GSmallMapControlForLargeFingers().
Comment 2 by heikki.hannikainen, Aug 29, 2008
There's some documentation on how events work on the iPhone at developer.apple.com:

http://developer.apple.com/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/chapter_8_section_1.html#//apple_ref/doc/uid/TP40006511-SW1

Comment 3 by pamela.fox, Aug 29, 2008
Hi Heiki- Please upload an example of a page with the controls that aren't clickable
for you. Last time I checked on an iphone, the controls were clickable but very hard
to click. Not sure if that's changed since then.

If you're creating a map specifically for iPhone users, you could extend GControl to
make your own easy-to-click controls, or overlay divs on top. Example:
http://www.grapier.com/maps.html
Comment 4 by katzlbt, Sep 25, 2008
Appears to me as duplicate of  issue 572 . On my iPhone simulator nothing is clickable
inside the map (e.g. at maps.google.com) everything outside of the map works fine and
can even open info windows.
Comment 5 by pamela.fox, Sep 25, 2008
(No comment was entered for this change.)
Status: Duplicate
Comment 6 by heikki.hannikainen, Oct 07, 2008
Here's an example page. I've obtained a testing device for myself today, so that I
can further debug these. In this example, on iphone/touch Safari, none of the map
controls (zoom, pan, map/satellite/terrain buttons) are clickable.

<a
href="http://he.fi/misc/gmaps-api-bug-630.html">http://he.fi/misc/gmaps-api-bug-630.html</a>
Sign in to add a comment

Hosted by Google Code