Creates a JavaScript command as a String that, when executed on the client, removes the given overlay from 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 RemoveOverlay(
	OverlayBase overlay
)

Parameters

overlay
Type: Reimers.Google.Map..::..OverlayBase
The OverlayBase to remove.

Return Value

A JavaScript command as a String.

Remarks

This method creates a JavaScript command that must be sent to a method that executes it. Merely executing the method does not produce any results.

See Also