“cmd.map_set_border” is a function (reqd by PDA) which allows you to set the level on the edge points of a map
def map_set_border(name, level=0.0, state=0):
map_set_border | cmd.load | api