map editor and map painting