Skip to content

Commit

Permalink
renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
avi278 committed May 5, 2024
1 parent f5f6380 commit 762995f
Show file tree
Hide file tree
Showing 43 changed files with 376 additions and 818 deletions.
4 changes: 2 additions & 2 deletions src/geovisto_demos/modules/layers/bubble/Bubble.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
4 changes: 2 additions & 2 deletions src/geovisto_demos/modules/layers/choropleth/Choropleth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
4 changes: 2 additions & 2 deletions src/geovisto_demos/modules/layers/dot/Dot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
4 changes: 2 additions & 2 deletions src/geovisto_demos/modules/layers/heat/Heat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
5 changes: 2 additions & 3 deletions src/geovisto_demos/modules/layers/map/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -23,7 +22,7 @@ const Map = () => {
<Base
{...{
config,
data,
//data,
moduleToDisplay,
}}
/>
Expand Down
4 changes: 2 additions & 2 deletions src/geovisto_demos/modules/layers/marker/Marker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/geovisto_demos/modules/layers/spike/Spike.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
42 changes: 0 additions & 42 deletions src/geovisto_demos/modules/tools/Tools.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions src/geovisto_demos/modules/tools/filters/Filters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -23,17 +21,11 @@ const Geo_Downloader = () => {
id: "geovisto-tool-geo-downloader",
});

const geoData = Geovisto.getGeoDataManager([
Geovisto.getGeoDataFactory().geojson("world polygons", polygons),
]);

return (
<Base
{...{
config,
data,
moduleToDisplay,
geoData,
}}
/>
);
Expand Down
6 changes: 3 additions & 3 deletions src/geovisto_demos/modules/tools/hierarchy/Hierarchy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
10 changes: 1 addition & 9 deletions src/geovisto_demos/modules/tools/info/Info.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -23,17 +21,11 @@ const Info = () => {
id: "geovisto-tool-layer-choropleth",
});

const geoData = Geovisto.getGeoDataManager([
Geovisto.getGeoDataFactory().geojson("world polygons", polygons),
]);

return (
<Base
{...{
config,
data,
moduleToDisplay,
geoData,
}}
/>
);
Expand Down
4 changes: 2 additions & 2 deletions src/geovisto_demos/modules/tools/legend/Legend.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/geovisto_demos/modules/tools/selection/Selection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 1 addition & 9 deletions src/geovisto_demos/modules/tools/sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -23,17 +21,11 @@ const Tools = () => {
id: "geovisto-tool-layer-choropleth",
});

const geoData = Geovisto.getGeoDataManager([
Geovisto.getGeoDataFactory().geojson("world polygons", polygons),
]);

return (
<Base
{...{
config,
data,
moduleToDisplay,
geoData,
}}
/>
);
Expand Down
10 changes: 1 addition & 9 deletions src/geovisto_demos/modules/tools/themes/Themes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -23,17 +21,11 @@ const Tools = () => {
id: "geovisto-tool-layer-choropleth",
});

const geoData = Geovisto.getGeoDataManager([
Geovisto.getGeoDataFactory().geojson("world polygons", polygons),
]);

return (
<Base
{...{
config,
data,
moduleToDisplay,
geoData,
}}
/>
);
Expand Down
4 changes: 2 additions & 2 deletions src/geovisto_demos/modules/tools/timeline/Timeline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit 762995f

Please sign in to comment.