protected TiledLayer()
{
base.progressWeight = 0.0;
uniqueLayerId = string.Format(CultureInfo.InvariantCulture, "TiledLayer{0}", uniqueId++);
TileSize = MagicNumber.TILEDLAYER_DEFAULT_SIZE;
needShowTiles = new List<Tile>();
_queueSystem = QueueSystem.Instance;
_sync = SynchronizationContext.Current;
_queueSystem.Register(uniqueLayerId, this.LocalStorage, GetImage);
_queueSystem.ImageCompleted += _queueSystem_ImageCompleted;
_inContainer = new Dictionary<string, Tile>();
}