Changeset 7df725c in osmose-frontend


Ignore:
Timestamp:
Jun 6, 2013 9:02:18 PM (6 years ago)
Author:
Jocelyn Jaubert <jocelyn.jaubert@…>
Branches:
master
Children:
e08ac4e
Parents:
20a3b99
Message:

Replace OpenLayers?.Layer.OSM by OpenLayers?.Layer.XYZ

File:
1 edited

Legend:

Unmodified
Added
Removed
  • static/map/map.js

    r5891eb8 r7df725c  
    4747    map.addLayer(layerMapquest); 
    4848 
    49     var layerOPNVKarte = new OpenLayers.Layer.OSM("ÖPNV Karte", ["http://tile.memomaps.de/tilegen/${z}/${x}/${y}.png"], { 
     49    var layerOPNVKarte = new OpenLayers.Layer.XYZ("ÖPNV Karte", ["http://tile.memomaps.de/tilegen/${z}/${x}/${y}.png"], { 
    5050        transitionEffect: 'resize', 
    5151    }); 
     
    7373    map.addLayer(layerWhite); 
    7474 
    75     var layerMapnikOsmfr = new OpenLayers.Layer.OSM("Mapnik-osmfr", ["http://a.tile.openstreetmap.fr/osmfr/${z}/${x}/${y}.png", "http://b.tile.openstreetmap.fr/osmfr/${z}/${x}/${y}.png", "http://c.tile.openstreetmap.fr/osmfr/${z}/${x}/${y}.png"], { 
     75    var layerMapnikOsmfr = new OpenLayers.Layer.XYZ("Mapnik-osmfr", ["http://a.tile.openstreetmap.fr/osmfr/${z}/${x}/${y}.png", "http://b.tile.openstreetmap.fr/osmfr/${z}/${x}/${y}.png", "http://c.tile.openstreetmap.fr/osmfr/${z}/${x}/${y}.png"], { 
    7676        transitionEffect: 'resize', 
    7777        attribution: osm_attribution, 
Note: See TracChangeset for help on using the changeset viewer.