Extracted inline map functionality to global assets