From 6bc924760d7a8dbc16280c6ade047f8b7d3cf9f2 Mon Sep 17 00:00:00 2001 From: Mathieu Baudier Date: Sat, 10 Jul 2021 07:56:13 +0200 Subject: [PATCH] Changes default layers order. --- .../src/org/argeo/support/openlayers/OpenLayersMap.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/environment/org.argeo.geo.ui/src/org/argeo/support/openlayers/OpenLayersMap.java b/environment/org.argeo.geo.ui/src/org/argeo/support/openlayers/OpenLayersMap.java index 6fce760..cfaac55 100644 --- a/environment/org.argeo.geo.ui/src/org/argeo/support/openlayers/OpenLayersMap.java +++ b/environment/org.argeo.geo.ui/src/org/argeo/support/openlayers/OpenLayersMap.java @@ -190,12 +190,12 @@ public class OpenLayersMap extends Composite { if (centerLat != null && centerLng != null) { setCenter(centerLng, centerLat); } - if (vectorSource != null) - renderVectorSource(); - if (gpxSource != null) - renderGpxSource(); if (!geoJsonSources.isEmpty()) renderGeoJsonSources(); + if (gpxSource != null) + renderGpxSource(); + if (vectorSource != null) + renderVectorSource(); } return null; } catch (Exception e) { -- 2.30.2