Пример #1
0
        public RequestedTileInformation GetTileInformation(long x, long y, int zoom)
        {
            RequestedTileInformation result = null;
            //select the correct subfile
            SubFile sf = (from s in _subFiles where zoom >= s.ZoomIntervalConfig.MinZoomLevel && zoom <= s.ZoomIntervalConfig.MaxZoomLevel select s).FirstOrDefault();

            if (sf != null)
            {
                result = sf.GetTileInformation(x, y, zoom);
            }
            return(result);
        }