Setting up map editor