code: function _detectIconOptions(className, imagePath) {
  	var el = L.DomUtil.create('div',  className, document.body),
  	    urlsContainer = _getBkgImageOrCursor(el),
  	    urls = _extractUrls(urlsContainer, imagePath),
  	    iconX = _getStyleInt(el, 'width'),
  	    iconY = _getStyleInt(el, 'height'),
  	    anchorNX = _getStyleInt(el, 'margin-left'),
  	    anchorNY = _getStyleInt(el, 'margin-top');
  
  	el.parentNode.removeChild(el);
  
  	return {
  		Url: urls[0],
  		RetinaUrl: urls[1],
  		Size: [iconX, iconY],
  		Anchor: [-anchorNX, -anchorNY]
  	};
  }
docs: Retrieve icon option values from CSS (icon or shadow).