public Marker attachLabel ( MapLabel mapLabel ) { optMapLabel = Optional . of ( requireNonNull ( mapLabel ) ) ; mapLabel . setMarker ( this ) ; mapLabel . visibleProperty ( ) . bind ( visibleProperty ( ) ) ; mapLabel . positionProperty ( ) . bind ( positionProperty ( ) ) ; return this ; }
attaches the MapLabel to this Marker