Added ref to the current base map into the generated link