Ejemplo n.º 1
0
        // <inheritdoc />
        public IMapLayer CreateMapLayer(int id)
        {
            var mapLayer = _mapFactory.CreateLayer(this, id);

            _layers.TryAdd(id, mapLayer);

            if (DefaultMapLayer == null)
            {
                DefaultMapLayer = mapLayer;
            }

            return(mapLayer);
        }