Adding and querying map metadata