Take <style> parameter from config file for snapshot background layers
[potlatch2.git] / net / systemeD / potlatch2 / collections / VectorBackgrounds.as
index 6381feed972f362630c40710bca438e167a9d680..d33aac80adb35c10c71d0d62012e75446f43cee1 100644 (file)
@@ -93,7 +93,7 @@ package net.systemeD.potlatch2.collections {
                 case "SnapshotLoader":
                   if (set.url) {
                     name ||= 'Snapshot Server'
-                    var snapshotLoader:SnapshotLoader = new SnapshotLoader(_map, String(set.url), name);
+                    var snapshotLoader:SnapshotLoader = new SnapshotLoader(_map, String(set.url), name, String(set.style));
                     if (set.@loaded == "true") {
                       snapshotLoader.load();
                     }