From 6ce72e9185ba7728b475bd3c90e7a66a4f8f27e2 Mon Sep 17 00:00:00 2001 From: ahocevar Date: Tue, 8 Jan 2013 14:24:52 +0100 Subject: [PATCH] Adding TileManager to mobile build profile, and note in Map.js As suggested by @probins; see #702. --- build/mobile.cfg | 1 + lib/OpenLayers/Map.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build/mobile.cfg b/build/mobile.cfg index bfe4543412..b41f0bd04c 100644 --- a/build/mobile.cfg +++ b/build/mobile.cfg @@ -29,6 +29,7 @@ OpenLayers/Protocol/HTTP.js OpenLayers/Protocol/WFS.js OpenLayers/Protocol/WFS/v1_0_0.js OpenLayers/Strategy/Fixed.js +OpenLayers/TileManager.js [exclude] diff --git a/lib/OpenLayers/Map.js b/lib/OpenLayers/Map.js index b4000c83c9..872e31cce5 100644 --- a/lib/OpenLayers/Map.js +++ b/lib/OpenLayers/Map.js @@ -375,7 +375,8 @@ OpenLayers.Map = OpenLayers.Class({ * APIProperty: tileManager * {} If configured at construction time, the map * will use the TileManager to queue image requests and to cache tile image - * elements. + * elements. Note: make sure that OpenLayers/TileManager.js is included in + * your build profile. */ tileManager: null,