diff --git a/zeppelin-web/bower.json b/zeppelin-web/bower.json index ae29f70cca9..60fea266e7b 100644 --- a/zeppelin-web/bower.json +++ b/zeppelin-web/bower.json @@ -32,7 +32,9 @@ "bootstrap3-dialog": "bootstrap-dialog#~1.34.7", "handsontable": "~0.24.2", "moment-duration-format": "^1.3.0", - "select2": "^4.0.3" + "select2": "^4.0.3", + "leaflet": "~0.7.7", + "angular-leaflet-directive": "~0.10.0" }, "devDependencies": { "angular-mocks": "1.5.0" diff --git a/zeppelin-web/src/app/app.js b/zeppelin-web/src/app/app.js index 20ccfb11f9e..fd272ff7b48 100644 --- a/zeppelin-web/src/app/app.js +++ b/zeppelin-web/src/app/app.js @@ -33,8 +33,10 @@ 'xeditable', 'ngToast', 'focus-if', - 'ngResource' + 'ngResource', + 'leaflet-directive' ]) + .filter('breakFilter', function() { return function(text) { if (!!text) { diff --git a/zeppelin-web/src/app/notebook/paragraph/paragraph-chart-selector.html b/zeppelin-web/src/app/notebook/paragraph/paragraph-chart-selector.html index 0c763189fa5..c7d73ef2829 100644 --- a/zeppelin-web/src/app/notebook/paragraph/paragraph-chart-selector.html +++ b/zeppelin-web/src/app/notebook/paragraph/paragraph-chart-selector.html @@ -47,6 +47,10 @@ ng-class="{'active': isGraphMode('scatterChart')}" ng-click="setGraphMode('scatterChart', true)"> +