mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-12-01 14:21:52 +00:00
25 lines
426 B
JavaScript
25 lines
426 B
JavaScript
|
|
|
|
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;
|
|
|
|
} |