Class Marker
java.lang.Object
com.geodesk.util.Marker
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Bounds
bounds()
Specifies the color of this Marker.boolean
Speficies a single option for this Marker.Specifies options for this Marker.Sets the content to be displayed whenever the cursor is hovered over this Marker.Sets the URL which is navigated when the user clicks on this Marker.void
write
(Appendable out) protected void
writeCoordinates
(Appendable out, CoordinateSequence coords) protected void
writePoint
(Appendable out, double x, double y) protected abstract void
writeStub
(Appendable out)
-
Field Details
-
options
-
map
-
-
Constructor Details
-
Marker
public Marker()
-
-
Method Details
-
tooltip
-
url
-
options
Specifies options for this Marker. See the Leaflet documentation for a list of available options.- Parameters:
moreOptions
- a key-value map- Returns:
- this Marker
-
option
Speficies a single option for this Marker. See the Leaflet documentation for a list of available options.- Parameters:
key
- the name of the option (e.g. `opacity` or `lineCap`)value
- the value of the option- Returns:
-
color
-
defaultTooltip
-
isVisible
public boolean isVisible() -
writePoint
- Throws:
IOException
-
writeCoordinates
- Throws:
IOException
-
bounds
-
writeStub
- Throws:
IOException
-
write
- Throws:
IOException
-