# HG changeset patch # User nowmad@nowmads-macbook-pro.local # Date 1448902202 -3600 # Node ID 2ee96abcce945b5a4aabe934dbc3873546ad3ec6 # Parent 9148b2653eb5c89f971524a792bb997f8f2996e8 add ammap dependences to load the map in the component visu-carto diff -r 9148b2653eb5 -r 2ee96abcce94 cms/app-client/bower.json --- a/cms/app-client/bower.json Mon Nov 30 17:49:12 2015 +0100 +++ b/cms/app-client/bower.json Mon Nov 30 17:50:02 2015 +0100 @@ -12,6 +12,7 @@ "jquery": "^1.11.3", "loader.js": "ember-cli/loader.js#3.2.1", "qunit": "~1.18.0", - "bootstrap-sass": "~3.3.5" + "bootstrap-sass": "~3.3.5", + "ammap3": "~3.17.3" } } diff -r 9148b2653eb5 -r 2ee96abcce94 cms/app-client/ember-cli-build.js --- a/cms/app-client/ember-cli-build.js Mon Nov 30 17:49:12 2015 +0100 +++ b/cms/app-client/ember-cli-build.js Mon Nov 30 17:50:02 2015 +0100 @@ -26,6 +26,10 @@ // modules that you would like to import into your application // please specify an object with the list of modules as keys // along with the exports of each module as its value. + app.import('bower_components/ammap3/ammap/ammap.js'); + app.import('bower_components/ammap3/ammap/maps/js/worldLow.js'); + app.import('bower_components/ammap3/ammap/maps/js/continentsLow.js'); + app.import('bower_components/ammap3/ammap/maps/js/franceDepartmentsLow.js'); return app.toTree(); };