code: function propertiesToActions() {
      for (var k in properties) {
        var prop = properties[k];
        switch (k) {
          case 'center':
            var pos = prop.value;
            if (properties.zoom === undefined) {
              actions.push({
                order: prop.order,
                cmd: 'S.map.actions.panTo([' + pos[0] + ',' + pos[1] + '])'
              });
            } else {
              actions.push({
                order: prop.order,
                cmd: 'S.map.actions.setView([' + pos[0] + ',' + pos[1] + '], ' + properties.zoom.value + ')'
              });
            }
          case 'zoom':
            if (!properties.center) {
              actions.push({
                order: prop.order,
                cmd: 'S.map.actions.setZoom(' + properties.zoom.value+ ')'
              });
            }
        }
      }
    }
docs: /*
  there are special propertues like pos, marker and so
  on that should become actions