Hi Jan,<div><br></div><div>this tutorial isn&#39;t bad,<a href="http://mobile.tutsplus.com/tutorials/mobile-web-apps/html5-geolocation/">http://mobile.tutsplus.com/tutorials/mobile-web-apps/html5-geolocation/</a> there are also a couple of hits off of google if you search html5 geolocation and openlayers that are helpful.</div>
<div><br></div><div>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.</div>
<div><br></div><div>I found this tutorial helpful, you&#39;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.</div><div><br></div>
<div>Take a look at the following overview as well. This has code that deals with the API&#39;s of a number of mobile devices as well and will use google&#39;s gears for backup geolocation by IP.</div><div><br></div><div>
happy hunting!</div><div><br><div class="gmail_quote">On Sun, Jun 26, 2011 at 2:21 PM, Tue Topholm <span dir="ltr">&lt;<a href="mailto:tt@sugee.dk">tt@sugee.dk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Jan<br>
<br>
Have a look at this:<br>
<br>
<a href="http://dev.w3.org/geo/api/spec-source.html" target="_blank">http://dev.w3.org/geo/api/spec-source.html</a><br>
<br>
--<br>
<br>
Med venlig hilsen / Kind regards<br>
<br>
Tue Topholm<br>
Sugee<br>
Tlf: <a href="tel:%2B45%2032%2013%2032%2032" value="+4532133232">+45 32 13 32 32</a><br>
W: <a href="http://www.sugee.dk" target="_blank">http://www.sugee.dk</a><br>
<br>
<br>
<br>
2011/6/26 Jan Tappenbeck &lt;<a href="mailto:osm@tappenbeck.net">osm@tappenbeck.net</a>&gt;:<br>
<div><div></div><div class="h5">&gt;<br>
&gt;<br>
&gt;  hi !<br>
&gt;<br>
&gt; did anybody know a way to connect openlayers to the internal gps-device of a<br>
&gt; iphone / android /other smartphone ??<br>
&gt;<br>
&gt; regards Jan :-)<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
&gt;<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
</div></div></blockquote></div><br></div>