From c05efa8d7ae464235cf83d7c0956e42dc6974103 Mon Sep 17 00:00:00 2001 From: julieng Date: Sat, 2 Oct 2021 17:20:14 +0200 Subject: move *.html to *.md --- files/fr/web/api/geolocationposition/index.md | 60 +++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 files/fr/web/api/geolocationposition/index.md (limited to 'files/fr/web/api/geolocationposition/index.md') diff --git a/files/fr/web/api/geolocationposition/index.md b/files/fr/web/api/geolocationposition/index.md new file mode 100644 index 0000000000..d52abf198c --- /dev/null +++ b/files/fr/web/api/geolocationposition/index.md @@ -0,0 +1,60 @@ +--- +title: GeolocationPosition +slug: Web/API/GeolocationPosition +tags: + - API + - Geolocation API + - GeolocationPosition + - Interface + - Secure context + - TopicStub +translation_of: Web/API/GeolocationPosition +--- +
{{securecontext_header}}{{APIRef("Geolocation API")}}
+ +

L'interface GeolocationPosition représente la position de l'appareil concerné à un instant donné. La position, représentée par un objet {{domxref("GeolocationCoordinates")}}, comprend la position 2D de l'appareil, sur un sphéroïde représentant la Terre, mais aussi son altitude et sa vitesse.

+ +

Propriétés

+ +

L'interface GeolocationPosition n'hérite d'aucune propriété.

+ +
+
{{domxref("GeolocationPosition.coords")}} {{readonlyInline}} {{securecontext_inline}}
+
Renvoie un objet {{domxref("GeolocationCoordinates")}} définissant l'emplacement actuel.
+
{{domxref("GeolocationPosition.timestamp")}} {{readonlyInline}} {{securecontext_inline}}
+
Renvoie un {{domxref("DOMTimeStamp")}} représentant l'heure à laquelle l'emplacement a été récupéré.
+
+ +

Méthodes

+ +

L'interface GeolocationPosition n'implémente ni n'hérite d'aucune méthode.

+ +

Spécifications

+ + + + + + + + + + + + + + + + +
SpécificationStatutCommentaire
{{SpecName('Geolocation', '#position_interface', 'GeolocationPosition')}}{{Spec2('Geolocation')}}Spécification initale.
+ +

Compatibilité des navigateurs

+ +

{{Compat("api.GeolocationPosition")}}

+ +

Voir aussi

+ + -- cgit v1.2.3-54-g00ecf