Update TileCache format determination to support TileCache's weird jpg->jpeg
translation correctly. Also, update example to show usage, and tests to test jpeg instead of testing png incorrectly. git-svn-id: http://svn.openlayers.org/trunk/openlayers@5100 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
"http://c2.labs.metacarta.com/wms-c/cache/",
|
||||
"http://c3.labs.metacarta.com/wms-c/cache/",
|
||||
"http://c4.labs.metacarta.com/wms-c/cache/"],
|
||||
"basic");
|
||||
"basic", {'format': 'image/png'});
|
||||
map.addLayer(layer);
|
||||
map.setCenter(new OpenLayers.LonLat(0, 0), 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user