mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-12-01 12:33:45 +01:00
Rename MapService to MapProvider
This commit is contained in:
@@ -56,10 +56,10 @@ class BootSubscriber implements EventSubscriberInterface
|
||||
*/
|
||||
public function initializeInsertTagParser(InitializeSystemEvent $event)
|
||||
{
|
||||
$container = $event->getContainer();
|
||||
$debugMode = $container->get(Services::CONFIG)->get('debugMode');
|
||||
$mapService = $container->get('leaflet.map.service');
|
||||
$parser = new LeafletInsertTagParser($mapService, $debugMode);
|
||||
$container = $event->getContainer();
|
||||
$debugMode = $container->get(Services::CONFIG)->get('debugMode');
|
||||
$mapProvider = $container->get('leaflet.map.provider');
|
||||
$parser = new LeafletInsertTagParser($mapProvider, $debugMode);
|
||||
|
||||
$container->get(Services::INSERT_TAG_REPLACER)->registerParser($parser);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user