From e9a31746b6c98cbb4962b2e22729d02ef7412e7f Mon Sep 17 00:00:00 2001 From: DennisSchiefer Date: Fri, 31 Aug 2012 15:11:39 +0100 Subject: [PATCH] fixed order of tile servers for Chrome and IE --- WebContent/base/OSRM.Map.js | 1 + 1 file changed, 1 insertion(+) diff --git a/WebContent/base/OSRM.Map.js b/WebContent/base/OSRM.Map.js index c698d5e9a..da093da06 100644 --- a/WebContent/base/OSRM.Map.js +++ b/WebContent/base/OSRM.Map.js @@ -44,6 +44,7 @@ init: function() { tile_servers[i].options.attribution = tile_servers[i].attribution; base_maps[ tile_servers[i].display_name ] = new L.TileLayer( tile_servers[i].url, tile_servers[i].options ); } + L.Util.stamp( base_maps[ tile_servers[i].display_name ] ); // stamp tile servers so that their order is correct in layers control } // setup map