mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-05-31 12:01:17 +02:00
Use OptionsBuilder in all mapper classes.
This commit is contained in:
@@ -39,6 +39,6 @@ class ScaleControlMapper extends AbstractControlMapper
|
||||
{
|
||||
parent::initialize();
|
||||
|
||||
$this->addOptions('maxWidth', 'metric', 'imperial', 'updateWhenIdle');
|
||||
$this->optionsBuilder->addOptions('maxWidth', 'metric', 'imperial', 'updateWhenIdle');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user