forked from Snck3rs/contao-leaflet-maps
Use L.Contao as reference to the Contao integration object.
This commit is contained in:
@@ -150,7 +150,7 @@ class BootSubscriber implements EventSubscriberInterface
|
||||
}
|
||||
|
||||
if ($icons) {
|
||||
$buffer = sprintf('ContaoLeaflet.loadIcons(%s);', json_encode($icons));
|
||||
$buffer = sprintf('L.Contao.loadIcons(%s);', json_encode($icons));
|
||||
}
|
||||
|
||||
$file = new \File('assets/leaflet/js/icons.js');
|
||||
|
||||
Reference in New Issue
Block a user