diff --git a/src/MapProvider.php b/src/MapProvider.php index 631b404..38cbfa8 100644 --- a/src/MapProvider.php +++ b/src/MapProvider.php @@ -203,7 +203,7 @@ class MapProvider } } - $buffer = $this->doGenerate($mapId, $filter, $elementId, $template, $model, $style); + $buffer = $this->doGenerate($model, $filter, $elementId, $template, $style); if ($model->cache) { $this->cache->save(