blob: 44e824fff4841b472299a637a53483a6443189c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
---
title: Coordinates.latitude
slug: Web/API/GeolocationCoordinates/latitude
translation_of: Web/API/GeolocationCoordinates/latitude
---
<div>{{APIRef("Geolocation API")}}</div>
<p><code><strong>Coordinates.latitude</strong></code> es una propiedad de sólo lectura que devuelve un <code>double</code> representando la latitud de la posición en grados decimales.</p>
<h2 id="Sintaxis">Sintaxis</h2>
<pre class="brush: js"><em>lat</em> = <code><em>coordinates</em><code>.latitude</code></code>
</pre>
<h2 id="Especificaciones">Especificaciones</h2>
<table class="standard-table">
<thead>
<tr>
<th scope="col">Especificación</th>
<th scope="col">Estatus</th>
<th scope="col">Comentario</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('Geolocation', '#lat', 'Coordinates.latitude')}}</td>
<td>{{Spec2('Geolocation')}}</td>
<td>Especificación Inicial.</td>
</tr>
</tbody>
</table>
<h2 id="Compatibilidad_de_navegadores">Compatibilidad de navegadores</h2>
{{Compat("api.GeolocationCoordinates.latitude")}}
<h2 id="Mirar_también">Mirar también</h2>
<ul>
<li><a href="/es/docs/WebAPI/Using_geolocation">Uso de geolocalización</a></li>
<li>La interfaz {{domxref("Coordinates")}} a la que pertenece.</li>
</ul>
|