Use OptionsBuilder in all mapper classes.
This commit is contained in:
1 parent
b96cd80669
commit
52440c35dd
15 files changed
+14
-99
No files matched your search
@@ -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