New TileManager
This removes all tile queueing/loading specific code from Layer.Grid and creates a new class that manages tile loading and caching.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
var map;
|
||||
var map, tileManager;
|
||||
|
||||
(function() {
|
||||
// Set document language for css content
|
||||
@@ -124,6 +124,7 @@ var map;
|
||||
}
|
||||
}
|
||||
});
|
||||
tileManager = new OpenLayers.TileManager({map: map});
|
||||
layerPanel.activateControl(mapButton);
|
||||
layerPanel.activateControl(labelButton);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user