function initialLoader() {
    var geolocatingLoader = L.control({position: 'topright'});

    geolocatingLoader.onAdd = function() {
        var div = L.DomUtil.create('div', 'geolocating');
        div.innerHTML = 'Attempting to find your location...';
        return div;
    };
    geolocatingLoader.addTo(map);

    return geolocatingLoader;
}
//Show the message: Attempting to find your location
Show the message: Attempting to find your location
Show the message : Attempting to find your location
function initialLoader() {
    var geolocatingLoader = L.control({position: 'topright'});
    geolocatingLoader.onAdd = function() {
        var div = L.DomUtil.create('div', 'geolocating');
        div.innerHTML = 'Attempting to find your location...';
        return div;
    };
    geolocatingLoader.addTo(map);
    return geolocatingLoader;
}
function initialLoader ( ) { var geolocatingLoader = L . control ( { position : 'topright' } ) ; geolocatingLoader . onAdd = function ( ) { var div = L . DomUtil . create ( 'div' , 'geolocating' ) ; div . innerHTML = 'Attempting to find your location...' ; return div ; } ; geolocatingLoader . addTo ( map ) ; return geolocatingLoader ; }
Show the message: Attempting to find your location
Show the message : Attempting to find your location