Caveview enabled - local copy 3MB

This commit is contained in:
Philip Sargent
2021-04-02 19:02:10 +01:00
parent b71f2c4ebb
commit 371542fb1e
22 changed files with 95738 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
function OSMProvider () {
}
OSMProvider.prototype.getUrl = function ( x, y, z ) {
return 'https://b.tile.openstreetmap.org/' + z + '/' + x + '/' + y + '.png';
}
OSMProvider.prototype.getAttribution = function () {
var a = document.createElement( 'a' );
a.textContent = '© OpenStreetMap contributors';
a.href = 'http://www.openstreetmap.org/copyright';
return a;
}