Top Description Fields Constructors Methods
com.dlsc.gmapsfx.javascript.object

public Class Marker

extends JavascriptObject
Class Inheritance
Imports
com.dlsc.gmapsfx.javascript.JavascriptObject

Marker which can be placed on a GoogleMap.
Author
Rob Terpilowski

Field Summary

Inherited from com.dlsc.gmapsfx.javascript.JavascriptObject:
jsObjectobjectCounterpeerRegistryruntimevariableName

Constructor Summary

AccessConstructor and Description
public
Marker(MarkerOptions
The options to use when constructing this marker.
markerOptions
)

Contructs a new map Marker with the specified options

Method Summary

Modifier and TypeMethod and Description
public String
public boolean
public void
setAnimation(Animation
The animation to use for this marker.
animation
)

Sets how the marker should be animated.

protected void
setMap(GoogleMap
The map to add this Marker to.
map
)

This method is called from the GoogleMap.addMarker() method, it should not be invoked directly.

public void
setOptions(MarkerOptions markerOptions2)

public void
public void
setTitle(String
The Marker's new title
title
)

Sets the title of this Marker

public void
setVisible(boolean visible)

Inherited from com.dlsc.gmapsfx.javascript.JavascriptObject:
checkBooleancheckIntegercheckUndefinedgetJSObjectgetNextVariableNamegetPropertygetPropertygetVariableNameinvokeJavascriptinvokeJavascriptinvokeJavascriptReturnValueinvokeJavascriptReturnValueisMemberDefinedsetPropertysetPropertysetProperty

Constructor Detail

Markerback to summary
public Marker(MarkerOptions markerOptions)

Contructs a new map Marker with the specified options

Parameters
markerOptions:MarkerOptions

The options to use when constructing this marker.

Method Detail

getTitleback to summary
public String getTitle()
getVisibleback to summary
public boolean getVisible()
setAnimationback to summary
public void setAnimation(Animation animation)

Sets how the marker should be animated. To clear the animation use Animation.NULL

Parameters
animation:Animation

The animation to use for this marker.

setMapback to summary
protected void setMap(GoogleMap map)

This method is called from the GoogleMap.addMarker() method, it should not be invoked directly.

Parameters
map:GoogleMap

The map to add this Marker to.

setOptionsback to summary
public void setOptions(MarkerOptions markerOptions2)
setPositionback to summary
public void setPosition(LatLong latLong)
setTitleback to summary
public void setTitle(String title)

Sets the title of this Marker

Parameters
title:String

The Marker's new title

setVisibleback to summary
public void setVisible(boolean visible)