Hi Jan, this tutorial isn't bad, http://mobile.tutsplus.com/tutorials/mobile-web-apps/html5-geolocation/ there are also a couple of hits off of google if you search html5 geolocation and openlayers that are helpful.
Essentially, what you do with the results of the navigator.geolocation.getCurrentPosition is up to you, you can either pass this to a marker, or vector layer, suck it into a dbase and spit it back to OL in your choice of formats. I found this tutorial helpful, you'll have to adapt it to OL since it uses Google Maps, but functionally this will get your head straight. This uses a YQL for backup geolocation. Take a look at the following overview as well. This has code that deals with the API's of a number of mobile devices as well and will use google's gears for backup geolocation by IP. happy hunting! On Sun, Jun 26, 2011 at 2:21 PM, Tue Topholm <[email protected]> wrote: > Hi Jan > > Have a look at this: > > http://dev.w3.org/geo/api/spec-source.html > > -- > > Med venlig hilsen / Kind regards > > Tue Topholm > Sugee > Tlf: +45 32 13 32 32 > W: http://www.sugee.dk > > > > 2011/6/26 Jan Tappenbeck <[email protected]>: > > > > > > hi ! > > > > did anybody know a way to connect openlayers to the internal gps-device > of a > > iphone / android /other smartphone ?? > > > > regards Jan :-) > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.osgeo.org/mailman/listinfo/openlayers-users > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-users >
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
