<commit_before>﻿
namespace Jmelosegui.Mvc.Googlemap
{
    public class GoogleMapClientEvents
    {
        public GoogleMapClientEvents()
        {
            OnMapBoundChanged = new ClientEvent();
            OnMapCenterChanged = new ClientEvent();
            OnMapClick = new ClientEvent();
            OnMapDobleClick = new ClientEvent();
            OnMapRightClick = new ClientEvent();
            OnMapDrag = new ClientEvent();
            OnMapDragEnd = new ClientEvent();
            OnMapDragStart = new ClientEvent();
            OnMapHeadingChanged = new ClientEvent();
            OnMapIdle = new ClientEvent();
            OnMapTypeIdChanged = new ClientEvent();
            OnMouseMove = new ClientEvent();
            OnMouseOut = new ClientEvent();
            OnMouseOver = new ClientEvent();
            OnMapProjectionChanged = new ClientEvent();
            OnResize = new ClientEvent();
            OnTilesLoaded = new ClientEvent();
            OnTiltChanged = new ClientEvent();
            OnZoomChanged = new ClientEvent();
            OnMapLoaded = new ClientEvent();

        }

        public ClientEvent OnMapBoundChanged { get; private set; }

        public ClientEvent OnMapCenterChanged { get; private set; }

        public ClientEvent OnMapClick { get; private set; }

        public ClientEvent OnMapDobleClick { get; private set; }

        public ClientEvent OnMapRightClick { get; private set; }

        public ClientEvent OnMapDrag { get; private set; }

        public ClientEvent OnMapDragEnd { get; private set; }

        public ClientEvent OnMapDragStart { get; private set; }

        public ClientEvent OnMapHeadingChanged { get; private set; }

        public ClientEvent OnMapIdle { get; private set; }

        public ClientEvent OnMapTypeIdChanged { get; private set; }

        public ClientEvent OnMouseMove { get; private set; }

        public ClientEvent OnMouseOut { get; private set; }

        public ClientEvent OnMouseOver { get; private set; }

        public ClientEvent OnMapProjectionChanged { get; private set; }

        public ClientEvent OnResize { get; private set; }

        public ClientEvent OnTilesLoaded { get; private set; }

        public ClientEvent OnTiltChanged { get; private set; }

        public ClientEvent OnZoomChanged { get; private set; }
        public ClientEvent OnMapLoaded { get; private set; }

        public void SerializeTo(ClientSideObjectWriter writer)
        {
            writer.AppendClientEvent("bounds_changed", OnMapBoundChanged);
            writer.AppendClientEvent("center_changed", OnMapCenterChanged);
            writer.AppendClientEvent("click", OnMapClick);
            writer.AppendClientEvent("dblclick", OnMapDobleClick);
            writer.AppendClientEvent("rightclick", OnMapRightClick);
            writer.AppendClientEvent("drag", OnMapDrag);
            writer.AppendClientEvent("dragend", OnMapDragEnd);
            writer.AppendClientEvent("dragstart", OnMapDragStart);
            writer.AppendClientEvent("heading_changed", OnMapHeadingChanged);
            writer.AppendClientEvent("idle", OnMapHeadingChanged);
            writer.AppendClientEvent("maptypeid_changed", OnMapTypeIdChanged);
            writer.AppendClientEvent("mousemove", OnMouseMove);
            writer.AppendClientEvent("mouseout", OnMouseOut);
            writer.AppendClientEvent("mouseover", OnMouseOver);
            writer.AppendClientEvent("projection_changed", OnMapProjectionChanged);
            writer.AppendClientEvent("resize", OnResize);
            writer.AppendClientEvent("tilesloaded", OnTilesLoaded);
            writer.AppendClientEvent("resize", OnTiltChanged);
            writer.AppendClientEvent("zoom_changed", OnZoomChanged);
            writer.AppendClientEvent("map_loaded", OnMapLoaded);
        }
    }

}<commit_msg>Fixes #16: OnIdle event not correct<commit_after>﻿
namespace Jmelosegui.Mvc.Googlemap
{
    public class GoogleMapClientEvents
    {
        public GoogleMapClientEvents()
        {
            OnMapBoundChanged = new ClientEvent();
            OnMapCenterChanged = new ClientEvent();
            OnMapClick = new ClientEvent();
            OnMapDobleClick = new ClientEvent();
            OnMapRightClick = new ClientEvent();
            OnMapDrag = new ClientEvent();
            OnMapDragEnd = new ClientEvent();
            OnMapDragStart = new ClientEvent();
            OnMapHeadingChanged = new ClientEvent();
            OnMapIdle = new ClientEvent();
            OnMapTypeIdChanged = new ClientEvent();
            OnMouseMove = new ClientEvent();
            OnMouseOut = new ClientEvent();
            OnMouseOver = new ClientEvent();
            OnMapProjectionChanged = new ClientEvent();
            OnResize = new ClientEvent();
            OnTilesLoaded = new ClientEvent();
            OnTiltChanged = new ClientEvent();
            OnZoomChanged = new ClientEvent();
            OnMapLoaded = new ClientEvent();

        }

        public ClientEvent OnMapBoundChanged { get; private set; }

        public ClientEvent OnMapCenterChanged { get; private set; }

        public ClientEvent OnMapClick { get; private set; }

        public ClientEvent OnMapDobleClick { get; private set; }

        public ClientEvent OnMapRightClick { get; private set; }

        public ClientEvent OnMapDrag { get; private set; }

        public ClientEvent OnMapDragEnd { get; private set; }

        public ClientEvent OnMapDragStart { get; private set; }

        public ClientEvent OnMapHeadingChanged { get; private set; }

        public ClientEvent OnMapIdle { get; private set; }

        public ClientEvent OnMapTypeIdChanged { get; private set; }

        public ClientEvent OnMouseMove { get; private set; }

        public ClientEvent OnMouseOut { get; private set; }

        public ClientEvent OnMouseOver { get; private set; }

        public ClientEvent OnMapProjectionChanged { get; private set; }

        public ClientEvent OnResize { get; private set; }

        public ClientEvent OnTilesLoaded { get; private set; }

        public ClientEvent OnTiltChanged { get; private set; }

        public ClientEvent OnZoomChanged { get; private set; }
        public ClientEvent OnMapLoaded { get; private set; }

        public void SerializeTo(ClientSideObjectWriter writer)
        {
            writer.AppendClientEvent("bounds_changed", OnMapBoundChanged);
            writer.AppendClientEvent("center_changed", OnMapCenterChanged);
            writer.AppendClientEvent("click", OnMapClick);
            writer.AppendClientEvent("dblclick", OnMapDobleClick);
            writer.AppendClientEvent("rightclick", OnMapRightClick);
            writer.AppendClientEvent("drag", OnMapDrag);
            writer.AppendClientEvent("dragend", OnMapDragEnd);
            writer.AppendClientEvent("dragstart", OnMapDragStart);
            writer.AppendClientEvent("heading_changed", OnMapHeadingChanged);
            writer.AppendClientEvent("idle", OnMapIdle);
            writer.AppendClientEvent("maptypeid_changed", OnMapTypeIdChanged);
            writer.AppendClientEvent("mousemove", OnMouseMove);
            writer.AppendClientEvent("mouseout", OnMouseOut);
            writer.AppendClientEvent("mouseover", OnMouseOver);
            writer.AppendClientEvent("projection_changed", OnMapProjectionChanged);
            writer.AppendClientEvent("resize", OnResize);
            writer.AppendClientEvent("tilesloaded", OnTilesLoaded);
            writer.AppendClientEvent("resize", OnTiltChanged);
            writer.AppendClientEvent("zoom_changed", OnZoomChanged);
            writer.AppendClientEvent("map_loaded", OnMapLoaded);
        }
    }

}
{'fraction_non_alphanumeric': 0.08268532918610678, 'fraction_numerical': 0.0002592016588906169, 'mean_word_length': 2.6888145315487573, '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': '2140972', 'n_tokens_mistral': 1911, 'n_tokens_neox': 1878, 'n_words': 469}