Refactoring: fix rendering artefact when switching selected element

This commit is contained in:
Pieter Vander Vennet 2023-04-21 00:25:56 +02:00
parent c6e12fdd6b
commit 3aeedf22c8
4 changed files with 27 additions and 14 deletions

View file

@ -20,7 +20,6 @@ export default class FeaturePropertiesStore {
public trackFeatureSource(source: FeatureSource) {
const self = this
source.features.addCallbackAndRunD((features) => {
console.log("Re-indexing features")
for (const feature of features) {
const id = feature.properties.id
if (id === undefined) {

View file

@ -71,7 +71,7 @@ export default class MetaTagging {
return
}
console.log("Recalculating metatags...")
console.trace("Recalculating metatags...")
const metatagsToApply: SimpleMetaTagger[] = []
for (const metatag of SimpleMetaTaggers.metatags) {
if (metatag.includesDates) {