@if ($enabled) {{--TODO: If overriding type via @map() then type is not working--}} @if ($type == 'osm' || $type == 'bing') {{-- TODO check if bing needs polyfill: https://github.com/digidem/leaflet-bing-layer--}} @endif @if ($type == 'mapkit') @endif @if($type == 'google') @endif @endif