org.wicketstuff.gmap.api
Class GMarkerOptions

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

public class GMarkerOptions
extends Object
implements GValue, Cloneable

http://code.google.com/apis/maps/documentation/javascript/reference.html# MarkerOptions

Author:
Christian Hennig (christian.hennig@freiheit.com), Joachim F. Rohde
See Also:
Serialized Form

Constructor Summary
GMarkerOptions(GMap gmap, GLatLng latLng)
           
GMarkerOptions(GMap gmap, GLatLng latLng, String title)
          Creates a GMarkerOptions instance with the specified parameters.
GMarkerOptions(GMap gmap, GLatLng latLng, String title, boolean escapeTitle)
           
GMarkerOptions(GMap gmap, GLatLng latLng, String title, GIcon icon)
           
GMarkerOptions(GMap gmap, GLatLng latLng, String title, GIcon icon, boolean escapeTitle)
           
GMarkerOptions(GMap gmap, GLatLng latLng, String title, GIcon icon, GIcon shadow)
          Deprecated. Marker shadows were removed in version 3.14 of the Google Maps JavaScript API. Any shadows specified programmatically will be ignored.
 
Method Summary
 GMarkerOptions autoPan(boolean autoPan)
          Deprecated. This has been removed by Google Maps.
 GMarkerOptions bouncy(boolean bouncy)
          Deprecated. This has been removed by Google Maps.
 GMarkerOptions clickable(boolean clickable)
           
 GMarkerOptions clone()
           
 GMarkerOptions draggable(boolean draggable)
           
 boolean equals(Object obj)
           
 GAnimation getAnimation()
           
 String getCursor()
           
 GMap getGmap()
           
 GIcon getIcon()
           
 String getJSconstructor()
           
 GLatLng getLatLng()
           
 GIcon getShadow()
          Deprecated. Marker shadows were removed in version 3.14 of the Google Maps JavaScript API. Any shadows specified programmatically will be ignored.
 String getTitle()
           
 int hashCode()
           
 boolean isAutoPan()
          Deprecated. This has been removed by Google Maps.
 boolean isBouncy()
          Deprecated. This has been removed by Google Maps.
 boolean isClickable()
           
 boolean isDraggable()
           
 boolean isFlat()
          Deprecated. This has been removed by Google Maps.
 void setAnimation(GAnimation animation)
           
 void setLatLng(GLatLng latLng)
           
 void setShadow(GIcon shadow)
          Deprecated. Marker shadows were removed in version 3.14 of the Google Maps JavaScript API. Any shadows specified programmatically will be ignored.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GMarkerOptions

public GMarkerOptions(GMap gmap,
                      GLatLng latLng)

GMarkerOptions

public GMarkerOptions(GMap gmap,
                      GLatLng latLng,
                      String title)
Creates a GMarkerOptions instance with the specified parameters.

Parameters:
gmap - The GMap-instance the marker will be put on
latLng - the position the marker will be placed
title - the tooltip text for this marker. The most common special sequences in the title will be escaped
See Also:
GMap, GLatLng, GMarkerOptions(org.wicketstuff.gmap.GMap, org.wicketstuff.gmap.api.GLatLng, java.lang.String, boolean)

GMarkerOptions

public GMarkerOptions(GMap gmap,
                      GLatLng latLng,
                      String title,
                      boolean escapeTitle)
Parameters:
gmap - The GMap-instance the marker will be placed on
latLng - the position the marker will be placed
title - the tooltip text for this marker
escapeTitle - escapes backslashes(\), quotes ("), newlines (\n), tabs (\r) and carriage returns (\r) in the title, if set to true

GMarkerOptions

public GMarkerOptions(GMap gmap,
                      GLatLng latLng,
                      String title,
                      GIcon icon)

GMarkerOptions

public GMarkerOptions(GMap gmap,
                      GLatLng latLng,
                      String title,
                      GIcon icon,
                      boolean escapeTitle)

GMarkerOptions

public GMarkerOptions(GMap gmap,
                      GLatLng latLng,
                      String title,
                      GIcon icon,
                      GIcon shadow)
Deprecated. Marker shadows were removed in version 3.14 of the Google Maps JavaScript API. Any shadows specified programmatically will be ignored.

Do not use this constructor anymore since it will be removed with WicketStuff 1.7.

See Also:
https://developers.google.com/maps/documentation/javascript/markers#complex_icons
Method Detail

getJSconstructor

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

getTitle

public String getTitle()

isDraggable

public boolean isDraggable()

isClickable

public boolean isClickable()

isBouncy

public boolean isBouncy()
Deprecated. This has been removed by Google Maps.

Do not use this method since it will be removed with WicketStuff 1.7.

See Also:
GMarker.setAnimation(org.wicketstuff.gmap.api.GAnimation)

isAutoPan

public boolean isAutoPan()
Deprecated. This has been removed by Google Maps.

Do not use this method since it will be removed with WicketStuff 1.7.


getIcon

public GIcon getIcon()

clone

public GMarkerOptions clone()
Overrides:
clone in class Object
See Also:
Object.clone()

clickable

public GMarkerOptions clickable(boolean clickable)

draggable

public GMarkerOptions draggable(boolean draggable)

autoPan

public GMarkerOptions autoPan(boolean autoPan)
Deprecated. This has been removed by Google Maps.

Do not use this method since it will be removed with WicketStuff 1.7.


bouncy

public GMarkerOptions bouncy(boolean bouncy)
Deprecated. This has been removed by Google Maps.

Do not use this method since it will be removed with WicketStuff 1.7.

See Also:
GMarker.setAnimation(org.wicketstuff.gmap.api.GAnimation)

getCursor

public String getCursor()

isFlat

public boolean isFlat()
Deprecated. This has been removed by Google Maps.

Do not use this method since it will be removed with WicketStuff 1.7.


setLatLng

public void setLatLng(GLatLng latLng)

getLatLng

public GLatLng getLatLng()

getGmap

public GMap getGmap()

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

setShadow

public void setShadow(GIcon shadow)
Deprecated. Marker shadows were removed in version 3.14 of the Google Maps JavaScript API. Any shadows specified programmatically will be ignored.

Do not use this method since it will be removed with WicketStuff 1.7.

See Also:
https://developers.google.com/maps/documentation/javascript/markers#complex_icons

getShadow

public GIcon getShadow()
Deprecated. Marker shadows were removed in version 3.14 of the Google Maps JavaScript API. Any shadows specified programmatically will be ignored.

Do not use this method since it will be removed with WicketStuff 1.7.

See Also:
https://developers.google.com/maps/documentation/javascript/markers#complex_icons

getAnimation

public GAnimation getAnimation()

setAnimation

public void setAnimation(GAnimation animation)


Copyright © 2016. All rights reserved.