<commit_before>function GoogleMapsPolygonDrawTools(myGoogleMap){
    var me = this;

    me.drawManager = new google.maps.drawing.DrawingManager({
        drawingControl: false,
        drawingControlOptions: {
            position: google.maps.ControlPosition.TOP_RIGHT, 
            drawingModes: [
                google.maps.drawing.OverlayType.POLYGON
            ]
        },
        polygonOptions:{
            editable: true,
            strokeColor: '#505050'
            /*fillColor: '#D8F781',
            strokeOpacity:,
            strokeWeight:*/
        }
    });

    me.drawManager.setMap(myGoogleMap);
    me.PolyListener = google.maps.event.addListener(me.drawManager, 'polygoncomplete', function(e){
        me.myPolygon = e;
        me.drawManager.setDrawingMode(null);

        var geom = me.getPolygonCoordsText();
        $('#geom').attr('value', geom);<commit_msg>Minor bug fix for polygon drawing.<commit_after>function GoogleMapsPolygonDrawTools(myGoogleMap){
    var me = this;

    me.drawManager = new google.maps.drawing.DrawingManager({
        drawingControl: false,
        drawingControlOptions: {
            position: google.maps.ControlPosition.TOP_RIGHT, 
            drawingModes: [
                google.maps.drawing.OverlayType.POLYGON
            ]
        },
        polygonOptions:{
            editable: true,
            strokeColor: '#505050'
            /*fillColor: '#D8F781',
            strokeOpacity:,
            strokeWeight:*/
        }
    });

    me.drawManager.setMap(myGoogleMap);
    me.PolyListener = google.maps.event.addListener(me.drawManager, 'polygoncomplete', function(e){
        me.myPolygon = e;
        me.drawManager.drawingMode = null;

        var geom = me.getPolygonCoordsText();
        $('#geom').attr('value', geom);
{'fraction_non_alphanumeric': 0.11339633129516398, 'fraction_numerical': 0.011117287381878822, 'mean_word_length': 2.1634446397188047, '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': '4716514', 'n_tokens_mistral': 534, 'n_tokens_neox': 518, 'n_words': 79}