lib/odyssey/actions/leaflet/map.js
// helper method to translate leaflet methods to actions
helper method to translate leaflet methods to actions
helper method to translate leaflet methods to actions
function leaflet_method(name) {
    _map[name] = function() {
      var args = arguments;
      return Action(function() {
        map[name].apply(map, args);
      });
    };
  }
function leaflet_method ( name ) { _map [ name ] = function ( ) { var args = arguments ; return Action ( function ( ) { map [ name ] . apply ( map , args ) ; } ) ; } ; }
helper method to translate leaflet methods to actions
helper method to translate leaflet methods to actions