mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-13 02:31:39 -05:00
Update maps_controller.js to make scratch map work again
This commit is contained in:
parent
5be5c1e584
commit
d7f6f95c47
2 changed files with 2 additions and 2 deletions
File diff suppressed because one or more lines are too long
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Reference in a new issue