<commit_before>"use strict";

var _ZOOM = {
    NEIGHBORHOOD: 16,
    MIN: 11,
    MAX: 19
};

module.exports = {
    ZOOM: Object.freeze ? Object.freeze(_ZOOM) : _ZOOM,

    setCenterAndZoomLL: function(map, zoom, location) {
        // Never zoom out, or try to zoom farther than allowed.
        var zoomToApply = Math.max(
            map.getZoom(),
            Math.min(zoom, map.getMaxZoom()));<commit_msg>Revert 6914a00d4 because it broke 'add event' map<commit_after>"use strict";

var _ZOOM = {
    NEIGHBORHOOD: 16,
    MIN: 0,
    MAX: 19
};

module.exports = {
    ZOOM: Object.freeze ? Object.freeze(_ZOOM) : _ZOOM,

    setCenterAndZoomLL: function(map, zoom, location) {
        // Never zoom out, or try to zoom farther than allowed.
        var zoomToApply = Math.max(
            map.getZoom(),
            Math.min(zoom, map.getMaxZoom()));
{'fraction_non_alphanumeric': 0.12339930151338765, 'fraction_numerical': 0.020954598370197905, 'mean_word_length': 2.553719008264463, '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': '1187425', 'n_tokens_mistral': 316, 'n_tokens_neox': 290, 'n_words': 76}