[][src]Module google_maps::elevation

The Elevation API provides elevation data for all locations on the surface of the earth, including depth locations on the ocean floor (which return negative values).

Get Started

Start coding with our client libraries

Client libraries make developing with the Google Maps web service APIs easier by providing simple, native implementations of common tasks, such as authentication, request throttling and automatic retry. The Elevation API is available in the Java Client, Python Client, Go Client and Node.js Client for Google Maps Services

Authentication, quotas, pricing, and policies

Activate the API and get an API key

To use the Elevation API, you must first activate the API in the Google Cloud Platform Console and obtain the proper authentication credentials. You need to provide an API key in each request (or a client ID if you have a Premium Plan).

Click the button below to flow through a process where you will:

  1. Create or select a project
  2. Enable the API
  3. Get an API key

Get Started

Learn more about authentication credentials.

Quotas and pricing

Review the usage and billing page for details on the quotas and pricing set for the Elevation API.

Policies

Use of the Elevation API must be in accordance with the API policies.

Learn more

There’s more you can do with the Elevation API, like requesting elevation data from multiple locations and creating elevation charts. See the Elevation API developer guide for more examples and other details.

The Elevation API developer guide is intended for website and mobile developers who want to use elevation data within maps provided by one of the Google Maps Platform APIs. It provides an introduction to using the API and reference material on the available parameters.

Re-exports

pub use crate::elevation::error::Error as ElevationError;
pub use crate::elevation::request::locations::Locations as ElevationLocations;
pub use crate::elevation::request::Request as ElevationRequest;
pub use crate::elevation::response::point::Point;
pub use crate::elevation::response::Response as ElevationResponse;
pub use crate::elevation::response::status::Status as ElevationStatus;

Modules

error

Elevation API error types and error messages.

request

Look in this module for documentation on building your Elevation API query. In particular, look at the Request struct for examples of the builder pattern. This module contains the tools (enums, structs, methods) for building your Google Maps Platform request.

response

Resources (enums, structs) for processing the Elevation API response from the Google Maps Platform. Look in here for more information about the data returned from Google's server and how to parse it with your program.