map editor init