Updated logic that draws on map.