mirror of
https://github.com/bpatrik/pigallery2.git
synced 2024-12-23 01:27:14 +02:00
remove debug logging #647
This commit is contained in:
parent
04ce343d9f
commit
bc81dc8a4a
@ -520,13 +520,11 @@ export class GalleryMapLightboxComponent implements OnChanges, OnDestroy {
|
||||
return;
|
||||
}
|
||||
const pathLayer = this.pathLayersConfigOrdered.find((pl) => {
|
||||
console.log(pl.matchers,pl?.matchers?.findIndex(m => m.test(parsedGPX.name)) );
|
||||
return pl.matchers === null || // null matchers match everything
|
||||
(parsedGPX.name &&
|
||||
pl.matchers.findIndex(m => m.test(parsedGPX.name)) !== -1);
|
||||
}) || this.pathLayersConfigOrdered[0];
|
||||
|
||||
console.log(parsedGPX.name, pathLayer.theme.color);
|
||||
if (parsedGPX.path.length !== 0) {
|
||||
// render the beginning of the path with a marker
|
||||
const mkr = marker(parsedGPX.path[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user