Skip to content

Commit

Permalink
Added all years and background map to be the topmost layer
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhaaranen committed Aug 18, 2023
1 parent 4fe9a2f commit 2a23784
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 74 deletions.
2 changes: 1 addition & 1 deletion air-pollutant-map/.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VUE_APP_GEOSERVER_URI=http://kkxgeot1/geoserver/hajapaastotkartalla/
VUE_APP_DATA_YEAR_OPTIONS=2007
VUE_APP_DATA_YEAR_OPTIONS=2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021
VUE_APP_DOWNLOAD_FULL_DATA_CSV_ENABLED=False
VUE_APP_USE_AGGREGATED_GNFRS=true
VUE_APP_USE_PROD_POLLUTANT_LIST=true
5 changes: 3 additions & 2 deletions air-pollutant-map/src/components/OlMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ import Legend from "./Legend.vue";
import { Pollutant, MapDataType, MuniFeatureProperties } from "@/types";
import { PollutantLegend } from "../types";
import Projection from "ol/proj/Projection";
import * as env from "../env";
const projection = new Projection({
code: "EPSG:3067",
Expand Down Expand Up @@ -178,9 +179,9 @@ export default Vue.extend({
const baseLayer = new TileLayer({
zIndex: 3,
zIndex: 13,
source: new TileWMS({
url: "http://kkxgeot1.env.fi/geoserver/ilmo-climateguide/" + "ows",
url: env.gsUri + "ows",
params: { LAYERS: "shoreline", TILED: true },
serverType: "geoserver",
attributions: "© MML, 2011",
Expand Down
Loading

0 comments on commit 2a23784

Please sign in to comment.