mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 13:18:15 +02:00
Refactor: removed console log
This commit is contained in:
@@ -82,8 +82,6 @@ export function svgLocalPhotos(projection, context, dispatch) {
|
||||
|
||||
// puts the image markers on the map
|
||||
function display_markers(imageList) {
|
||||
console.log('display_markers() called');
|
||||
|
||||
const groups = layer.selectAll('.markers').selectAll('.viewfield-group')
|
||||
.data(imageList, function(d) { return d.id; });
|
||||
|
||||
@@ -126,8 +124,6 @@ export function svgLocalPhotos(projection, context, dispatch) {
|
||||
}
|
||||
|
||||
function drawPhotos(selection) {
|
||||
console.log('drawPhotos fn called');
|
||||
|
||||
layer = selection.selectAll('.layer-local-photos')
|
||||
.data(_fileList ? [0] : []);
|
||||
|
||||
@@ -198,7 +194,6 @@ export function svgLocalPhotos(projection, context, dispatch) {
|
||||
};
|
||||
|
||||
drawPhotos.setFile = function(fileList) {
|
||||
console.log('drawPhotos.setFile called');
|
||||
/**
|
||||
* Holds array of file - [file_1, file_2, ...]
|
||||
* file_1 = {name: "Das.png", lastModified: 1625064498536, lastModifiedDate: Wed Jun 30 2021 20:18:18 GMT+0530 (India Standard Time), webkitRelativePath: "", size: 859658, …}
|
||||
@@ -220,7 +215,6 @@ export function svgLocalPhotos(projection, context, dispatch) {
|
||||
* @param {Object} fileList.0 - A File - {name: "Das.png", lastModified: 1625064498536, lastModifiedDate: Wed Jun 30 2021 20:18:18 GMT+0530 (India Standard Time), webkitRelativePath: "", size: 859658, …}
|
||||
*/
|
||||
drawPhotos.fileList = function(fileList) {
|
||||
console.log('drawPhotos.fileList called');
|
||||
if (!arguments.length) return _fileList;
|
||||
|
||||
_fileList = fileList;
|
||||
|
||||
@@ -436,6 +436,7 @@ export function uiSectionDataLayers(context) {
|
||||
|
||||
d3_event.preventDefault();
|
||||
d3_event.stopPropagation();
|
||||
//TODO
|
||||
dataLayer.fitZoom();
|
||||
})
|
||||
.call(svgIcon('#iD-icon-framed-dot', 'monochrome'));
|
||||
|
||||
Reference in New Issue
Block a user