added class method to generate the canoicalURL for a mapID