Exemplo 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);
        }
Exemplo n.º 2
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;
        }