Class GoogleGround
A rectangular image overlay on the map.
Inheritance
Inherited Members
Namespace:GoogleMaps.Overlays
Assembly:GoogleMaps.dll
Syntax
public class GoogleGround : GoogleOverlay, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IExtenderControl, IPostBackEventHandler
Properties
Bounds
Gets or sets the bounds of this overlay.
Declaration
[PersistenceMode(PersistenceMode.InnerProperty)]
public Bounds Bounds { get; set; }
Property Value
Type | Description |
---|---|
Bounds | The bounds. |
OnClientClick
Gets or sets the client click handler.
Declaration
public string OnClientClick { get; set; }
Property Value
Type | Description |
---|---|
System.String | The client click handler. |
Url
Gets or sets the URL of the image to show on this overlay.
Declaration
public string Url { get; set; }
Property Value
Type | Description |
---|---|
System.String | The URL. |
Methods
GetScriptDescriptors(Control)
When overridden in a derived class, registers the System.Web.UI.ScriptDescriptor objects for the control.
Declaration
protected override IEnumerable<ScriptDescriptor> GetScriptDescriptors(Control targetControl)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.Control | targetControl | The server control to which the extender is associated. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Web.UI.ScriptDescriptor> | An enumeration of System.Web.UI.ScriptDescriptor objects. |
Overrides
GetScriptReferences()
When overridden in a derived class, registers the script libraries for the control.
Declaration
protected override IEnumerable<ScriptReference> GetScriptReferences()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Web.UI.ScriptReference> | An object that implements the System.Collections.IEnumerable interface and that contains ECMAScript (JavaScript) files that have been registered as embedded resources. |
Overrides
OnClick(MouseEventArgs)
Raises the Click event.
Declaration
protected virtual void OnClick(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
MouseEventArgs | e | The MouseEventArgs instance containing the event data. |
RaisePostBackEvent(String)
When implemented by a class, enables a server control to process an event raised when a form is posted to the server.
Declaration
public override void RaisePostBackEvent(string eventArgument)
Parameters
Type | Name | Description |
---|---|---|
System.String | eventArgument | A System.String that represents an optional event argument to be passed to the event handler. |
Overrides
Events
Click
This event is fired when the DOM click event is fired on the GroundOverlay.
Declaration
public event EventHandler<MouseEventArgs> Click
Event Type
Type | Description |
---|---|
System.EventHandler<MouseEventArgs> |