<commit_before>
/// <reference path="../../typings/tsd.d.ts" />


class Map extends L.Map {

    private _data               : IDataRow[];
    private _bbox               : L.LatLngBounds;
    private _tileLayerOptions   : L.TileLayerOptions;
    private _circleMarkerOptions: L.PathOptions;
    private _circleMarkerRadius : Number;

    constructor (id: string, options?: L.Map.MapOptions) {

        if (id === undefined) {
            console.log('You need to define the name of div element to put the leaflet map into.');
        }

        super(id, options);

        this.fitWorld();

        this._tileLayerOptions = {
            maxZoom: 18,
            attribution: 'Map data &copy; <a href=\'http://openstreetmap.org\'>OpenStreetMap</a> contributors, ' +
                '<a href=\'http://creativecommons.org/licenses/by-sa/2.0/\'>CC-BY-SA</a>, ' +
                'Imagery &copy; <a href=\'http://mapbox.com\'>Mapbox</a>',
            id: 'mapbox.streets',
            accessToken: '<KEY>'
        };
        this._circleMarkerOptions = {
            color: '#f20'
        };<commit_msg>added own access token, leaflet map now works again (fixes issue#109)<commit_after>
/// <reference path="../../typings/tsd.d.ts" />


class Map extends L.Map {

    private _data               : IDataRow[];
    private _bbox               : L.LatLngBounds;
    private _tileLayerOptions   : L.TileLayerOptions;
    private _circleMarkerOptions: L.PathOptions;
    private _circleMarkerRadius : Number;

    constructor (id: string, options?: L.Map.MapOptions) {

        if (id === undefined) {
            console.log('You need to define the name of div element to put the leaflet map into.');
        }

        super(id, options);

        this.fitWorld();

        this._tileLayerOptions = {
            maxZoom: 18,
            attribution: 'Map data &copy; <a href=\'http://openstreetmap.org\'>OpenStreetMap</a> contributors, ' +
                '<a href=\'http://creativecommons.org/licenses/by-sa/2.0/\'>CC-BY-SA</a>, ' +
                'Imagery &copy; <a href=\'http://mapbox.com\'>Mapbox</a>',
            id: 'mapbox.streets',
            accessToken: '<KEY>'
        };
        this._circleMarkerOptions = {
            color: '#f20'
        };
{'fraction_non_alphanumeric': 0.14437555358724535, 'fraction_numerical': 0.006643046944198406, 'mean_word_length': 1.9920529801324502, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '4758461', 'n_tokens_mistral': 694, 'n_tokens_neox': 668, 'n_words': 152}