Пример #1
0
        private void OnVectorDataReceived(CustomTile tile, VectorTile vectorTile)
        {
            if (tile == null)
            {
                return;
            }
            TilesWaitingResponse.Remove(tile);

            _builder.Create(vectorTile.Data.GetLayer(DronesMap.LayerName), tile);

            if (++_counter != ManhattanTileProvider.Tiles.Count)
            {
                return;
            }
            AllBuildingsLoaded?.Invoke();
        }