[Google Maps API v3] Re: Show the map diferent in Iphone, android or web browser

2010-03-03 Thread DevAPI
> Pete > > On Mar 3, 10:08 am, DevAPI wrote: > > > I have seen that with this function I can know if the browser is an > > Iphone, an Android or an website. > > But how can I use this? > > > I must modify this line: ?? > > > ¿Any solution? > > &g

[Google Maps API v3] Show the map diferent in Iphone, android or web browser

2010-03-02 Thread DevAPI
I have seen that with this function I can know if the browser is an Iphone, an Android or an website. But how can I use this? I must modify this line: ?? ¿Any solution? Thanks ;) function detectBrowser() { var useragent = navigator.userAgent; var mapdiv = document.getElementById("map_canva