Refactor the map_marker partial.