mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-10-14 14:46:12 +02:00
Add parent to mapper handle method.
This commit is contained in:
1 parent
2496994759
commit
762e6b5dbc
19 files changed
+77
-42
No files matched your search
@@ -54,10 +54,11 @@ class CircleMapper extends AbstractVectorMapper
|
||||
protected function build(
|
||||
Definition $definition,
|
||||
\Model $model,
|
||||
DefinitionMapper $builder,
|
||||
LatLngBounds $bounds = null
|
||||
DefinitionMapper $mapper,
|
||||
LatLngBounds $bounds = null,
|
||||
Definition $parent = null
|
||||
) {
|
||||
parent::build($definition, $model, $builder, $bounds);
|
||||
parent::build($definition, $model, $mapper, $bounds);
|
||||
|
||||
if ($definition instanceof Circle) {
|
||||
$definition->setLatLng(LatLng::fromString($model->coordinates));
|
||||
|
||||
Reference in new issue
Block a user