Esempio n. 1
0
        /// <summary>
        /// Create a new tile and fill it with the default value for the layer
        /// </summary>
        /// <param name="tileCoord"></param>
        /// <returns></returns>
        protected override MapBuffer CreateTileImpl(CoordXZ tileCoord)
        {
            MapBuffer buffer = new MapBufferARGB(map, samplesPerTile, metersPerSample);

            buffer.Fill((uint)defaultColor.ToARGB());

            return(buffer);
        }
        /// <summary>
        /// Create a new tile and fill it with the default value for the layer
        /// </summary>
        /// <param name="tileCoord"></param>
        /// <returns></returns>
        protected override MapBuffer CreateTileImpl(CoordXZ tileCoord)
        {
            MapBuffer buffer = new MapBufferARGB(map, samplesPerTile, metersPerSample);

            buffer.Fill((uint)defaultColor.ToARGB());

            return buffer;
        }