public Marker detachLabel ( ) { optMapLabel . ifPresent ( mapLabel -> { mapLabel . setMarker ( null ) ; mapLabel . visibleProperty ( ) . unbind ( ) ; mapLabel . positionProperty ( ) . unbind ( ) ; } ) ; optMapLabel = Optional . empty ( ) ; return this ; }
detaches an attached Label .