cadetill's blog | Copyright © Xavier Martínez (cadetill)

# Class TGMTransitLayer

Description
Hierarchy
Fields
Methods
Properties

## Unit

GMLib.Map

## Declaration

`type TGMTransitLayer = class(TGMPersistentStr)`

## Description

Class for `google.maps.TransitLayer` class.

More information at google.maps.TransitLayer class

## Hierarchy

- TObject
- TPersistent
- TInterfacedPersistent
- TGMInterfacedOwnedPersistent
- TGMPersistent
- TGMPersistentStr
- TGMTransitLayer

## Overview

### Methods

| `constructor Create(AOwner: TPersistent); override;`
| `function PropToString: string; override;`
| `procedure Assign(Source: TPersistent); override;`

### Properties

| `property APIUrl;`
| `property Show: Boolean read FShow write SetShow;`

## Description

### Methods

| `constructor Create(AOwner: TPersistent); override;`
Class constructor. ###### Parameters AOwner Owner of the object.

| `function PropToString: string; override;`
Converts all class properties values to a string separated by comma used to send values to a JavaScript function. ###### Returns string with all properties.

| `procedure Assign(Source: TPersistent); override;`
Call `Assign` to copy the properties or other attributes form an object to another. The standard form of a call to `Assign` method is `Destination.Assign(Source);` which tells the `Destination` object to copy the contents of the `Source` object to itself. ###### Parameters Source Object to copy the content.

### Properties

| `property APIUrl;`
URL to Google Maps API page.

| `property Show: Boolean read FShow write SetShow;`
Show or hide the layer. If set to `true`, shown the layer, else hidden it.

Generated by PasDoc 0.15.0.