Mercurial > gemma
comparison client/src/components/layers/layers.js @ 5087:d77dd0220780 time-sliding
client: Timebased request for waterway_axis
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Fri, 20 Mar 2020 15:27:25 +0100 |
parents | fe63733750d7 |
children | 8a7c39804d2f |
comparison
equal
deleted
inserted
replaced
5086:f572b553cd8a | 5087:d77dd0220780 |
---|---|
482 source: new ImageSource({ | 482 source: new ImageSource({ |
483 url: window.location.origin + "/api/internal/wms", | 483 url: window.location.origin + "/api/internal/wms", |
484 params: { | 484 params: { |
485 LAYERS: "waterway_axis", | 485 LAYERS: "waterway_axis", |
486 VERSION: "1.1.1", | 486 VERSION: "1.1.1", |
487 TILED: true | 487 TILED: true, |
488 TIME: store.state.application.refreshLayersTime.toISOString() | |
488 }, | 489 }, |
489 imageLoadFunction: function(tile, src) { | 490 imageLoadFunction: function(tile, src) { |
490 HTTP.get(src, { | 491 HTTP.get(src, { |
491 headers: { | 492 headers: { |
492 "X-Gemma-Auth": localStorage.getItem("token") | 493 "X-Gemma-Auth": localStorage.getItem("token") |