function loadScratchLayer(geoJsonData) {
	clearScratchLayer();

	scratchLayerData = geoJsonData;
	scratchLayer = loadGeoJSON(
		geoJsonData,
		scratchLayerId,
		inputLayers.length + 1,
		defaultScratchStyle
	);
}
/**
 * Replace the current scratch layer with the specified GeoJSON data
 *
 * @param {*} geoJsonData - the data to be loaded in the scratch layer
 */
Replace the current scratch layer with the specified GeoJSON data
@param {*} geoJsonData - the data to be loaded in the scratch layer
Replace the current scratch layer with the specified GeoJSON data @param { * } geoJsonData - the data to be loaded in the scratch layer
function loadScratchLayer(geoJsonData) {
	clearScratchLayer();
	scratchLayerData = geoJsonData;
	scratchLayer = loadGeoJSON(
		geoJsonData,
		scratchLayerId,
		inputLayers.length + 1,
		defaultScratchStyle
	);
}
function loadScratchLayer ( geoJsonData ) { clearScratchLayer ( ) ; scratchLayerData = geoJsonData ; scratchLayer = loadGeoJSON ( geoJsonData , scratchLayerId , inputLayers . length + 1 , defaultScratchStyle ) ; }
Replace the current scratch layer with the specified GeoJSON data
 @param {*} geoJsonData - the data to be loaded in the scratch layer
Replace the current scratch layer with the specified GeoJSON data @param { * } geoJsonData - the data to be loaded in the scratch layer