load_map: use const_iterator