MarkerImage Class

GoogleMap Control Artem.Google

GoogleMap Control MarkerImage Class
NamespacesArtem.Google.UIMarkerImage
GoogleMap Control v6.0
Defines an image to be used as the icon or shadow for a Marker. 'origin' and 'size' are used to select a segment of a sprite image and 'anchor' overrides the position of the anchor point from its default bottom middle position. The anchor of an image is the pixel to which the system refers in tracking the image's position. By default, the anchor is set to the bottom middle of the image (coordinates width/2, height). So when a marker is placed at a given LatLng, the pixel defined as the anchor is positioned at the specified LatLng. To scale the image, whether sprited or not, set the value of scaledSize to the size of the whole image and set size, origin and anchor in scaled values. The MarkerImage cannot be changed once constructed.
Declaration Syntax
C# Visual Basic
public class MarkerImage : IScriptDataConverter
Public Class MarkerImage _
	Implements IScriptDataConverter
Members
All Members Constructors Methods Properties



Icon Member Description
MarkerImage()()()()
Initializes a new instance of the MarkerImage class.

Anchor
Gets or sets the anchor.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FromScriptData(Object)
Retrieves an instance from script data.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
ImplicitWideningImplicitImplicitImplicit(String to MarkerImage)
Performs an implicit conversion from String to MarkerImage.

ImplicitWideningImplicitImplicitImplicit(MarkerImage to String)
Performs an implicit conversion from MarkerImage to String.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Origin
Gets or sets the origin.

ScaledSize
Gets or sets the size of the scaled.

Size
Gets or sets the size.

ToScriptData()()()()
Returns the instance as a script data.

ToString()()()()
Returns a String that represents this instance.
(Overrides Object.ToString()()()().)
Url
The URL of the marker image.

Inheritance Hierarchy
Object
MarkerImage

Assembly: Artem.Google (Module: Artem.Google) Version: 6.0.0.0 (6.0.11322.1118)