|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.mapitz.gwt.googleMaps.client.GIcon
public class GIcon
An icon specifies the images used to display a GMarker on the map. For browser compatibility reasons, specifying an icon is actually quite complex. Note that you can use the default Maps icon G_DEFAULT_ICON if you don't want to specify your own.
| Method Summary | |
|---|---|
static GIcon |
createGIcon(GIcon other)
|
static GIcon |
createGIcon(GIcon other,
java.lang.String url)
|
static GIcon |
createGIcon(java.lang.String imageUrl)
|
GIcon |
getDefaultIcon()
G_DEFAULT_ICON |
GPoint |
getIconAnchor()
The pixel coordinate relative to the top left corner of the icon image at which this icon is anchored to the map. |
GSize |
getIconSize()
The pixel size of the foreground image of the icon. |
java.lang.String |
getImage()
The foreground image URL of the icon. |
int[] |
getImageMap()
An array of integers representing the x/y coordinates of the image map we should use to specify the clickable part of the icon image in browsers other than Internet Explorer. |
GPoint |
getInfoWindowAnchor()
infoWindowAnchor GPoint The pixel coordinate relative to the top left corner of the icon image at which the info window is anchored to this icon. |
java.lang.String |
getMozPrintImage()
The URL of the foreground icon image used for printed maps in Firefox/Mozilla. |
java.lang.String |
getPrintImage()
The URL of the foreground icon image used for printed maps. |
java.lang.String |
getPrintShadow()
The URL of the shadow image used for printed maps. |
java.lang.String |
getShadow()
The shadow image URL of the icon. |
GSize |
getShadowSize()
The pixel size of the shadow image. |
java.lang.String |
getTransparent()
The URL of a virtually transparent version of the foreground icon image used to capture click events in Internet Explorer. |
void |
setIconAnchor(GPoint gpoint)
The pixel coordinate relative to the top left corner of the icon image at which this icon is anchored to the map. |
void |
setIconSize(GSize size)
The pixel size of the foreground image of the icon. |
void |
setImage(java.lang.String url)
The foreground image URL of the icon. |
void |
setImageMap(int[] val)
An array of integers representing the x/y coordinates of the image map we should use to specify the clickable part of the icon image in browsers other than Internet Explorer. |
void |
setInfoWindowAnchor(GPoint gpoint)
infoWindowAnchor GPoint The pixel coordinate relative to the top left corner of the icon image at which the info window is anchored to this icon. |
void |
setMozPrintImage(java.lang.String url)
The URL of the foreground icon image used for printed maps in Firefox/Mozilla. |
void |
setPrintImage(java.lang.String url)
The URL of the foreground icon image used for printed maps. |
void |
setPrintShadow(java.lang.String url)
The URL of the shadow image used for printed maps. |
void |
setShadow(java.lang.String url)
The shadow image URL of the icon. |
void |
setShadowSize(GSize size)
The pixel size of the shadow image. |
void |
setTransparent(java.lang.String url)
The URL of a virtually transparent version of the foreground icon image used to capture click events in Internet Explorer. |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static GIcon createGIcon(GIcon other,
java.lang.String url)
public static GIcon createGIcon(GIcon other)
public static GIcon createGIcon(java.lang.String imageUrl)
public GIcon getDefaultIcon()
public java.lang.String getImage()
public void setImage(java.lang.String url)
public java.lang.String getShadow()
public void setShadow(java.lang.String url)
public GSize getIconSize()
public void setIconSize(GSize size)
public GSize getShadowSize()
public void setShadowSize(GSize size)
public void setIconAnchor(GPoint gpoint)
public GPoint getIconAnchor()
public void setInfoWindowAnchor(GPoint gpoint)
public GPoint getInfoWindowAnchor()
public java.lang.String getPrintImage()
public void setPrintImage(java.lang.String url)
public java.lang.String getMozPrintImage()
public void setMozPrintImage(java.lang.String url)
public java.lang.String getPrintShadow()
public void setPrintShadow(java.lang.String url)
public java.lang.String getTransparent()
public void setTransparent(java.lang.String url)
public int[] getImageMap()
public void setImageMap(int[] val)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||