Dynamic map generation working