NB! It seems this console command is not compatible with CS2.
Command Profile

MAP_EDIT

CS:GO

This command may not work. It should load the specified map in edit mode.

Syntax
map_edit [Map Code]

Description

This command may not work. It should load the specified map in edit mode.

Syntax And Arguments

map_edit [Map Code]
Map Code The map code of the map you wish to edit.