Method to attach a map value to the link
: the identifier of the link where attach the map
: the query used to attach the map
: the map to attach to the link