<commit_before>angular.module('myApp', ['nemLogging', 'ui-leaflet'])
  .controller('MyController', ['$scope', 'leafletData',
    function($scope,leafletData) {

      $scope.position = {};
      leafletData.getMap().then(function(map) {
        map.on('dblclick', function(e) {
          $scope.position.lat = e.latlng.lat;
          $scope.position.long = e.latlng.lng;
        });
      });

      angular.extend($scope, {
        seattle: {
          lat: 47.6,
          lng: -122.33,
          zoom: 9
        },

        defaults: {
          scrollWheelZoom: false,
          doubleClickZoom: true,
          tap: false,
          tileLayer: 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
          maxZoom: 14
        }
      });
    }]);<commit_msg>solved weird doubleclick bug<commit_after>angular.module('myApp', ['nemLogging', 'ui-leaflet'])
  .controller('MyController', ['$scope', 'leafletData',
    function($scope,leafletData) {

      $scope.position = {};
      leafletData.getMap().then(function(map) {
        map.on('dblclick', function(e) {
          console.log(e);
          $scope.position.lat = e.latlng.lat;
          $scope.position.long = e.latlng.lng;
        });
      });

      angular.extend($scope, {
        seattle: {
          lat: 47.6,
          lng: -122.33,
          zoom: 9
        },

        defaults: {
          scrollWheelZoom: true,
          doubleClickZoom: false,
          tap: false,
          tileLayer: 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
          maxZoom: 14
        }
      });
    }]);
{'fraction_non_alphanumeric': 0.17208413001912046, 'fraction_numerical': 0.014021669853409816, 'mean_word_length': 1.8442028985507246, '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': '2292609', 'n_tokens_mistral': 534, 'n_tokens_neox': 509, 'n_words': 72}