Skip to content
Snippets Groups Projects
Commit cd304d87 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

operator should be reversed -- overlay is background when there is no source available

parent b702e390
No related branches found
No related tags found
1 merge request!295Resolve "alternative to google maps api way of visualizing maps"
......@@ -114,7 +114,7 @@ AbstractCustomMap.prototype.createMapOptions = function () {
var backgroundOverlays = [];
for (var i = 0; i < overlays.length; i++) {
var overlay = overlays[i];
if (overlay.getInputDataAvailable()) {
if (!overlay.getInputDataAvailable()) {
backgroundOverlays.push({
directory: "../map_images/" + self.getProject().getDirectory() + "/" + overlay.getImagesDirectory(self.getId()),
id: overlay.getId(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment