Mercurial > gemma
comparison client/src/components/layers/layers.js @ 5077:c9354fcf6050 time-sliding
add TIME-Filter to layer and GetFeatureInfo
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Fri, 13 Mar 2020 12:29:06 +0100 |
parents | 96a544504818 |
children | fe63733750d7 |
comparison
equal
deleted
inserted
replaced
5076:96a544504818 | 5077:c9354fcf6050 |
---|---|
686 projection: "EPSG:3857", | 686 projection: "EPSG:3857", |
687 url: window.location.origin + "/api/internal/wms", | 687 url: window.location.origin + "/api/internal/wms", |
688 params: { | 688 params: { |
689 LAYERS: "fairway_marks", | 689 LAYERS: "fairway_marks", |
690 VERSION: "1.1.1", | 690 VERSION: "1.1.1", |
691 TILED: true | 691 TILED: true, |
692 //CQL_FILTER: "" + store.state.application.currentVisibleTime | 692 TIME: store.state.application.currentVisibleTime.toISOString() |
693 }, | 693 }, |
694 tileLoadFunction: function(tile, src) { | 694 tileLoadFunction: function(tile, src) { |
695 HTTP.get(src, { | 695 HTTP.get(src, { |
696 headers: { | 696 headers: { |
697 "X-Gemma-Auth": localStorage.getItem("token") | 697 "X-Gemma-Auth": localStorage.getItem("token") |