Some implementation regarding the map management