code: function ( Map, latlng, options ) {
  				var EditDialog;
  				if ( typeof module !== 'undefined' && module.exports ) {
  					EditDialog = require ('./L.Marker.Pin.EditDialog' );
  				}
  				else {
  					EditDialog = L.marker.pin.editdialog ;
  				}
  				options = options || {};
  				options.text = options.text || '';
  				options.phone = options.phone || '';
  				options.url = options.url || '';
  				options.address = options.address || '';
  				options.distance = options.distance || 0;
  				options.exist = false;
  				if ( options.pinCategoryId ) {
  					options.pinCategory = _Categories.getCategory ( options.pinCategoryId );
  				}
  				
  				new EditDialog ( Map, latlng, options ).show ( );
  			}
docs: /*
  --- newPin ( Map, latlng ) method ---
  
  This method show the new pin dialog on the screen and add a new pin to the map at the given position.
  
  Parameters :
  
  - Map : the L.Map object to witch the pin must be added
  
  - latlng : a L.LatLng object with the position of the pin on the map
  
  - options : already completed options for the new pin - not mandatory.