ok, but if 
<pre>
geolocation.getPosition()
</pre>
is undefined we'll have a red point stuck at (0,0)? Or I am missing something?