mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-10-14 14:46:12 +02:00
Simplify getting of class name.
This commit is contained in:
1 parent
25d4dace71
commit
b65bcbff9f
5 files changed
+5
-40
No files matched your search
@@ -26,13 +26,6 @@ use Netzmacht\LeafletPHP\Plugins\Loading\SpinJsLoadingControl;
|
||||
*/
|
||||
class LoadingControlMapper extends AbstractControlMapper
|
||||
{
|
||||
/**
|
||||
* Class of the definition being created.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected static $definitionClass = 'Netzmacht\LeafletPHP\Plugins\Loading\LoadingControl';
|
||||
|
||||
/**
|
||||
* Layer type.
|
||||
*
|
||||
@@ -49,7 +42,7 @@ class LoadingControlMapper extends AbstractControlMapper
|
||||
return 'Netzmacht\LeafletPHP\Plugins\Loading\SpinJsLoadingControl';
|
||||
}
|
||||
|
||||
return parent::getClassName($model, $mapper, $bounds);
|
||||
return 'Netzmacht\LeafletPHP\Plugins\Loading\LoadingControl';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user