<commit_before>import { connect } from 'react-redux'
import React from 'react'
import mapActions from '../actions/map'
import { bindActionCreators } from 'redux'

//Create Map
import { Map, TileLayer, GeoJson, PopUp } from 'react-leaflet'
const myStyle = {
    "color": "#006400",
    "weight": 5,
    "opacity": 0.65
}

const map = ({
    center,
    zoom,
    GeoJSON,
    actions
}) => (
    <Map
        id="map"
        center={center} 
        zoom={zoom}
        onLeafletMoveend={(ev) => actions.map.getGeoJSON(ev)}
        onLeafletResize={(ev) => actions.map.getGeoJSON(ev)}
        onLeafletLoad={(ev) => actions.map.getGeoJSON(ev)}
    >
        <TileLayer
            url='https://{s}.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png'<commit_msg>remove onLoad because it is broken<commit_after>import { connect } from 'react-redux'
import React from 'react'
import mapActions from '../actions/map'
import { bindActionCreators } from 'redux'

//Create Map
import { Map, TileLayer, GeoJson, PopUp } from 'react-leaflet'
const myStyle = {
    "color": "#006400",
    "weight": 5,
    "opacity": 0.65
}

const map = ({
    center,
    zoom,
    GeoJSON,
    actions
}) => (
    <Map
        id="map"
        center={center} 
        zoom={zoom}
        onLeafletMoveend={(ev) => actions.map.getGeoJSON(ev)}
        onLeafletResize={(ev) => actions.map.getGeoJSON(ev)}
    >
        <TileLayer
            url='https://{s}.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png'
{'fraction_non_alphanumeric': 0.16305818673883626, 'fraction_numerical': 0.013531799729364006, 'mean_word_length': 2.763358778625954, 'pattern_counts': {'":': 6, '<': 7, '<?xml version=': 0, '>': 12, 'https://': 2, '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': '2201812', 'n_tokens_mistral': 534, 'n_tokens_neox': 517, 'n_words': 104}