add ammap dependences to load the map in the component visu-carto
authornowmad@nowmads-macbook-pro.local
Mon, 30 Nov 2015 17:50:02 +0100
changeset 36 2ee96abcce94
parent 35 9148b2653eb5
child 37 343750d4d38e
add ammap dependences to load the map in the component visu-carto
cms/app-client/bower.json
cms/app-client/ember-cli-build.js
--- 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"
   }
 }
--- 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();
 };