Show
Ignore:
Timestamp:
07/05/07 22:33:52 (18 months ago)
Author:
dom
Message:

Use tile.openstreetmap.org instead

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • sites/oxford.openguides.org/templates/node.tt

    r1112 r1113  
    1818    new GKeyboardHandler(map); 
    1919    var copycol = new GCopyrightCollection(""); 
    20     var copy = new GCopyright(1, new GLatLngBounds(new GLatLng(-90,-180),new GLatLng(90,180)), 0, "OpenStreetMap"); 
     20    var copy = new GCopyright(1, new GLatLngBounds(new GLatLng(-90,-180),new GLatLng(90,180)), 0, "<a href='http://www.openstreetmap.org>OpenStreetMap</a>"); 
    2121    copycol.addCopyright(copy); 
    22     var tileMapnik = new GTileLayer(copycol,1,17); 
    23     tileMapnik.myBaseURL = "http://mapnik.uberfoo.com/"; 
     22    var tileMapnik = new GTileLayer(copycol,1,18); 
     23    tileMapnik.myBaseURL = "http://tile.openstreetmap.org/"; 
    2424    tileMapnik.getTileUrl=MapnikGetTileUrl; 
    2525    tileMapnik.isPng = function () { return true;} 
     
    2727 
    2828    var layer0 = [tileMapnik]; 
    29     var mapnikMap = new GMapType(layer0, G_SATELLITE_MAP.getProjection(), "Mapnik", G_SATELLITE_MAP); 
     29    var mapnikMap = new GMapType(layer0, G_SATELLITE_MAP.getProjection(), "OSM", G_SATELLITE_MAP); 
    3030    map.addMapType(mapnikMap); 
    3131