(layer_source: str, feature_collection: dict)
Updates the layers GeoJSON source file
        :param layer_source: The path to the geoJSON file that is the source of the layer
        :param feature_collection: The feature collection to dump
        :return:
Updates the layers GeoJSON source file
        :param layer_source: The path to the geoJSON file that is the source of the layer
        :param feature_collection: The feature collection to dump
        :return:
Updates the layers GeoJSON source file : param layer_source : The path to the geoJSON file that is the source of the layer : param feature_collection : The feature collection to dump : return :
def _update_layer_source(layer_source: str, feature_collection: dict) -> None:
        """
        Updates the layers GeoJSON source file
        :param layer_source: The path to the geoJSON file that is the source of the layer
        :param feature_collection: The feature collection to dump
        :return: 
        """
        with open(layer_source, "w") as f:
            f.write(json.dumps(feature_collection))
def _update_layer_source ( layer_source : str , feature_collection : dict ) -> None : with open ( layer_source , "w" ) as f : f . write ( json . dumps ( feature_collection ) )