There is no problem at all about using the google maps api to embed a  
map on a page so that it can be read on an iphone.

That said, as far as I am aware - on the limited testing I have done -  
using webkit transforms to handle scrolling is faster than the  
javascript methods.

Nick

On Sep 7, 2008, at 10:43 PM, pariswiki wrote:

>
> Hi,
>
> I understand that one cannot embed maps directly within a Mobile
> Safari page, but I can assure you that it is possible to activate
> directly from a link inside a web page the Google Map module of the
> iphone:
>
> <a href="http://maps.google.com/maps?q=cambrils,+spain";>Cambrils</a>
> or
> <a  class="cuiServiceButton" target="_self" href="http://
> maps.google.com/maps?q=54+Bd+de+Grenelle,+Paris,+France+(Amy's
> Home)">54 Bd de Grenelle Paris France</a>
>
> JCG
>
> On 5 sep, 21:48, davidroe <[EMAIL PROTECTED]> wrote:
>> you are better off using Safari and changing the user agent, as  
>> Safari
>> on the PC/Mac more closely resembles Safari on the iPhone/iPod. for
>> example, there are certain CSS statements that work on Safari on all
>> devices but nowhere on Firefox.
>>
>> /dave
>>
>> On Sep 5, 1:47 am, ade <[EMAIL PROTECTED]> wrote:
>>
>>> Nick May wrote:
>>>> Basically, get the map working in desktop safari first (you can  
>>>> set it
>>>> to send an iphone user agent in the Develop menu - not sure if  
>>>> this is
>>>> available by default - or use Firefox with an iphone user agent)  
>>>> - and
>>>> all should be well on the iphone....
>>
>>> that is a great tip :)
>>
>>> firefox switcher is at:https://addons.mozilla.org/en-US/firefox/addon/59
>>
>>> string is:
>>> Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420.1  
>>> (KHTML,
>>> like Gecko) Version/3.0 Mobile/3B48b Safari/419.3
>>
>>> ade
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" 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/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to