

function NLSProvider () {

}

NLSProvider.prototype.getUrl = function ( x, y, z ) {

	return NLSTileUrlOS( x, y, z );

}

NLSProvider.prototype.getAttribution = function () {

	var a = document.createElement( 'a' );

	a.href = 'http://maps.nls.uk';
	a.textContent = 'map overlay by National Library of Scotland';

	return a;

}
@@ -21,24 +21,97 @@
 er () %7B%0A%0A%7D%0A%0A
+NLSProvider.prototype.minZoom = 12;%0ANLSProvider.prototype.maxZoom = 14;%0A%0A
 NLSProvider.

add min and max zoom to NLSProvider