From 9bd54f5b72f24d473a4a05ba518dfdc26ad1b9b7 Mon Sep 17 00:00:00 2001 From: Alexey Velikiy Date: Tue, 7 Mar 2017 10:06:43 +0100 Subject: [PATCH] begin map --- src/d3-components/basic-map-tooltip/index.vue | 35 +++++ src/d3-components/basic-map-tooltip/map.vue | 38 ++++++ .../basic-map-tooltip/tooltip.vue | 125 ++++++++++++++++++ src/router/demos.js | 6 + 4 files changed, 204 insertions(+) create mode 100644 src/d3-components/basic-map-tooltip/index.vue create mode 100644 src/d3-components/basic-map-tooltip/map.vue create mode 100644 src/d3-components/basic-map-tooltip/tooltip.vue diff --git a/src/d3-components/basic-map-tooltip/index.vue b/src/d3-components/basic-map-tooltip/index.vue new file mode 100644 index 0000000..5940c77 --- /dev/null +++ b/src/d3-components/basic-map-tooltip/index.vue @@ -0,0 +1,35 @@ + + + + + + + diff --git a/src/d3-components/basic-map-tooltip/map.vue b/src/d3-components/basic-map-tooltip/map.vue new file mode 100644 index 0000000..4247881 --- /dev/null +++ b/src/d3-components/basic-map-tooltip/map.vue @@ -0,0 +1,38 @@ + + + + + diff --git a/src/d3-components/basic-map-tooltip/tooltip.vue b/src/d3-components/basic-map-tooltip/tooltip.vue new file mode 100644 index 0000000..9431491 --- /dev/null +++ b/src/d3-components/basic-map-tooltip/tooltip.vue @@ -0,0 +1,125 @@ + + + + + diff --git a/src/router/demos.js b/src/router/demos.js index 7c59728..a4139d7 100644 --- a/src/router/demos.js +++ b/src/router/demos.js @@ -27,6 +27,12 @@ export const routes = [ folder: true, component: require('d3-components/pie-chart-local-component/index') }, + { + name: 'Basic map: html tooltip & events', + path: '/basic-map-tooltip', + folder: true, + component: require('d3-components/basic-map-tooltip/index') + }, { name: 'Bubbles: nested routes', path: '/bubbles-nested-routes',