passing maps and metadata to the local planner