Creates a JavaScript command as a String that, when executed on the client, adds the given layer to the map.

Namespace: Reimers.Google.Map
Assembly: Reimers.Google.Map (in Reimers.Google.Map.dll) Version: 5.3.95.699 (5.3.95.699)

Syntax

C#
public string AddLayer(
	MapLayerBase layer
)

Parameters

layer
Type: Reimers.Google.Map.Layers..::..MapLayerBase
The layer to add.

Return Value

A JavaScript command as a String.

See Also