org.wicketstuff.gmap.api
Class GMarkerClusterStyle
java.lang.Object
org.wicketstuff.gmap.api.GMarkerClusterStyle
- All Implemented Interfaces:
- Serializable, GValue
public class GMarkerClusterStyle
- extends Object
- implements GValue
Used in GMarkerClusterOptions
JS code with options:
'styles': (object) An object that has style properties:
'url': (string) The image url.
'height': (number) The image height.
'width': (number) The image width.
'anchor': (Array) The anchor position of the label text.
'textColor': (string) The text color.
'textSize': (number) The text size.
'backgroundPosition': (string) The position of the backgound x, y.
- Author:
- Rob Sonke
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GMarkerClusterStyle
public GMarkerClusterStyle()
getJSconstructor
public String getJSconstructor()
- Specified by:
getJSconstructor in interface GValue
- Returns:
- A JavaScript constructor that represents this element.
getUrl
public String getUrl()
setUrl
public GMarkerClusterStyle setUrl(String url)
getHeight
public Integer getHeight()
setHeight
public GMarkerClusterStyle setHeight(Integer height)
getWidth
public Integer getWidth()
setWidth
public GMarkerClusterStyle setWidth(Integer width)
getAnchor
public Integer[] getAnchor()
setAnchor
public GMarkerClusterStyle setAnchor(Integer[] anchor)
getTextColor
public String getTextColor()
setTextColor
public GMarkerClusterStyle setTextColor(String textColor)
getTextSize
public Integer getTextSize()
setTextSize
public GMarkerClusterStyle setTextSize(Integer textSize)
getBackgroundPosition
public String getBackgroundPosition()
setBackgroundPosition
public GMarkerClusterStyle setBackgroundPosition(String backgroundPosition)
Copyright © 2014. All rights reserved.