Coordinates.altitude

Secure context: This feature is available only in secure contexts (en-US) (HTTPS), in some or all supporting browsers.

A propriedade Coordinates.altitude somente-leitura é uma representação do tipo double da altitude em metros, relativo ao nível do mar. O valor é nulo se a implementação não pode fornecer este dado.

Sintaxe

alt = coordinates.altitude

Especificações

Specification Status Comment
Geolocation API
The definition of 'Coordinates.altitude' in that specification.
Recomendação Initial definition

Compatibilidade com navegadores

BCD tables only load in the browser

Veja também