forked from MapComplete/MapComplete
Refactoring: fix rendering artefact when switching selected element
This commit is contained in:
parent
c6e12fdd6b
commit
3aeedf22c8
4 changed files with 27 additions and 14 deletions
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue