From 762995f98d4a454edf6b73473d659f0ed3326aa8 Mon Sep 17 00:00:00 2001 From: Iva Utikalova Date: Sun, 5 May 2024 20:48:57 +0200 Subject: [PATCH] renaming --- .../modules/layers/bubble/Bubble.tsx | 4 +- .../modules/layers/choropleth/Choropleth.tsx | 4 +- .../modules/layers/connection/Connection.tsx | 2 +- src/geovisto_demos/modules/layers/dot/Dot.tsx | 4 +- .../modules/layers/heat/Heat.tsx | 4 +- src/geovisto_demos/modules/layers/map/Map.tsx | 5 +- .../modules/layers/marker/Marker.tsx | 4 +- .../modules/layers/spike/Spike.tsx | 4 +- src/geovisto_demos/modules/tools/Tools.tsx | 42 -- .../modules/tools/filters/Filters.tsx | 4 +- .../tools/geo-downloader/Geo-Downloader.tsx | 10 +- .../modules/tools/hierarchy/Hierarchy.tsx | 6 +- .../modules/tools/info/Info.tsx | 10 +- .../modules/tools/legend/Legend.tsx | 4 +- .../modules/tools/selection/Selection.tsx | 4 +- .../modules/tools/sidebar/Sidebar.tsx | 10 +- .../modules/tools/themes/Themes.tsx | 10 +- .../modules/tools/timeline/Timeline.tsx | 4 +- static/config/config-hierarchy.json | 690 ------------------ ...bleLayer.json => config-layer-bubble.json} | 0 ...dp_config.json => config-layer-choro.json} | 16 +- ...nfig.json => config-layer-connection.json} | 2 +- ...ig-dotLayer.json => config-layer-dot.json} | 0 ...emperature.json => config-layer-heat.json} | 0 ...y_config.json => config-layer-marker.json} | 2 +- ...pikeLayer.json => config-layer-spike.json} | 0 ...onfig-map.json => config-layer-tiles.json} | 0 ...ig-filter.json => config-tool-filter.json} | 2 +- ...r.json => config-tool-geo-downloader.json} | 4 +- static/config/config-tool-hierarchy.json | 323 ++++++++ ...config-info.json => config-tool-info.json} | 0 ...ig-legend.json => config-tool-legend.json} | 6 +- ...ection.json => config-tool-selection.json} | 2 +- ...-sidebar.json => config-tool-sidebar.json} | 10 +- ...ig-themes.json => config-tool-themes.json} | 0 ...imeline.json => config-tool-timeline.json} | 2 +- .../data/{gdp_oecd.json => data-choro.json} | 0 .../{covidCases.json => data-covidCases.json} | 0 ...czechCities.json => data-czechCities.json} | 0 ...aliaMaxTemperature.json => data-heat.json} | 0 ...ierarchy_data.json => data-hierarchy.json} | 0 .../data/{energy_un.json => data-marker.json} | 0 ...{hierarchy_geo.json => geo-hierarchy.json} | 0 43 files changed, 376 insertions(+), 818 deletions(-) delete mode 100644 src/geovisto_demos/modules/tools/Tools.tsx delete mode 100644 static/config/config-hierarchy.json rename static/config/{config-bubbleLayer.json => config-layer-bubble.json} (100%) rename static/config/{gdp_config.json => config-layer-choro.json} (95%) rename static/config/{trade_config.json => config-layer-connection.json} (99%) rename static/config/{config-dotLayer.json => config-layer-dot.json} (100%) rename static/config/{config-australiaMaxTemperature.json => config-layer-heat.json} (100%) rename static/config/{energy_config.json => config-layer-marker.json} (99%) rename static/config/{config-spikeLayer.json => config-layer-spike.json} (100%) rename static/config/{config-map.json => config-layer-tiles.json} (100%) rename static/config/{config-filter.json => config-tool-filter.json} (99%) rename static/config/{config-geo-downloader.json => config-tool-geo-downloader.json} (95%) create mode 100644 static/config/config-tool-hierarchy.json rename static/config/{config-info.json => config-tool-info.json} (100%) rename static/config/{config-legend.json => config-tool-legend.json} (98%) rename static/config/{config-selection.json => config-tool-selection.json} (99%) rename static/config/{config-sidebar.json => config-tool-sidebar.json} (97%) rename static/config/{config-themes.json => config-tool-themes.json} (100%) rename static/config/{config-timeline.json => config-tool-timeline.json} (99%) rename static/data/{gdp_oecd.json => data-choro.json} (100%) rename static/data/{covidCases.json => data-covidCases.json} (100%) rename static/data/{czechCities.json => data-czechCities.json} (100%) rename static/data/{australiaMaxTemperature.json => data-heat.json} (100%) rename static/data/{hierarchy_data.json => data-hierarchy.json} (100%) rename static/data/{energy_un.json => data-marker.json} (100%) rename static/geo/{hierarchy_geo.json => geo-hierarchy.json} (100%) diff --git a/src/geovisto_demos/modules/layers/bubble/Bubble.tsx b/src/geovisto_demos/modules/layers/bubble/Bubble.tsx index ae72ad4..eb3697f 100644 --- a/src/geovisto_demos/modules/layers/bubble/Bubble.tsx +++ b/src/geovisto_demos/modules/layers/bubble/Bubble.tsx @@ -8,8 +8,8 @@ import "geovisto-layer-bubble/dist/index.css"; import React from "react"; // Static -import config from "../../../../../static/config/config-bubbleLayer.json"; -import data from "../../../../../static/data/covidCases.json"; +import config from "../../../../../static/config/config-layer-bubble.json"; +import data from "../../../../../static/data/data-covidCases.json"; // Base core of Geovisto import Base from "../../../GeovistoBase"; diff --git a/src/geovisto_demos/modules/layers/choropleth/Choropleth.tsx b/src/geovisto_demos/modules/layers/choropleth/Choropleth.tsx index 7e9faa3..2b45c3e 100644 --- a/src/geovisto_demos/modules/layers/choropleth/Choropleth.tsx +++ b/src/geovisto_demos/modules/layers/choropleth/Choropleth.tsx @@ -11,8 +11,8 @@ import "./Choropleth.css"; import React from "react"; // Static -import config from "../../../../../static/config/gdp_config.json"; -import data from "../../../../../static/data/gdp_oecd.json"; +import config from "../../../../../static/config/config-layer-choro.json"; +import data from "../../../../../static/data/data-choro.json"; import polygons from "../../../../../static/geo/country_polygons.json"; // Base core of Geovisto diff --git a/src/geovisto_demos/modules/layers/connection/Connection.tsx b/src/geovisto_demos/modules/layers/connection/Connection.tsx index 19364a1..956c684 100644 --- a/src/geovisto_demos/modules/layers/connection/Connection.tsx +++ b/src/geovisto_demos/modules/layers/connection/Connection.tsx @@ -11,7 +11,7 @@ import "./Connection.css"; import React from "react"; // Static -import config from "../../../../../static/config/trade_config.json"; +import config from "../../../../../static/config/config-layer-connection.json"; import data from "../../../../../static/data/trade_oecd.json"; import polygons from "../../../../../static/geo/country_polygons.json"; import centroids from "../../../../../static/geo/country_centroids.json"; diff --git a/src/geovisto_demos/modules/layers/dot/Dot.tsx b/src/geovisto_demos/modules/layers/dot/Dot.tsx index 900aa72..cf0d8dc 100644 --- a/src/geovisto_demos/modules/layers/dot/Dot.tsx +++ b/src/geovisto_demos/modules/layers/dot/Dot.tsx @@ -8,8 +8,8 @@ import "geovisto-layer-dot/dist/index.css"; import React from "react"; // Static -import config from "../../../../../static/config/config-dotLayer.json"; -import data from "../../../../../static/data/czechCities.json"; +import config from "../../../../../static/config/config-layer-dot.json"; +import data from "../../../../../static/data/data-czechCities.json"; // Base core of Geovisto import Base from "../../../GeovistoBase"; diff --git a/src/geovisto_demos/modules/layers/heat/Heat.tsx b/src/geovisto_demos/modules/layers/heat/Heat.tsx index 981ebc0..261acf4 100644 --- a/src/geovisto_demos/modules/layers/heat/Heat.tsx +++ b/src/geovisto_demos/modules/layers/heat/Heat.tsx @@ -8,8 +8,8 @@ import "geovisto-layer-heat/dist/index.css"; import React from "react"; // Static -import config from "../../../../../static/config/config-australiaMaxTemperature.json"; -import data from "../../../../../static/data/australiaMaxTemperature.json"; +import config from "../../../../../static/config/config-layer-heat.json"; +import data from "../../../../../static/data/data-heat.json"; // Base core of Geovisto import Base from "../../../GeovistoBase"; diff --git a/src/geovisto_demos/modules/layers/map/Map.tsx b/src/geovisto_demos/modules/layers/map/Map.tsx index 8a1117b..564f44f 100644 --- a/src/geovisto_demos/modules/layers/map/Map.tsx +++ b/src/geovisto_demos/modules/layers/map/Map.tsx @@ -8,8 +8,7 @@ import "geovisto-layer-heat/dist/index.css"; import React from "react"; // Static -import config from "../../../../../static/config/config-map.json"; -import data from "../../../../../static/data/australiaMaxTemperature.json"; +import config from "../../../../../static/config/config-layer-tiles.json"; // Base core of Geovisto import Base from "../../../GeovistoBase"; @@ -23,7 +22,7 @@ const Map = () => { diff --git a/src/geovisto_demos/modules/layers/marker/Marker.tsx b/src/geovisto_demos/modules/layers/marker/Marker.tsx index 1908bad..fb8bb00 100644 --- a/src/geovisto_demos/modules/layers/marker/Marker.tsx +++ b/src/geovisto_demos/modules/layers/marker/Marker.tsx @@ -11,8 +11,8 @@ import "./Marker.css"; import React from "react"; // Static -import config from "../../../../../static/config/energy_config.json"; -import data from "../../../../../static/data/energy_un.json"; +import config from "../../../../../static/config/config-layer-marker.json"; +import data from "../../../../../static/data/data-marker.json"; import centroids from "../../../../../static/geo/country_centroids.json"; // Base core of Geovisto diff --git a/src/geovisto_demos/modules/layers/spike/Spike.tsx b/src/geovisto_demos/modules/layers/spike/Spike.tsx index 950c436..cd5a165 100644 --- a/src/geovisto_demos/modules/layers/spike/Spike.tsx +++ b/src/geovisto_demos/modules/layers/spike/Spike.tsx @@ -5,8 +5,8 @@ import { GeovistoSpikeLayerTool } from "geovisto-layer-spike"; import React from "react"; // Static -import config from "../../../../../static/config/config-spikeLayer.json"; -import data from "../../../../../static/data/covidCases.json"; +import config from "../../../../../static/config/config-layer-spike.json"; +import data from "../../../../../static/data/data-covidCases.json"; // Base core of Geovisto import Base from "../../../GeovistoBase"; diff --git a/src/geovisto_demos/modules/tools/Tools.tsx b/src/geovisto_demos/modules/tools/Tools.tsx deleted file mode 100644 index 43dc82e..0000000 --- a/src/geovisto_demos/modules/tools/Tools.tsx +++ /dev/null @@ -1,42 +0,0 @@ -// Module -import { GeovistoChoroplethLayerTool } from "geovisto-layer-choropleth"; - -// Module styles -import "geovisto-layer-choropleth/dist/index.css"; - -// Custom styles - -// React -import React from "react"; - -// Static -import config from "../../../../static/config/gdp_config.json"; -import data from "../../../../static/data/gdp_oecd.json"; -import polygons from "../../../../static/geo/country_polygons.json"; - -// Base core of Geovisto -import Base from "../../GeovistoBase"; -import { Geovisto } from "geovisto"; - -const Tools = () => { - const moduleToDisplay = GeovistoChoroplethLayerTool.createTool({ - id: "geovisto-tool-layer-choropleth", - }); - - const geoData = Geovisto.getGeoDataManager([ - Geovisto.getGeoDataFactory().geojson("world polygons", polygons), - ]); - - return ( - - ); -}; - -export default Tools; diff --git a/src/geovisto_demos/modules/tools/filters/Filters.tsx b/src/geovisto_demos/modules/tools/filters/Filters.tsx index e6459e9..a892df9 100644 --- a/src/geovisto_demos/modules/tools/filters/Filters.tsx +++ b/src/geovisto_demos/modules/tools/filters/Filters.tsx @@ -10,8 +10,8 @@ import "geovisto-layer-choropleth/dist/index.css"; import React from "react"; // Static -import config from "../../../../../static/config/config-filter.json"; -import data from "../../../../../static/data/gdp_oecd.json"; +import config from "../../../../../static/config/config-tool-filter.json"; +import data from "../../../../../static/data/data-choro.json"; import polygons from "../../../../../static/geo/country_polygons.json"; // Base core of Geovisto diff --git a/src/geovisto_demos/modules/tools/geo-downloader/Geo-Downloader.tsx b/src/geovisto_demos/modules/tools/geo-downloader/Geo-Downloader.tsx index 5e71809..60cebae 100644 --- a/src/geovisto_demos/modules/tools/geo-downloader/Geo-Downloader.tsx +++ b/src/geovisto_demos/modules/tools/geo-downloader/Geo-Downloader.tsx @@ -10,9 +10,7 @@ import "geovisto-layer-choropleth/dist/index.css"; import React from "react"; // Static -import config from "../../../../../static/config/config-geo-downloader.json"; -import data from "../../../../../static/data/demo1.json"; -import polygons from "../../../../../static/geo/country_polygons.json"; +import config from "../../../../../static/config/config-tool-geo-downloader.json"; // Base core of Geovisto import Base from "../../../GeovistoBase"; @@ -23,17 +21,11 @@ const Geo_Downloader = () => { id: "geovisto-tool-geo-downloader", }); - const geoData = Geovisto.getGeoDataManager([ - Geovisto.getGeoDataFactory().geojson("world polygons", polygons), - ]); - return ( ); diff --git a/src/geovisto_demos/modules/tools/hierarchy/Hierarchy.tsx b/src/geovisto_demos/modules/tools/hierarchy/Hierarchy.tsx index 752ddec..42ee9e1 100644 --- a/src/geovisto_demos/modules/tools/hierarchy/Hierarchy.tsx +++ b/src/geovisto_demos/modules/tools/hierarchy/Hierarchy.tsx @@ -10,9 +10,9 @@ import "geovisto-layer-choropleth/dist/index.css"; import React from "react"; // Static -import config from "../../../../../static/config/config-hierarchy.json"; -import data from "../../../../../static/data/hierarchy_data.json"; -import polygons from "../../../../../static/geo/hierarchy_geo.json"; +import config from "../../../../../static/config/config-tool-hierarchy.json"; +import data from "../../../../../static/data/data-hierarchy.json"; +import polygons from "../../../../../static/geo/geo-hierarchy.json"; // Base core of Geovisto import Base from "../../../GeovistoBase"; diff --git a/src/geovisto_demos/modules/tools/info/Info.tsx b/src/geovisto_demos/modules/tools/info/Info.tsx index 9393616..d0ca6b7 100644 --- a/src/geovisto_demos/modules/tools/info/Info.tsx +++ b/src/geovisto_demos/modules/tools/info/Info.tsx @@ -10,9 +10,7 @@ import "geovisto-layer-choropleth/dist/index.css"; import React from "react"; // Static -import config from "../../../../../static/config/config-info.json"; -import data from "../../../../../static/data/gdp_oecd.json"; -import polygons from "../../../../../static/geo/country_polygons.json"; +import config from "../../../../../static/config/config-tool-info.json"; // Base core of Geovisto import Base from "../../../GeovistoBase"; @@ -23,17 +21,11 @@ const Info = () => { id: "geovisto-tool-layer-choropleth", }); - const geoData = Geovisto.getGeoDataManager([ - Geovisto.getGeoDataFactory().geojson("world polygons", polygons), - ]); - return ( ); diff --git a/src/geovisto_demos/modules/tools/legend/Legend.tsx b/src/geovisto_demos/modules/tools/legend/Legend.tsx index b62b388..9a862b7 100644 --- a/src/geovisto_demos/modules/tools/legend/Legend.tsx +++ b/src/geovisto_demos/modules/tools/legend/Legend.tsx @@ -10,8 +10,8 @@ import "geovisto-layer-choropleth/dist/index.css"; import React from "react"; // Static -import config from "../../../../../static/config/config-legend.json"; -import data from "../../../../../static/data/gdp_oecd.json"; +import config from "../../../../../static/config/config-tool-legend.json"; +import data from "../../../../../static/data/data-choro.json"; import polygons from "../../../../../static/geo/country_polygons.json"; // Base core of Geovisto diff --git a/src/geovisto_demos/modules/tools/selection/Selection.tsx b/src/geovisto_demos/modules/tools/selection/Selection.tsx index 2d12276..ed9dd26 100644 --- a/src/geovisto_demos/modules/tools/selection/Selection.tsx +++ b/src/geovisto_demos/modules/tools/selection/Selection.tsx @@ -10,8 +10,8 @@ import "geovisto-layer-choropleth/dist/index.css"; import React from "react"; // Static -import config from "../../../../../static/config/config-selection.json"; -import data from "../../../../../static/data/gdp_oecd.json"; +import config from "../../../../../static/config/config-tool-selection.json"; +import data from "../../../../../static/data/data-choro.json"; import polygons from "../../../../../static/geo/country_polygons.json"; // Base core of Geovisto diff --git a/src/geovisto_demos/modules/tools/sidebar/Sidebar.tsx b/src/geovisto_demos/modules/tools/sidebar/Sidebar.tsx index e804402..bf62225 100644 --- a/src/geovisto_demos/modules/tools/sidebar/Sidebar.tsx +++ b/src/geovisto_demos/modules/tools/sidebar/Sidebar.tsx @@ -10,9 +10,7 @@ import "geovisto-layer-choropleth/dist/index.css"; import React from "react"; // Static -import config from "../../../../../static/config/config-sidebar.json"; -import data from "../../../../../static/data/gdp_oecd.json"; -import polygons from "../../../../../static/geo/country_polygons.json"; +import config from "../../../../../static/config/config-tool-sidebar.json"; // Base core of Geovisto import Base from "../../../GeovistoBase"; @@ -23,17 +21,11 @@ const Tools = () => { id: "geovisto-tool-layer-choropleth", }); - const geoData = Geovisto.getGeoDataManager([ - Geovisto.getGeoDataFactory().geojson("world polygons", polygons), - ]); - return ( ); diff --git a/src/geovisto_demos/modules/tools/themes/Themes.tsx b/src/geovisto_demos/modules/tools/themes/Themes.tsx index a2cf82d..6775a2d 100644 --- a/src/geovisto_demos/modules/tools/themes/Themes.tsx +++ b/src/geovisto_demos/modules/tools/themes/Themes.tsx @@ -10,9 +10,7 @@ import "geovisto-layer-choropleth/dist/index.css"; import React from "react"; // Static -import config from "../../../../../static/config/config-themes.json"; -import data from "../../../../../static/data/gdp_oecd.json"; -import polygons from "../../../../../static/geo/country_polygons.json"; +import config from "../../../../../static/config/config-tool-themes.json"; // Base core of Geovisto import Base from "../../../GeovistoBase"; @@ -23,17 +21,11 @@ const Tools = () => { id: "geovisto-tool-layer-choropleth", }); - const geoData = Geovisto.getGeoDataManager([ - Geovisto.getGeoDataFactory().geojson("world polygons", polygons), - ]); - return ( ); diff --git a/src/geovisto_demos/modules/tools/timeline/Timeline.tsx b/src/geovisto_demos/modules/tools/timeline/Timeline.tsx index 472042e..3b58437 100644 --- a/src/geovisto_demos/modules/tools/timeline/Timeline.tsx +++ b/src/geovisto_demos/modules/tools/timeline/Timeline.tsx @@ -10,8 +10,8 @@ import "geovisto-layer-choropleth/dist/index.css"; import React from "react"; // Static -import config from "../../../../../static/config/config-timeline.json"; -import data from "../../../../../static/data/gdp_oecd.json"; +import config from "../../../../../static/config/config-tool-timeline.json"; +import data from "../../../../../static/data/data-choro.json"; import polygons from "../../../../../static/geo/country_polygons.json"; // Base core of Geovisto diff --git a/static/config/config-hierarchy.json b/static/config/config-hierarchy.json deleted file mode 100644 index 53ab1a1..0000000 --- a/static/config/config-hierarchy.json +++ /dev/null @@ -1,690 +0,0 @@ -{ - "mapCenter": { - "lat": 28.92163128242129, - "lng": 9.613281250000002 - }, - "tools": [ - { - "type": "geovisto-tool-sidebar", - "id": "geovisto-tool-sidebar", - "enabled": true, - "tabs": [ - { - "enabled": true, - "name": "General settings", - "icon": "", - "checkButton": false, - "fragments": [ - { - "tool": "geovisto-tool-themes", - "enabled": true - }, - { - "tool": "geovisto-tool-selection", - "enabled": true - } - ] - }, - { - "tool": "geovisto-tool-filters", - "enabled": true, - "name": "Filters", - "icon": "", - "checkButton": true - }, - { - "tool": "geovisto-tool-layer-map", - "enabled": true, - "name": "Map layer settings", - "icon": "", - "checkButton": true - }, - { - "tool": "geovisto-tool-layer-choropleth", - "enabled": true, - "name": "Choropleth layer settings", - "icon": "", - "checkButton": true - }, - { - "tool": "geovisto-tool-layer-marker", - "enabled": true, - "name": "Marker layer settings", - "icon": "", - "checkButton": true - }, - { - "tool": "geovisto-tool-layer-connection", - "enabled": true, - "name": "Connection layer settings", - "icon": "", - "checkButton": true - }, - { - "tool": "geovisto-tool-hierarchy", - "enabled": true, - "name": "Hierarchy tool", - "icon": "", - "checkButton": true - }, - { - "tool": "geovisto-tool-geoDownloader", - "enabled": true, - "name": "Downloader tool", - "icon": "", - "checkButton": true - }, - { - "tool": "geovisto-tool-timeline", - "enabled": true, - "name": "Timeline", - "icon": "", - "checkButton": true - } - ] - }, - { - "type": "geovisto-tool-settings", - "id": "geovisto-tool-settings", - "enabled": true - }, - { - "type": "geovisto-tool-filters", - "id": "geovisto-tool-filters", - "enabled": true, - "filterRules": [ - ] - }, - { - "type": "geovisto-tool-themes", - "id": "geovisto-tool-themes", - "enabled": true - }, - { - "type": "geovisto-tool-geoDownloader", - "id": "geovisto-tool-geoDownloader", - "enabled": true - }, - { - "type": "geovisto-tool-selection", - "id": "geovisto-tool-selection", - "enabled": true - }, - { - "type": "geovisto-tool-layer-map", - "id": "geovisto-tool-layer-map", - "enabled": true, - "layerName": "Map layer" - }, - { - "type": "geovisto-tool-hierarchy", - "id": "geovisto-tool-hierarchy", - "enabled": true, - "layerName": "Hierarchy layer", - "HierarchyConfig": [{ - "name" : "Hierarchy covid", - "aggregation" : false, - "hierarchy": [ - { - "id": "CZ_7_0", - "parent": "CZ_6_11", - "zoomLevel": 10 - }, - { - "id": "CZ_7_1", - "parent": "CZ_6_0", - "zoomLevel": 10 - }, - { - "id": "CZ_7_2", - "parent": "CZ_6_2", - "zoomLevel": 10 - }, - { - "id": "CZ_7_3", - "parent": "CZ_6_5", - "zoomLevel": 15 - }, - { - "id": "CZ_7_4", - "parent": "CZ_6_9", - "zoomLevel": 10 - }, - { - "id": "CZ_7_5", - "parent": "CZ_6_4", - "zoomLevel": 10 - }, - { - "id": "CZ_7_6", - "parent": "CZ_6_7", - "zoomLevel": 10 - }, - { - "id": "CZ_7_7", - "parent": "CZ_6_1", - "zoomLevel": 10 - }, - { - "id": "CZ_7_8", - "parent": "CZ_6_6", - "zoomLevel": 10 - }, - { - "id": "CZ_7_9", - "parent": "CZ_6_7", - "zoomLevel": 10 - }, - { - "id": "CZ_7_10", - "parent": "CZ_6_11", - "zoomLevel": 10 - }, - { - "id": "CZ_7_11", - "parent": "CZ_6_8", - "zoomLevel": 10 - }, - { - "id": "CZ_7_12", - "parent": "CZ_6_11", - "zoomLevel": 10 - }, - { - "id": "CZ_7_13", - "parent": "CZ_6_9", - "zoomLevel": 10 - }, - { - "id": "CZ_7_14", - "parent": "CZ_6_11", - "zoomLevel": 10 - }, - { - "id": "CZ_7_15", - "parent": "CZ_6_10", - "zoomLevel": 10 - }, - { - "id": "CZ_7_16", - "parent": "CZ_6_3", - "zoomLevel": 10 - }, - { - "id": "CZ_7_17", - "parent": "CZ_6_12", - "zoomLevel": 10 - }, - { - "id": "CZ_7_18", - "parent": "CZ_6_3", - "zoomLevel": 10 - }, - { - "id": "CZ_7_19", - "parent": "CZ_6_10", - "zoomLevel": 10 - }, - { - "id": "CZ_7_20", - "parent": "CZ_6_4", - "zoomLevel": 10 - }, - { - "id": "CZ_7_21", - "parent": "CZ_6_6", - "zoomLevel": 10 - }, - { - "id": "CZ_7_22", - "parent": "CZ_6_1", - "zoomLevel": 10 - }, - { - "id": "CZ_7_23", - "parent": "CZ_6_8", - "zoomLevel": 10 - }, - { - "id": "CZ_7_24", - "parent": "CZ_6_6", - "zoomLevel": 10 - }, - { - "id": "CZ_7_25", - "parent": "CZ_6_4", - "zoomLevel": 10 - }, - { - "id": "CZ_7_26", - "parent": "CZ_6_6", - "zoomLevel": 10 - }, - { - "id": "CZ_7_27", - "parent": "CZ_6_10", - "zoomLevel": 10 - }, - { - "id": "CZ_7_28", - "parent": "CZ_6_8", - "zoomLevel": 10 - }, - { - "id": "CZ_7_29", - "parent": "CZ_6_13", - "zoomLevel": 10 - }, - { - "id": "CZ_7_30", - "parent": "CZ_6_13", - "zoomLevel": 10 - }, - { - "id": "CZ_7_31", - "parent": "CZ_6_4", - "zoomLevel": 10 - }, - { - "id": "CZ_7_32", - "parent": "CZ_6_4", - "zoomLevel": 10 - }, - { - "id": "CZ_7_33", - "parent": "CZ_6_9", - "zoomLevel": 10 - }, - { - "id": "CZ_7_34", - "parent": "CZ_6_3", - "zoomLevel": 10 - }, - { - "id": "CZ_7_35", - "parent": "CZ_6_9", - "zoomLevel": 10 - }, - { - "id": "CZ_7_36", - "parent": "CZ_6_3", - "zoomLevel": 10 - }, - { - "id": "CZ_7_37", - "parent": "CZ_6_4", - "zoomLevel": 10 - }, - { - "id": "CZ_7_38", - "parent": "CZ_6_7", - "zoomLevel": 10 - }, - { - "id": "CZ_7_39", - "parent": "CZ_6_1", - "zoomLevel": 10 - }, - { - "id": "CZ_7_40", - "parent": "CZ_6_12", - "zoomLevel": 10 - }, - { - "id": "CZ_7_41", - "parent": "CZ_6_4", - "zoomLevel": 10 - }, - { - "id": "CZ_7_42", - "parent": "CZ_6_13", - "zoomLevel": 10 - }, - { - "id": "CZ_7_43", - "parent": "CZ_6_3", - "zoomLevel": 10 - }, - { - "id": "CZ_7_44", - "parent": "CZ_6_10", - "zoomLevel": 10 - }, - { - "id": "CZ_7_45", - "parent": "CZ_6_3", - "zoomLevel": 10 - }, - { - "id": "CZ_7_46", - "parent": "CZ_6_12", - "zoomLevel": 10 - }, - { - "id": "CZ_7_47", - "parent": "CZ_6_4", - "zoomLevel": 10 - }, - { - "id": "CZ_7_48", - "parent": "CZ_6_7", - "zoomLevel": 10 - }, - { - "id": "CZ_7_49", - "parent": "CZ_6_12", - "zoomLevel": 10 - }, - { - "id": "CZ_7_50", - "parent": "CZ_6_2", - "zoomLevel": 10 - }, - { - "id": "CZ_7_51", - "parent": "CZ_6_1", - "zoomLevel": 10 - }, - { - "id": "CZ_7_52", - "parent": "CZ_6_5", - "zoomLevel": 10 - }, - { - "id": "CZ_7_53", - "parent": "CZ_6_7", - "zoomLevel": 10 - }, - { - "id": "CZ_7_54", - "parent": "CZ_6_4", - "zoomLevel": 10 - }, - { - "id": "CZ_7_55", - "parent": "CZ_6_13", - "zoomLevel": 10 - }, - { - "id": "CZ_7_56", - "parent": "CZ_6_1", - "zoomLevel": 10 - }, - { - "id": "CZ_7_57", - "parent": "CZ_6_1", - "zoomLevel": 10 - }, - { - "id": "CZ_7_58", - "parent": "CZ_6_1", - "zoomLevel": 10 - }, - { - "id": "CZ_7_59", - "parent": "CZ_6_2", - "zoomLevel": 10 - }, - { - "id": "CZ_7_60", - "parent": "CZ_6_9", - "zoomLevel": 10 - }, - { - "id": "CZ_7_61", - "parent": "CZ_6_3", - "zoomLevel": 10 - }, - { - "id": "CZ_7_62", - "parent": "CZ_6_6", - "zoomLevel": 10 - }, - { - "id": "CZ_7_63", - "parent": "CZ_6_4", - "zoomLevel": 10 - }, - { - "id": "CZ_7_64", - "parent": "CZ_6_4", - "zoomLevel": 10 - }, - { - "id": "CZ_7_65", - "parent": "CZ_6_4", - "zoomLevel": 10 - }, - { - "id": "CZ_7_66", - "parent": "CZ_6_13", - "zoomLevel": 10 - }, - { - "id": "CZ_7_67", - "parent": "CZ_6_5", - "zoomLevel": 10 - }, - { - "id": "CZ_7_68", - "parent": "CZ_6_11", - "zoomLevel": 10 - }, - { - "id": "CZ_7_69", - "parent": "CZ_6_12", - "zoomLevel": 10 - }, - { - "id": "CZ_7_70", - "parent": "CZ_6_13", - "zoomLevel": 10 - }, - { - "id": "CZ_7_71", - "parent": "CZ_6_6", - "zoomLevel": 10 - }, - { - "id": "CZ_7_72", - "parent": "CZ_6_13", - "zoomLevel": 10 - }, - { - "id": "CZ_7_73", - "parent": "CZ_6_6", - "zoomLevel": 10 - }, - { - "id": "CZ_7_74", - "parent": "CZ_6_11", - "zoomLevel": 10 - }, - { - "id": "CZ_7_75", - "parent": "CZ_6_8", - "zoomLevel": 10 - }, - { - "id": "CZ_7_76", - "parent": "CZ_6_5", - "zoomLevel": 10 - }, - { - "id": "CZ_6_0", - "parent": "CZ_4_7", - "zoomLevel": 8 - }, - { - "id": "CZ_6_1", - "parent": "CZ_4_1", - "zoomLevel": 8 - }, - { - "id": "CZ_6_2", - "parent": "CZ_4_6", - "zoomLevel": 8 - }, - { - "id": "CZ_6_3", - "parent": "CZ_4_2", - "zoomLevel": 8 - }, - { - "id": "CZ_6_4", - "parent": "CZ_4_5", - "zoomLevel": 8 - }, - { - "id": "CZ_6_5", - "parent": "CZ_4_0", - "zoomLevel": 8 - }, - { - "id": "CZ_6_6", - "parent": "CZ_4_6", - "zoomLevel": 8 - }, - { - "id": "CZ_6_7", - "parent": "CZ_4_1", - "zoomLevel": 8 - }, - { - "id": "CZ_6_8", - "parent": "CZ_4_4", - "zoomLevel": 8 - }, - { - "id": "CZ_6_9", - "parent": "CZ_4_0", - "zoomLevel": 8 - }, - { - "id": "CZ_6_10", - "parent": "CZ_4_4", - "zoomLevel": 8 - }, - { - "id": "CZ_6_11", - "parent": "CZ_4_3", - "zoomLevel": 8 - }, - { - "id": "CZ_6_12", - "parent": "CZ_4_4", - "zoomLevel": 8 - }, - { - "id": "CZ_6_13", - "parent": "CZ_4_2", - "zoomLevel": 8 - }, - { - "id": "CZ_4_0", - "parent": "CZ_2_0", - "zoomLevel": 6 - }, - { - "id": "CZ_4_1", - "parent": "CZ_2_0", - "zoomLevel": 6 - }, - { - "id": "CZ_4_2", - "parent": "CZ_2_0", - "zoomLevel": 6 - }, - { - "id": "CZ_4_3", - "parent": "CZ_2_0", - "zoomLevel": 6 - }, - { - "id": "CZ_4_4", - "parent": "CZ_2_0", - "zoomLevel": 6 - }, - { - "id": "CZ_4_5", - "parent": "CZ_2_0", - "zoomLevel": 6 - }, - { - "id": "CZ_4_6", - "parent": "CZ_2_0", - "zoomLevel": 6 - }, - { - "id": "CZ_4_7", - "parent": "CZ_2_0", - "zoomLevel": 6 - }, - { - "id": "CZ_2_0", - "parent": "", - "zoomLevel": 4 - } - ] - } - ] - }, - { - "type": "geovisto-tool-layer-choropleth", - "id": "geovisto-tool-layer-choropleth", - "enabled": true, - "layerName": "Choropleth layer", - "data": { - "country": "from", - "value": "value", - "aggregation": "sum", - "scaling": "median", - "range": 7, - "customColor": true, - "color": "#e32400" - } - }, - { - "type": "geovisto-tool-layer-marker", - "id": "geovisto-tool-layer-marker", - "enabled": true, - "layerName": "Marker layer", - "data": { - "country": "", - "value": "", - "aggregation": "", - "category": "" - } - }, - { - "type": "geovisto-tool-layer-connection", - "id": "geovisto-tool-layer-connection", - "enabled": true, - "layerName": "Connection layer", - "data": { - "from": "from", - "to": "to", - "animateDirection": false - } - }, - { - "type": "geovisto-tool-timeline", - "id": "geovisto-tool-timeline", - "enabled": false, - "layerName": "Timeline", - "data": { - "timePath": "", - "stepTimeLength": 3000, - "transitionDuration": 2500, - "storyEnabled": false, - "story": "", - "realTimeEnabled": false, - "granularity": "", - "chartEnabled": false, - "chartValuePath": "", - "chartAggregationFn": "" - }, - "stories": [] - } - ] - } \ No newline at end of file diff --git a/static/config/config-bubbleLayer.json b/static/config/config-layer-bubble.json similarity index 100% rename from static/config/config-bubbleLayer.json rename to static/config/config-layer-bubble.json diff --git a/static/config/gdp_config.json b/static/config/config-layer-choro.json similarity index 95% rename from static/config/gdp_config.json rename to static/config/config-layer-choro.json index efc5f83..7dd28cb 100644 --- a/static/config/gdp_config.json +++ b/static/config/config-layer-choro.json @@ -11,7 +11,7 @@ "enabled": true, "tabs": [ { - "enabled": true, + "enabled": false, "name": "General settings", "icon": "", "checkButton": true, @@ -28,17 +28,17 @@ }, { "tool": "geovisto-tool-info", - "enabled": true, + "enabled": false, "name": "Info", "icon": "", "checkButton": false }, { "tool": "geovisto-tool-filters", - "enabled": true, + "enabled": false, "name": "Filters", "icon": "", - "checkButton": true + "checkButton": false }, { "tool": "geovisto-tool-layer-map", @@ -66,14 +66,14 @@ "enabled": false, "name": "Connection layer settings", "icon": "", - "checkButton": true + "checkButton": false }, { "tool": "geovisto-tool-timeline", - "enabled": true, + "enabled": false, "name": "Timeline", "icon": "", - "checkButton": true + "checkButton": false }, { "tool": "geovisto-tool-layer-drawing", @@ -92,7 +92,7 @@ { "type": "geovisto-tool-filters", "id": "geovisto-tool-filters", - "enabled": true, + "enabled": false, "filterRules": [ { "domain": "Year", diff --git a/static/config/trade_config.json b/static/config/config-layer-connection.json similarity index 99% rename from static/config/trade_config.json rename to static/config/config-layer-connection.json index f3b4a7a..53f81dc 100644 --- a/static/config/trade_config.json +++ b/static/config/config-layer-connection.json @@ -42,7 +42,7 @@ }, { "tool": "geovisto-tool-info", - "enabled": true, + "enabled": false, "name": "Info", "icon": "", "checkButton": false diff --git a/static/config/config-dotLayer.json b/static/config/config-layer-dot.json similarity index 100% rename from static/config/config-dotLayer.json rename to static/config/config-layer-dot.json diff --git a/static/config/config-australiaMaxTemperature.json b/static/config/config-layer-heat.json similarity index 100% rename from static/config/config-australiaMaxTemperature.json rename to static/config/config-layer-heat.json diff --git a/static/config/energy_config.json b/static/config/config-layer-marker.json similarity index 99% rename from static/config/energy_config.json rename to static/config/config-layer-marker.json index 3efaefa..2b48b64 100644 --- a/static/config/energy_config.json +++ b/static/config/config-layer-marker.json @@ -49,7 +49,7 @@ }, { "tool": "geovisto-tool-info", - "enabled": true, + "enabled": false, "name": "Info", "icon": "", "checkButton": false diff --git a/static/config/config-spikeLayer.json b/static/config/config-layer-spike.json similarity index 100% rename from static/config/config-spikeLayer.json rename to static/config/config-layer-spike.json diff --git a/static/config/config-map.json b/static/config/config-layer-tiles.json similarity index 100% rename from static/config/config-map.json rename to static/config/config-layer-tiles.json diff --git a/static/config/config-filter.json b/static/config/config-tool-filter.json similarity index 99% rename from static/config/config-filter.json rename to static/config/config-tool-filter.json index a21dbf8..825f745 100644 --- a/static/config/config-filter.json +++ b/static/config/config-tool-filter.json @@ -11,7 +11,7 @@ "enabled": true, "tabs": [ { - "enabled": true, + "enabled": false, "name": "General settings", "icon": "", "checkButton": false, diff --git a/static/config/config-geo-downloader.json b/static/config/config-tool-geo-downloader.json similarity index 95% rename from static/config/config-geo-downloader.json rename to static/config/config-tool-geo-downloader.json index cf33714..ad13d13 100644 --- a/static/config/config-geo-downloader.json +++ b/static/config/config-tool-geo-downloader.json @@ -12,10 +12,10 @@ "tabs": [ { "tool": "geovisto-tool-layer-map", - "enabled": true, + "enabled": false, "name": "Map layer settings", "icon": "", - "checkButton": true + "checkButton": false }, { "tool": "geovisto-tool-geo-downloader", diff --git a/static/config/config-tool-hierarchy.json b/static/config/config-tool-hierarchy.json new file mode 100644 index 0000000..f2d831f --- /dev/null +++ b/static/config/config-tool-hierarchy.json @@ -0,0 +1,323 @@ +{ + "zoom":6, + "mapCenter": { + "lat": 50.0, + "lng": 10.0 + }, + "tools": [ + { + "type": "geovisto-tool-sidebar", + "id": "geovisto-tool-sidebar", + "enabled": true, + "tabs": [ + { + "tool": "geovisto-tool-layer-choropleth", + "enabled": true, + "name": "Choropleth layer settings", + "icon": "", + "checkButton": true + }, + { + "tool": "geovisto-tool-layer-marker", + "enabled": true, + "name": "Marker layer settings", + "icon": "", + "checkButton": true + }, + { + "tool": "geovisto-tool-hierarchy", + "enabled": true, + "name": "Hierarchy tool settings", + "icon": "", + "checkButton": true + } + ] + }, + { + "type": "geovisto-tool-settings", + "id": "geovisto-tool-settings", + "enabled": true + }, + { + "type": "geovisto-tool-themes", + "id": "geovisto-tool-themes", + "enabled": true + }, + { + "type": "geovisto-tool-downloader", + "id": "geovisto-tool-downloader", + "enabled": true + }, + { + "type": "geovisto-tool-layer-map", + "id": "geovisto-tool-layer-map", + "enabled": true, + "layerName": "Map layer" + }, + { + "type": "geovisto-tool-layer-choropleth", + "id": "geovisto-tool-layer-choropleth", + "enabled": true, + "layerName": "Choropleth layer", + "data": { + "country": "okres", + "value": "pocet_nakazenych", + "aggregation": "sum", + "scaling": "median", + "range": 7, + "customColor": true, + "geoData": "Czech polygons", + "geoId": "okres", + "color": "#1980e0" + } + }, + { + "type": "geovisto-tool-layer-marker", + "id": "geovisto-tool-layer-marker", + "enabled": false, + "layerName": "Marker layer", + "data": { + "geoData": "Hierarchy covid Points", + "geoId": "okres", + "value": "pocet_nakazenych", + "aggregation": "sum", + "category": "okres" + } + }, + { + "type": "geovisto-tool-layer-connection", + "id": "geovisto-tool-layer-connection", + "enabled": false, + "layerName": "Connection layer", + "data": { + "from": "From", + "to": "To", + "animateDirection": false, + "geoData":"Hierarchy covid Points" + } + }, { + "type": "geovisto-tool-hierarchy", + "id": "geovisto-tool-hierarchy", + "enabled": true, + "layerName": "Hierarchy layer", + "hierarchies": [{ + "name" : "Hierarchy covid", + "aggregation" : true, + "hierarchy": [ + { "id": "CZ_7_0", "parent": "CZ_6_11", "zoomLevel": 10 }, + { "id": "CZ_7_1", "parent": "CZ_6_0", "zoomLevel": 10 }, + { "id": "CZ_7_2", "parent": "CZ_6_2", "zoomLevel": 10 }, + { "id": "CZ_7_3", "parent": "CZ_6_5", "zoomLevel": 15 }, + { "id": "CZ_7_4", "parent": "CZ_6_9", "zoomLevel": 10 }, + { "id": "CZ_7_5", "parent": "CZ_6_4", "zoomLevel": 10 }, + { "id": "CZ_7_6", "parent": "CZ_6_7", "zoomLevel": 10 }, + { "id": "CZ_7_7", "parent": "CZ_6_1", "zoomLevel": 10 }, + { "id": "CZ_7_8", "parent": "CZ_6_6", "zoomLevel": 10 }, + { "id": "CZ_7_9", "parent": "CZ_6_7", "zoomLevel": 10 }, + { "id": "CZ_7_10", "parent": "CZ_6_11", "zoomLevel": 10 }, + { "id": "CZ_7_11", "parent": "CZ_6_8", "zoomLevel": 10 }, + { "id": "CZ_7_12", "parent": "CZ_6_11", "zoomLevel": 10 }, + { "id": "CZ_7_13", "parent": "CZ_6_9", "zoomLevel": 10 }, + { "id": "CZ_7_14", "parent": "CZ_6_11", "zoomLevel": 10 }, + { "id": "CZ_7_15", "parent": "CZ_6_10", "zoomLevel": 10 }, + { "id": "CZ_7_16", "parent": "CZ_6_3", "zoomLevel": 10 }, + { "id": "CZ_7_17", "parent": "CZ_6_12", "zoomLevel": 10 }, + { "id": "CZ_7_18", "parent": "CZ_6_3", "zoomLevel": 10 }, + { "id": "CZ_7_19", "parent": "CZ_6_10", "zoomLevel": 10 }, + { "id": "CZ_7_20", "parent": "CZ_6_4", "zoomLevel": 10 }, + { "id": "CZ_7_21", "parent": "CZ_6_6", "zoomLevel": 10 }, + { "id": "CZ_7_22", "parent": "CZ_6_1", "zoomLevel": 10 }, + { "id": "CZ_7_23", "parent": "CZ_6_8", "zoomLevel": 10 }, + { "id": "CZ_7_24", "parent": "CZ_6_6", "zoomLevel": 10 }, + { "id": "CZ_7_25", "parent": "CZ_6_4", "zoomLevel": 10 }, + { "id": "CZ_7_26", "parent": "CZ_6_6", "zoomLevel": 10 }, + { "id": "CZ_7_27", "parent": "CZ_6_10", "zoomLevel": 10 }, + { "id": "CZ_7_28", "parent": "CZ_6_8", "zoomLevel": 10 }, + { "id": "CZ_7_29", "parent": "CZ_6_13", "zoomLevel": 10 }, + { "id": "CZ_7_30", "parent": "CZ_6_13", "zoomLevel": 10 }, + { "id": "CZ_7_31", "parent": "CZ_6_4", "zoomLevel": 10 }, + { "id": "CZ_7_32", "parent": "CZ_6_4", "zoomLevel": 10 }, + { "id": "CZ_7_33", "parent": "CZ_6_9", "zoomLevel": 10 }, + { "id": "CZ_7_34", "parent": "CZ_6_3", "zoomLevel": 10 }, + { "id": "CZ_7_35", "parent": "CZ_6_9", "zoomLevel": 10 }, + { "id": "CZ_7_36", "parent": "CZ_6_3", "zoomLevel": 10 }, + { "id": "CZ_7_37", "parent": "CZ_6_4", "zoomLevel": 10 }, + { "id": "CZ_7_38", "parent": "CZ_6_7", "zoomLevel": 10 }, + { "id": "CZ_7_39", "parent": "CZ_6_1", "zoomLevel": 10 }, + { "id": "CZ_7_40", "parent": "CZ_6_12", "zoomLevel": 10 }, + { "id": "CZ_7_41", "parent": "CZ_6_4", "zoomLevel": 10 }, + { "id": "CZ_7_42", "parent": "CZ_6_13", "zoomLevel": 10 }, + { "id": "CZ_7_43", "parent": "CZ_6_3", "zoomLevel": 10 }, + { "id": "CZ_7_44", "parent": "CZ_6_10", "zoomLevel": 10 }, + { "id": "CZ_7_45", "parent": "CZ_6_3", "zoomLevel": 10 }, + { "id": "CZ_7_46", "parent": "CZ_6_12", "zoomLevel": 10 }, + { "id": "CZ_7_47", "parent": "CZ_6_4", "zoomLevel": 10 }, + { "id": "CZ_7_48", "parent": "CZ_6_7", "zoomLevel": 10 }, + { "id": "CZ_7_49", "parent": "CZ_6_12", "zoomLevel": 10 }, + { "id": "CZ_7_50", "parent": "CZ_6_2", "zoomLevel": 10 }, + { "id": "CZ_7_51", "parent": "CZ_6_1", "zoomLevel": 10 }, + { "id": "CZ_7_52", "parent": "CZ_6_5", "zoomLevel": 10 }, + { "id": "CZ_7_53", "parent": "CZ_6_7", "zoomLevel": 10 }, + { "id": "CZ_7_54", "parent": "CZ_6_4", "zoomLevel": 10 }, + { "id": "CZ_7_55", "parent": "CZ_6_13", "zoomLevel": 10 }, + { "id": "CZ_7_56", "parent": "CZ_6_1", "zoomLevel": 10 }, + { "id": "CZ_7_57", "parent": "CZ_6_1", "zoomLevel": 10 }, + { "id": "CZ_7_58", "parent": "CZ_6_1", "zoomLevel": 10 }, + { "id": "CZ_7_59", "parent": "CZ_6_2", "zoomLevel": 10 }, + { "id": "CZ_7_60", "parent": "CZ_6_9", "zoomLevel": 10 }, + { "id": "CZ_7_61", "parent": "CZ_6_3", "zoomLevel": 10 }, + { "id": "CZ_7_62", "parent": "CZ_6_6", "zoomLevel": 10 }, + { "id": "CZ_7_63", "parent": "CZ_6_4", "zoomLevel": 10 }, + { "id": "CZ_7_64", "parent": "CZ_6_4", "zoomLevel": 10 }, + { "id": "CZ_7_65", "parent": "CZ_6_4", "zoomLevel": 10 }, + { "id": "CZ_7_66", "parent": "CZ_6_13", "zoomLevel": 10 }, + { "id": "CZ_7_67", "parent": "CZ_6_5", "zoomLevel": 10 }, + { "id": "CZ_7_68", "parent": "CZ_6_11", "zoomLevel": 10 }, + { "id": "CZ_7_69", "parent": "CZ_6_12", "zoomLevel": 10 }, + { "id": "CZ_7_70", "parent": "CZ_6_13", "zoomLevel": 10 }, + { "id": "CZ_7_71", "parent": "CZ_6_6", "zoomLevel": 10 }, + { "id": "CZ_7_72", "parent": "CZ_6_13", "zoomLevel": 10 }, + { "id": "CZ_7_73", "parent": "CZ_6_6", "zoomLevel": 10 }, + { "id": "CZ_7_74", "parent": "CZ_6_11", "zoomLevel": 10 }, + { "id": "CZ_7_75", "parent": "CZ_6_8", "zoomLevel": 10 }, + { "id": "CZ_7_76", "parent": "CZ_6_5", "zoomLevel": 10 }, + { "id": "CZ_6_0", "parent": "CZ_4_7", "zoomLevel": 8 }, + { "id": "CZ_6_1", "parent": "CZ_4_1", "zoomLevel": 8 }, + { "id": "CZ_6_2", "parent": "CZ_4_6", "zoomLevel": 8 }, + { "id": "CZ_6_3", "parent": "CZ_4_2", "zoomLevel": 8 }, + { "id": "CZ_6_4", "parent": "CZ_4_5", "zoomLevel": 8 }, + { "id": "CZ_6_5", "parent": "CZ_4_0", "zoomLevel": 8 }, + { "id": "CZ_6_6", "parent": "CZ_4_6", "zoomLevel": 8 }, + { "id": "CZ_6_7", "parent": "CZ_4_1", "zoomLevel": 8 }, + { "id": "CZ_6_8", "parent": "CZ_4_4", "zoomLevel": 8 }, + { "id": "CZ_6_9", "parent": "CZ_4_0", "zoomLevel": 8 }, + { "id": "CZ_6_10", "parent": "CZ_4_4", "zoomLevel": 8 }, + { "id": "CZ_6_11", "parent": "CZ_4_3", "zoomLevel": 8 }, + { "id": "CZ_6_12", "parent": "CZ_4_4", "zoomLevel": 8 }, + { "id": "CZ_6_13", "parent": "CZ_4_2", "zoomLevel": 8 }, + { "id": "CZ_4_0", "parent": "CZ_2_0", "zoomLevel": 6 }, + { "id": "CZ_4_1", "parent": "CZ_2_0", "zoomLevel": 6 }, + { "id": "CZ_4_2", "parent": "CZ_2_0", "zoomLevel": 6 }, + { "id": "CZ_4_3", "parent": "CZ_2_0", "zoomLevel": 6 }, + { "id": "CZ_4_4", "parent": "CZ_2_0", "zoomLevel": 6 }, + { "id": "CZ_4_5", "parent": "CZ_2_0", "zoomLevel": 6 }, + { "id": "CZ_4_6", "parent": "CZ_2_0", "zoomLevel": 6 }, + { "id": "CZ_4_7", "parent": "CZ_2_0", "zoomLevel": 6 }, + { "id": "CZ_2_0", "parent": "", "zoomLevel": 4 } + ] + }, { + "name" : "Hierarchy covid Point", + "aggregation" : true, + "hierarchy": [ + { "id": "CZ_7_0", "parent": "CZ_6_11", "zoomLevel": 10 }, + { "id": "CZ_7_1", "parent": "CZ_6_0", "zoomLevel": 10 }, + { "id": "CZ_7_2", "parent": "CZ_6_2", "zoomLevel": 10 }, + { "id": "CZ_7_3", "parent": "CZ_6_5", "zoomLevel": 15 }, + { "id": "CZ_7_4", "parent": "CZ_6_9", "zoomLevel": 10 }, + { "id": "CZ_7_5", "parent": "CZ_6_4", "zoomLevel": 10 }, + { "id": "CZ_7_6", "parent": "CZ_6_7", "zoomLevel": 10 }, + { "id": "CZ_7_7", "parent": "CZ_6_1", "zoomLevel": 10 }, + { "id": "CZ_7_8", "parent": "CZ_6_6", "zoomLevel": 10 }, + { "id": "CZ_7_9", "parent": "CZ_6_7", "zoomLevel": 10 }, + { "id": "CZ_7_10", "parent": "CZ_6_11", "zoomLevel": 10 }, + { "id": "CZ_7_11", "parent": "CZ_6_8", "zoomLevel": 10 }, + { "id": "CZ_7_12", "parent": "CZ_6_11", "zoomLevel": 10 }, + { "id": "CZ_7_13", "parent": "CZ_6_9", "zoomLevel": 10 }, + { "id": "CZ_7_14", "parent": "CZ_6_11", "zoomLevel": 10 }, + { "id": "CZ_7_15", "parent": "CZ_6_10", "zoomLevel": 10 }, + { "id": "CZ_7_16", "parent": "CZ_6_3", "zoomLevel": 10 }, + { "id": "CZ_7_17", "parent": "CZ_6_12", "zoomLevel": 10 }, + { "id": "CZ_7_18", "parent": "CZ_6_3", "zoomLevel": 10 }, + { "id": "CZ_7_19", "parent": "CZ_6_10", "zoomLevel": 10 }, + { "id": "CZ_7_20", "parent": "CZ_6_4", "zoomLevel": 10 }, + { "id": "CZ_7_21", "parent": "CZ_6_6", "zoomLevel": 10 }, + { "id": "CZ_7_22", "parent": "CZ_6_1", "zoomLevel": 10 }, + { "id": "CZ_7_23", "parent": "CZ_6_8", "zoomLevel": 10 }, + { "id": "CZ_7_24", "parent": "CZ_6_6", "zoomLevel": 10 }, + { "id": "CZ_7_25", "parent": "CZ_6_4", "zoomLevel": 10 }, + { "id": "CZ_7_26", "parent": "CZ_6_6", "zoomLevel": 10 }, + { "id": "CZ_7_27", "parent": "CZ_6_10", "zoomLevel": 10 }, + { "id": "CZ_7_28", "parent": "CZ_6_8", "zoomLevel": 10 }, + { "id": "CZ_7_29", "parent": "CZ_6_13", "zoomLevel": 10 }, + { "id": "CZ_7_30", "parent": "CZ_6_13", "zoomLevel": 10 }, + { "id": "CZ_7_31", "parent": "CZ_6_4", "zoomLevel": 10 }, + { "id": "CZ_7_32", "parent": "CZ_6_4", "zoomLevel": 10 }, + { "id": "CZ_7_33", "parent": "CZ_6_9", "zoomLevel": 10 }, + { "id": "CZ_7_34", "parent": "CZ_6_3", "zoomLevel": 10 }, + { "id": "CZ_7_35", "parent": "CZ_6_9", "zoomLevel": 10 }, + { "id": "CZ_7_36", "parent": "CZ_6_3", "zoomLevel": 10 }, + { "id": "CZ_7_37", "parent": "CZ_6_4", "zoomLevel": 10 }, + { "id": "CZ_7_38", "parent": "CZ_6_7", "zoomLevel": 10 }, + { "id": "CZ_7_39", "parent": "CZ_6_1", "zoomLevel": 10 }, + { "id": "CZ_7_40", "parent": "CZ_6_12", "zoomLevel": 10 }, + { "id": "CZ_7_41", "parent": "CZ_6_4", "zoomLevel": 10 }, + { "id": "CZ_7_42", "parent": "CZ_6_13", "zoomLevel": 10 }, + { "id": "CZ_7_43", "parent": "CZ_6_3", "zoomLevel": 10 }, + { "id": "CZ_7_44", "parent": "CZ_6_10", "zoomLevel": 10 }, + { "id": "CZ_7_45", "parent": "CZ_6_3", "zoomLevel": 10 }, + { "id": "CZ_7_46", "parent": "CZ_6_12", "zoomLevel": 10 }, + { "id": "CZ_7_47", "parent": "CZ_6_4", "zoomLevel": 10 }, + { "id": "CZ_7_48", "parent": "CZ_6_7", "zoomLevel": 10 }, + { "id": "CZ_7_49", "parent": "CZ_6_12", "zoomLevel": 10 }, + { "id": "CZ_7_50", "parent": "CZ_6_2", "zoomLevel": 10 }, + { "id": "CZ_7_51", "parent": "CZ_6_1", "zoomLevel": 10 }, + { "id": "CZ_7_52", "parent": "CZ_6_5", "zoomLevel": 10 }, + { "id": "CZ_7_53", "parent": "CZ_6_7", "zoomLevel": 10 }, + { "id": "CZ_7_54", "parent": "CZ_6_4", "zoomLevel": 10 }, + { "id": "CZ_7_55", "parent": "CZ_6_13", "zoomLevel": 10 }, + { "id": "CZ_7_56", "parent": "CZ_6_1", "zoomLevel": 10 }, + { "id": "CZ_7_57", "parent": "CZ_6_1", "zoomLevel": 10 }, + { "id": "CZ_7_58", "parent": "CZ_6_1", "zoomLevel": 10 }, + { "id": "CZ_7_59", "parent": "CZ_6_2", "zoomLevel": 10 }, + { "id": "CZ_7_60", "parent": "CZ_6_9", "zoomLevel": 10 }, + { "id": "CZ_7_61", "parent": "CZ_6_3", "zoomLevel": 10 }, + { "id": "CZ_7_62", "parent": "CZ_6_6", "zoomLevel": 10 }, + { "id": "CZ_7_63", "parent": "CZ_6_4", "zoomLevel": 10 }, + { "id": "CZ_7_64", "parent": "CZ_6_4", "zoomLevel": 10 }, + { "id": "CZ_7_65", "parent": "CZ_6_4", "zoomLevel": 10 }, + { "id": "CZ_7_66", "parent": "CZ_6_13", "zoomLevel": 10 }, + { "id": "CZ_7_67", "parent": "CZ_6_5", "zoomLevel": 10 }, + { "id": "CZ_7_68", "parent": "CZ_6_11", "zoomLevel": 10 }, + { "id": "CZ_7_69", "parent": "CZ_6_12", "zoomLevel": 10 }, + { "id": "CZ_7_70", "parent": "CZ_6_13", "zoomLevel": 10 }, + { "id": "CZ_7_71", "parent": "CZ_6_6", "zoomLevel": 10 }, + { "id": "CZ_7_72", "parent": "CZ_6_13", "zoomLevel": 10 }, + { "id": "CZ_7_73", "parent": "CZ_6_6", "zoomLevel": 10 }, + { "id": "CZ_7_74", "parent": "CZ_6_11", "zoomLevel": 10 }, + { "id": "CZ_7_75", "parent": "CZ_6_8", "zoomLevel": 10 }, + { "id": "CZ_7_76", "parent": "CZ_6_5", "zoomLevel": 10 }, + { "id": "CZ_6_0", "parent": "CZ_4_7", "zoomLevel": 8 }, + { "id": "CZ_6_1", "parent": "CZ_4_1", "zoomLevel": 8 }, + { "id": "CZ_6_2", "parent": "CZ_4_6", "zoomLevel": 8 }, + { "id": "CZ_6_3", "parent": "CZ_4_2", "zoomLevel": 8 }, + { "id": "CZ_6_4", "parent": "CZ_4_5", "zoomLevel": 8 }, + { "id": "CZ_6_5", "parent": "CZ_4_0", "zoomLevel": 8 }, + { "id": "CZ_6_6", "parent": "CZ_4_6", "zoomLevel": 8 }, + { "id": "CZ_6_7", "parent": "CZ_4_1", "zoomLevel": 8 }, + { "id": "CZ_6_8", "parent": "CZ_4_4", "zoomLevel": 8 }, + { "id": "CZ_6_9", "parent": "CZ_4_0", "zoomLevel": 8 }, + { "id": "CZ_6_10", "parent": "CZ_4_4", "zoomLevel": 8 }, + { "id": "CZ_6_11", "parent": "CZ_4_3", "zoomLevel": 8 }, + { "id": "CZ_6_12", "parent": "CZ_4_4", "zoomLevel": 8 }, + { "id": "CZ_6_13", "parent": "CZ_4_2", "zoomLevel": 8 }, + { "id": "CZ_4_0", "parent": "CZ_2_0", "zoomLevel": 6 }, + { "id": "CZ_4_1", "parent": "CZ_2_0", "zoomLevel": 6 }, + { "id": "CZ_4_2", "parent": "CZ_2_0", "zoomLevel": 6 }, + { "id": "CZ_4_3", "parent": "CZ_2_0", "zoomLevel": 6 }, + { "id": "CZ_4_4", "parent": "CZ_2_0", "zoomLevel": 6 }, + { "id": "CZ_4_5", "parent": "CZ_2_0", "zoomLevel": 6 }, + { "id": "CZ_4_6", "parent": "CZ_2_0", "zoomLevel": 6 }, + { "id": "CZ_4_7", "parent": "CZ_2_0", "zoomLevel": 6 }, + { "id": "CZ_2_0", "parent": "", "zoomLevel": 4 } + ] + } + ] + }, + { + "type": "geovisto-tool-layer-drawing", + "id": "geovisto-tool-layer-drawing", + "enabled": false, + "layerName": "GeoJSON creator" + } + ] +} \ No newline at end of file diff --git a/static/config/config-info.json b/static/config/config-tool-info.json similarity index 100% rename from static/config/config-info.json rename to static/config/config-tool-info.json diff --git a/static/config/config-legend.json b/static/config/config-tool-legend.json similarity index 98% rename from static/config/config-legend.json rename to static/config/config-tool-legend.json index 28c1ebe..76719a3 100644 --- a/static/config/config-legend.json +++ b/static/config/config-tool-legend.json @@ -11,14 +11,14 @@ "enabled": true, "tabs": [ { - "enabled": true, + "enabled": false, "name": "General settings", "icon": "", - "checkButton": true, + "checkButton": false, "fragments": [ { "tool": "geovisto-tool-themes", - "enabled": true + "enabled": false }, { "tool": "geovisto-tool-selection", diff --git a/static/config/config-selection.json b/static/config/config-tool-selection.json similarity index 99% rename from static/config/config-selection.json rename to static/config/config-tool-selection.json index 59ff531..09efc0d 100644 --- a/static/config/config-selection.json +++ b/static/config/config-tool-selection.json @@ -11,7 +11,7 @@ "enabled": true, "tabs": [ { - "enabled": true, + "enabled": false, "name": "General settings", "icon": "", "checkButton": true, diff --git a/static/config/config-sidebar.json b/static/config/config-tool-sidebar.json similarity index 97% rename from static/config/config-sidebar.json rename to static/config/config-tool-sidebar.json index a0cbc2c..7a07b99 100644 --- a/static/config/config-sidebar.json +++ b/static/config/config-tool-sidebar.json @@ -11,27 +11,27 @@ "enabled": true, "tabs": [ { - "enabled": false, + "enabled": true, "name": "General settings", "icon": "", "checkButton": false, "fragments": [ { "tool": "geovisto-tool-themes", - "enabled": false + "enabled": true }, { "tool": "geovisto-tool-selection", - "enabled": false + "enabled": true } ] }, { "tool": "geovisto-tool-info", - "enabled": false, + "enabled": true, "name": "Info", "icon": "", - "checkButton": false + "checkButton": true }, { "tool": "geovisto-tool-layer-bubble", diff --git a/static/config/config-themes.json b/static/config/config-tool-themes.json similarity index 100% rename from static/config/config-themes.json rename to static/config/config-tool-themes.json diff --git a/static/config/config-timeline.json b/static/config/config-tool-timeline.json similarity index 99% rename from static/config/config-timeline.json rename to static/config/config-tool-timeline.json index 8efea8b..1f0da20 100644 --- a/static/config/config-timeline.json +++ b/static/config/config-tool-timeline.json @@ -11,7 +11,7 @@ "enabled": true, "tabs": [ { - "enabled": true, + "enabled": false, "name": "General settings", "icon": "", "checkButton": true, diff --git a/static/data/gdp_oecd.json b/static/data/data-choro.json similarity index 100% rename from static/data/gdp_oecd.json rename to static/data/data-choro.json diff --git a/static/data/covidCases.json b/static/data/data-covidCases.json similarity index 100% rename from static/data/covidCases.json rename to static/data/data-covidCases.json diff --git a/static/data/czechCities.json b/static/data/data-czechCities.json similarity index 100% rename from static/data/czechCities.json rename to static/data/data-czechCities.json diff --git a/static/data/australiaMaxTemperature.json b/static/data/data-heat.json similarity index 100% rename from static/data/australiaMaxTemperature.json rename to static/data/data-heat.json diff --git a/static/data/hierarchy_data.json b/static/data/data-hierarchy.json similarity index 100% rename from static/data/hierarchy_data.json rename to static/data/data-hierarchy.json diff --git a/static/data/energy_un.json b/static/data/data-marker.json similarity index 100% rename from static/data/energy_un.json rename to static/data/data-marker.json diff --git a/static/geo/hierarchy_geo.json b/static/geo/geo-hierarchy.json similarity index 100% rename from static/geo/hierarchy_geo.json rename to static/geo/geo-hierarchy.json