comparison client/src/components/map/layers.js @ 4368:e9d2573329da

import_overview: make layer for review togglable (currently only for development visible)
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 10 Sep 2019 16:37:50 +0200
parents 45307cf4931a
children ad2bf9580696
comparison
equal deleted inserted replaced
4367:6a985796f401 4368:e9d2573329da
182 // Reduces bottlenecks_geoserver requests and number of stored feature objects. 182 // Reduces bottlenecks_geoserver requests and number of stored feature objects.
183 const FDREVIEWLAYER = new VectorLayer({ 183 const FDREVIEWLAYER = new VectorLayer({
184 id: "FDREVIEWLAYER", 184 id: "FDREVIEWLAYER",
185 label: "Review", 185 label: "Review",
186 visible: true, 186 visible: true,
187 source: new VectorSource(), 187 source: new VectorSource({ wrapX: false }),
188 style: styles.sections 188 style: styles.sections
189 }); 189 });
190 const bottlenecksSource = new VectorSource({ strategy: bboxStrategy }); 190 const bottlenecksSource = new VectorSource({ strategy: bboxStrategy });
191 bottlenecksSource.setLoader( 191 bottlenecksSource.setLoader(
192 buildVectorLoader( 192 buildVectorLoader(