We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ce0804 commit f6b64f4Copy full SHA for f6b64f4
resources/views/includes/script.blade.php
@@ -18,7 +18,7 @@
18
cooperativeGestures: {{ $cooperativeGestures ? 'true' : 'false' }},
19
});
20
21
- {{ $navigationControls ? 'map.addControl(new mapboxgl.NavigationControl());' : '' }}
+ {{ $navigationControls ? 'map' . $id . '.addControl(new mapboxgl.NavigationControl());' : '' }}
22
23
map{{ $id }}.on('load', function() {
24
map{{ $id }}.resize();
0 commit comments