shim config for leaflet