mirror of
https://github.com/umap-project/umap.git
synced 2025-04-29 03:42:37 +02:00
wip: typo
This commit is contained in:
parent
342dcbabbe
commit
16fd5d8ca3
1 changed files with 2 additions and 2 deletions
|
@ -39,11 +39,11 @@ export default class Importer {
|
|||
this.map = map
|
||||
this.TYPES = ['geojson', 'csv', 'gpx', 'kml', 'osm', 'georss', 'umap']
|
||||
this.IMPORTERS = []
|
||||
this.loadImporterss()
|
||||
this.loadImporters()
|
||||
this.dialog = new Dialog(this.map._controlContainer)
|
||||
}
|
||||
|
||||
loadImporterss() {
|
||||
loadImporters() {
|
||||
for (const key of Object.keys(this.map.options.importers || {})) {
|
||||
import(`./importers/${key}.js`).then((mod) => {
|
||||
this.IMPORTERS.push(new mod.Importer(this.map, this.map.options.importers[key]))
|
||||
|
|
Loading…
Reference in a new issue