Google Maps Isochrones V1 Client - Class Isochrone (0.1.1)

Reference documentation and code samples for the Google Maps Isochrones V1 Client class Isochrone.

The result of an isochrone calculation, representing an area of reachability from an origin point within a specified travel time.

Generated from protobuf message google.maps.isochrones.v1.Isochrone

Namespace

Google \ Maps \ Isochrones \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ geo_json Google\Protobuf\Struct

Output only. The isochrone geometry in GeoJSON format, using the RFC 7946 format: https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.6.

getGeoJson

Output only. The isochrone geometry in GeoJSON format, using the RFC 7946 format: https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.6.

Returns
Type Description
Google\Protobuf\Struct|null

hasGeoJson

setGeoJson

Output only. The isochrone geometry in GeoJSON format, using the RFC 7946 format: https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.6.

Parameter
Name Description
var Google\Protobuf\Struct
Returns
Type Description
$this

getGeometry

Returns
Type Description
string