<commit_before>App = Ember.Application.create();

App.LayerSwitcherComponent = Boundless.LayerSwitcherComponent;

App.Router.map(function() {
    this.route("about");
});

App.Map = new ol.Map({
    renderer: ol.RendererHint.CANVAS,
    layers: [new ol.layer.Tile({
        title: "Streets",
        group: "Basemaps",
        exclusive: true,
        source: new ol.source.MapQuest({layer: 'osm'})
    }),
    new ol.layer.Tile({
        title: "Aerial",
        group: "Basemaps",
        exclusive: true,
        visible: false,
        source: new ol.source.MapQuest({layer: 'sat'})
    }),
    new ol.layer.Vector({
        title: 'Zoning',
        group: 'Overlay Layers',
        style: new ol.style.Style({symbolizers: [
            new ol.style.Stroke({
                color: 'black',
                width: 4,
                opacity: 1
            })
        ]}),
        source: new ol.source.Vector({
            parser: new ol.parser.GeoJSON(),
            url: 'data/medford-zoning.json'
        })
    })],
    view: new ol.View2D({
        center: ol.proj.transform(
            [-122.85676399771559, 42.3389246879193], 'EPSG:4326', 'EPSG:3857'),
        zoom: 12
    })
});

App.IndexView = Ember.View.extend({
  didInsertElement: function() {
      // bind the map to the div from the handlebars template
      App.Map.set('target', 'map');
      App.Map.updateSize();
  }
});

App.IndexRoute = Ember.Route.extend({
    model: function() {
        return Boundless.layersToModel(App.Map.getLayers().getArray());
    }
});

App.IndexController = Ember.ArrayController.extend(Ember.GroupableMixin, {
  groupBy: 'group'
});
<commit_msg>change group titles<commit_after>App = Ember.Application.create();

App.LayerSwitcherComponent = Boundless.LayerSwitcherComponent;

App.Router.map(function() {
    this.route("about");
});

App.Map = new ol.Map({
    renderer: ol.RendererHint.CANVAS,
    layers: [new ol.layer.Tile({
        title: "Streets",
        group: "Base Maps",
        exclusive: true,
        source: new ol.source.MapQuest({layer: 'osm'})
    }),
    new ol.layer.Tile({
        title: "Aerial",
        group: "Base Maps",
        exclusive: true,
        visible: false,
        source: new ol.source.MapQuest({layer: 'sat'})
    }),
    new ol.layer.Vector({
        title: 'Zoning',
        group: 'Overlays',
        style: new ol.style.Style({symbolizers: [
            new ol.style.Stroke({
                color: 'black',
                width: 4,
                opacity: 1
            })
        ]}),
        source: new ol.source.Vector({
            parser: new ol.parser.GeoJSON(),
            url: 'data/medford-zoning.json'
        })
    })],
    view: new ol.View2D({
        center: ol.proj.transform(
            [-122.85676399771559, 42.3389246879193], 'EPSG:4326', 'EPSG:3857'),
        zoom: 12
    })
});

App.IndexView = Ember.View.extend({
  didInsertElement: function() {
      // bind the map to the div from the handlebars template
      App.Map.set('target', 'map');
      App.Map.updateSize();
  }
});

App.IndexRoute = Ember.Route.extend({
    model: function() {
        return Boundless.layersToModel(App.Map.getLayers().getArray());
    }
});

App.IndexController = Ember.ArrayController.extend(Ember.GroupableMixin, {
  groupBy: 'group'
});

{'fraction_non_alphanumeric': 0.15356711003627568, 'fraction_numerical': 0.02720677146311971, 'mean_word_length': 2.194015444015444, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '438537', 'n_tokens_mistral': 1137, 'n_tokens_neox': 1077, 'n_words': 207}