// The spec states that an implementation SHOULD acquire user permission before // beginning the position acquisition steps. If an implementation follows this // advice, set the following flag to aid debugging. var isUsingPreemptivePermission = false;
var dummyFunction = function() {};
var positionToString = function(pos) { var c = pos.coords; return'[lat: ' + c.latitude + ', lon: ' + c.longitude + ', acc: ' + c.accuracy + ']';
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.