class ArrowLineLayer extends KujakuLayer {

    @Override
    public boolean removeLayerOnMap(@NonNull MapboxMap mapboxMap) {
        setRemoved(true);

        // Remove the layers & sources
        Style style = mapboxMap.getStyle();
        if (style != null && style.isFullyLoaded()) {
            style.removeLayer(arrowHeadLayer);
            style.removeLayer(lineLayer);

            style.removeSource(arrowHeadSource);
            style.removeSource(lineLayerSource);

            visible = false;

            return true;
        } else {
            Log.e(TAG, "Could not remove the layers & source because the the style is null or not fully loaded");
            return false;
        }
    }

    private  ArrowLineLayer(@NonNull Builder builder);

}