'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.selectLayer = selectLayer;
exports.addLayer = addLayer;
exports.setLayerProperties = setLayerProperties;
exports.removeLayer = removeLayer;

var _constants = require('../constants');

function selectLayer(layerID) {
  return {
    type: _constants. SELECT_LAYER,
    layerID: layerID
  };
}

function addLayer(name, altitude) {
  return {
    type: _constants. ADD_LAYER,
    name: name, altitude: altitude
  };
}

function setLayerProperties(layerID, properties) {
  return {
    type: _constants. SET_LAYER_PROPERTIES,
    layerID: layerID,
    properties: properties
  };
}

function removeLayer(layerID) {
  return {
    type: _constants. REMOVE_LAYER,
    layerID: layerID
  };
}