Update maps_controller.js to make scratch map work again

This commit is contained in:
Eugene Burmakin 2025-05-16 19:02:50 +02:00
parent 5be5c1e584
commit d7f6f95c47
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View file

@ -390,7 +390,7 @@ export default class extends BaseController {
const visitedCountries = this.getVisitedCountries(countryCodesMap)
const filteredFeatures = worldData.features.filter(feature =>
visitedCountries.includes(feature.properties.ISO_A2)
visitedCountries.includes(feature.properties["ISO3166-1-Alpha-2"])
)
this.scratchLayer.addData({