Framework-agnostic API for a map manager