[OpenLayers-Users] Automatically detecting and deploying mobile OL
Mike Leahy
mgleahy at alumni.uwaterloo.ca
Thu Apr 28 13:16:36 EDT 2011
Hello Puneet,
I can't speak to the best version of OpenLayers to use for Mobile. But I have
made use of the mobile browser detection algorigthm available as open source
in multiple languages at http://detectmobilebrowser.com.
You can use that either server-side, or client-side. The approach I have
taken is to detect it server-side in PHP and direct users to a different page
that is dedicated to presenting mobile interface. I haven't yet brought in
OpenLayers mobile into that context, but I think when I do I'll use the dev
version (or maybe the next release if it is out in the relatively near
future).
Best regards,
Mike
On April 28, 2011 12:45:57 Mr. Puneet Kishor wrote:
> I am looking for an example of automatically detecting a mobile browser and
> deploying the correct OL build and functionality. Right now I am using OL
> 2.10. I am assuming that I would probably have to move up to a dev version
> of OL, correct?
>
> --
> Puneet Kishor http://punkish.org
> Researcher http://carbonmodel.org
> Science Fellow
> http://creativecommons.org_______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110428/139ae3df/attachment-0001.html
More information about the Users
mailing list