mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-10-14 14:46:12 +02:00
Fix circles.
This commit is contained in:
1 parent
1bb9fb4d7a
commit
7d3c053bd1
3 files changed
+4
-4
No files matched your search
@@ -12,6 +12,7 @@
|
||||
namespace Netzmacht\Contao\Leaflet\Mapper;
|
||||
|
||||
use Netzmacht\LeafletPHP\Definition;
|
||||
use Netzmacht\LeafletPHP\Definition\HasOptions;
|
||||
|
||||
/**
|
||||
* Class OptionsBuilder handles the option mapping between the database model and the definition.
|
||||
@@ -236,7 +237,7 @@ class OptionsBuilder
|
||||
|
||||
if (method_exists($definition, $setter)) {
|
||||
$definition->$setter($value);
|
||||
} else {
|
||||
} elseif ($definition instanceOf HasOptions) {
|
||||
$definition->setOption($option, $value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user