AMD shim for Leaflet locate control