Package org.wicketstuff.gmap.api
Class GIcon
java.lang.Object
org.wicketstuff.gmap.api.GIcon
- All Implemented Interfaces:
Serializable
,Cloneable
,GValue
http://code.google.com/apis/maps/documentation/javascript/reference.html# MarkerImage
- Author:
- Christian Hennig ([email protected])
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
getId()
getSize()
getUrl()
The position at which to anchor an image in correspondance to the location of the marker on the map.The position of the image within a sprite, if any.setScaledSize
(GSize scaledSize) The size of the entire image after scaling, if any.The display size of the sprite or image.
-
Constructor Details
-
GIcon
public GIcon() -
GIcon
-
GIcon
public GIcon(char character) -
GIcon
-
GIcon
-
-
Method Details
-
clone
-
getId
-
getJSconstructor
- Specified by:
getJSconstructor
in interfaceGValue
- Returns:
- A JavaScript constructor that represents this element.
- See Also:
-
setSchema
-
getSize
-
setSize
The display size of the sprite or image. When using sprites, you must specify the sprite size. If the size is not provided, it will be set when the image loads. -
getOrigin
-
setOrigin
The position of the image within a sprite, if any. By default, the origin is located at the top left corner of the image (0, 0). -
getScaledSize
-
setScaledSize
The size of the entire image after scaling, if any. Use this property to stretch/shrink an image or a sprite. -
getAnchor
-
setAnchor
The position at which to anchor an image in correspondance to the location of the marker on the map. By default, the anchor is located along the center point of the bottom of the image. -
getUrl
-