Skip to content

Commit

Permalink
Fix map integration
Browse files Browse the repository at this point in the history
  • Loading branch information
carlobeltrame committed Sep 25, 2023
1 parent 7ffa8b5 commit 915168a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 41 deletions.
2 changes: 1 addition & 1 deletion app/packs/entrypoints/decidim/gis_zh.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'proj4'
import 'proj4leaflet'
import 'leaflet-svgicon'
import 'leaflet.markercluster'
import '../../src/map.js' // must import this file in order to run any maps at all
import 'src/decidim/map.js'
import MapMarkersController from 'src/decidim/map/controller/markers.js'
import DragMarkersController from 'src/decidim/map/controller/drag_marker.js'
import MapStaticController from 'src/decidim/map/controller/static.js'
Expand Down
2 changes: 1 addition & 1 deletion app/packs/entrypoints/decidim/swisstopo.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'leaflet'
import 'leaflet-tilelayer-swiss'
import 'leaflet-svgicon'
import 'leaflet.markercluster'
import '../../src/map.js' // must import this file in order to run any maps at all
import 'src/decidim/map.js'
import 'src/decidim/map.js'
import MapMarkersController from 'src/decidim/map/controller/markers.js'
import DragMarkersController from 'src/decidim/map/controller/drag_marker.js'
Expand Down
39 changes: 0 additions & 39 deletions app/packs/src/map.js

This file was deleted.

0 comments on commit 915168a

Please sign in to comment.