forked from expo/troggle
Caveview enabled - local copy 3MB
This commit is contained in:
25
media/jslib/CaveView/lib/NLSProvider.js
Normal file
25
media/jslib/CaveView/lib/NLSProvider.js
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
|
||||
function NLSProvider () {
|
||||
|
||||
}
|
||||
|
||||
NLSProvider.prototype.minZoom = 12;
|
||||
NLSProvider.prototype.maxZoom = 14;
|
||||
|
||||
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;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user