now initializing map with idle event