src/Icon.Default.compatibility.js
function (name) {
		// @option imagePath: String
		// `Icon.Default` will try to auto-detect the location of
		// the blue icon images. If you are placing these images in a
		// non-standard way, set this option to point to the right
		// path, before any marker is added to a map.
		// Caution: do not use this option with inline base64 image(s).
		var imagePath = this.options.imagePath || L.Icon.Default.imagePath || '';
		// Deprecated (IconDefault.imagePath), backwards-compatibility only

		if (this._needsInit) {
			// Modifying imagePath option after _getIconUrl has been called
			// once in this instance of IconDefault will no longer have any
			// effect.
			this._initializeOptions(imagePath);
		}

		return imagePath + L.Icon.prototype._getIconUrl.call(this, name);
	}
function (name) {
		// @option imagePath: String
		// `Icon.Default` will try to auto-detect the location of
		// the blue icon images. If you are placing these images in a
		// non-standard way, set this option to point to the right
		// path, before any marker is added to a map.
		// Caution: do not use this option with inline base64 image(s).
		var imagePath = this.options.imagePath || L.Icon.Default.imagePath || '';
		// Deprecated (IconDefault.imagePath), backwards-compatibility only

		if (this._needsInit) {
			// Modifying imagePath option after _getIconUrl has been called
			// once in this instance of IconDefault will no longer have any
			// effect.
			this._initializeOptions(imagePath);
		}

		return imagePath + L.Icon.prototype._getIconUrl.call(this, name);
	}
function ( name ) { // @option imagePath: String // `Icon.Default` will try to auto-detect the location of // the blue icon images. If you are placing these images in a // non-standard way, set this option to point to the right // path, before any marker is added to a map. // Caution: do not use this option with inline base64 image(s). var imagePath = this . options . imagePath || L . Icon . Default . imagePath || '' ; // Deprecated (IconDefault.imagePath), backwards-compatibility only if ( this . _needsInit ) { // Modifying imagePath option after _getIconUrl has been called // once in this instance of IconDefault will no longer have any // effect. this . _initializeOptions ( imagePath ) ; } return imagePath + L . Icon . prototype . _getIconUrl . call ( this , name ) ; }
Override to make sure options are retrieved from CSS.
Override to make sure options are retrieved from CSS .