Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleMapsPlacesV1TransitLine

import type { GoogleMapsPlacesV1TransitLine } from "https://googleapis.deno.dev/v1/places:v1.ts";

Represents a single transit line.

interface GoogleMapsPlacesV1TransitLine {
backgroundColor?: string;
id?: string;
shortDisplayName?: GoogleTypeLocalizedText;
textColor?: string;
url?: string;
vehicleType?:
| "VEHICLE_TYPE_UNSPECIFIED"
| "RAIL"
| "METRO_RAIL"
| "SUBWAY"
| "TRAM"
| "MONORAIL"
| "HEAVY_RAIL"
| "COMMUTER_TRAIN"
| "HIGH_SPEED_TRAIN"
| "LONG_DISTANCE_TRAIN"
| "BUS"
| "INTERCITY_BUS"
| "TROLLEYBUS"
| "SHARE_TAXI"
| "COACH"
| "FERRY"
| "CABLE_CAR"
| "GONDOLA_LIFT"
| "FUNICULAR"
| "SPECIAL"
| "HORSE_CARRIAGE"
| "AIRPLANE";
}

§Properties

§
backgroundColor?: string
[src]

The background color of the labels for this transit line in #RRGGBB hex format, e.g. #909CE1. This color can also be used for drawing shapes for this transit line.

§

The long name for this transit line (e.g. "Sunnydale local").

§

Icon identifier for this particular line (e.g. subway lines in New York).

§
id?: string
[src]

The id of the transit line that can be used to uniquely identify the line among other transit lines in the same transit station. This identifier is not guaranteed to be stable across different responses.

§
shortDisplayName?: GoogleTypeLocalizedText
[src]

The short name for this transit line (e.g. "S2").

§
textColor?: string
[src]

The text color of labels for this transit line in #RRGGBB hex format, e.g. #909CE1.

§
url?: string
[src]

The URL of a webpage with details about this line.

§

Icon identifier for this particular vehicle type.

§
vehicleType?: "VEHICLE_TYPE_UNSPECIFIED" | "RAIL" | "METRO_RAIL" | "SUBWAY" | "TRAM" | "MONORAIL" | "HEAVY_RAIL" | "COMMUTER_TRAIN" | "HIGH_SPEED_TRAIN" | "LONG_DISTANCE_TRAIN" | "BUS" | "INTERCITY_BUS" | "TROLLEYBUS" | "SHARE_TAXI" | "COACH" | "FERRY" | "CABLE_CAR" | "GONDOLA_LIFT" | "FUNICULAR" | "SPECIAL" | "HORSE_CARRIAGE" | "AIRPLANE"
[src]

The type of vehicle using this line.