示例#1
0
        ////////////////////////////////////////////////////////////////////////////
        //--------------------------------- REVISIONS ------------------------------
        // Date       Name                 Tracking #         Description
        // ---------  -------------------  -------------      ----------------------
        // 18JUN2009  James Shen                              Initial Creation
        ////////////////////////////////////////////////////////////////////////////

        /**
         * @inheritDoc
         * @param graphics the graphics object to paint.
         * @param offsetX
         * @param offsetY
         */
        public override void Paint(IGraphics graphics, int offsetX, int offsetY)
        {
            lock (_mapLayers)
            {
                for (int i = 0; i < _mapLayers.Count; i++)
                {
                    MapLayer mapLayer = (MapLayer)_mapLayers[i];
                    mapLayer.Paint(graphics, offsetX, offsetY);
                }
            }
        }