Class GIcon

java.lang.Object
org.wicketstuff.gmap.api.GIcon
All Implemented Interfaces:
Serializable, Cloneable, GValue

public class GIcon extends Object implements GValue, Cloneable
http://code.google.com/apis/maps/documentation/javascript/reference.html# MarkerImage
Author:
Christian Hennig ([email protected])
See Also:
  • Constructor Details

    • GIcon

      public GIcon()
    • GIcon

      public GIcon(String image)
    • GIcon

      public GIcon(char character)
    • GIcon

      public GIcon(String image, GSize iconSize, GPoint iconAnchor, GPoint origin, GSize scaledSize)
    • GIcon

      public GIcon(String image, GSize iconSize, GPoint iconAnchor)
  • Method Details

    • clone

      public GIcon clone()
      Overrides:
      clone in class Object
      See Also:
    • getId

      public String getId()
    • getJSconstructor

      public String getJSconstructor()
      Specified by:
      getJSconstructor in interface GValue
      Returns:
      A JavaScript constructor that represents this element.
      See Also:
    • setSchema

      public GIcon setSchema(String schema)
    • getSize

      public GSize getSize()
    • setSize

      public GIcon setSize(GSize size)
      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

      public GPoint getOrigin()
    • setOrigin

      public GIcon setOrigin(GPoint origin)
      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

      public GSize getScaledSize()
    • setScaledSize

      public GIcon setScaledSize(GSize scaledSize)
      The size of the entire image after scaling, if any. Use this property to stretch/shrink an image or a sprite.
    • getAnchor

      public GPoint getAnchor()
    • setAnchor

      public GIcon setAnchor(GPoint anchor)
      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

      public String getUrl()