The local lord in turn borrowed the capital 's grid pattern when laying out medieval Takayama , which became known as Little Kyoto .
Before it was known as Little Kyoto , Takayama 's layout was created based on the capital 's grid pattern .