Mercurial > gemma
changeset 1180:03c820e25573
fix issue183: Duplicated web feature information (identify tool)
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Thu, 15 Nov 2018 12:16:00 +0100 |
parents | 320e2720fe3d |
children | 1335e088e7ef |
files | client/src/map/Maplayer.vue |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/map/Maplayer.vue Thu Nov 15 10:45:06 2018 +0100 +++ b/client/src/map/Maplayer.vue Thu Nov 15 12:16:00 2018 +0100 @@ -158,6 +158,7 @@ var features = new GeoJSON().readFeatures( JSON.stringify(response.data) ); + vectorSource.clear(); vectorSource.addFeatures(features); // console.log( // "loaded",