Tilemap is not much (basically nothing) changing the basics.
Answer for why overlap at offset is not working in there. Examples for bit-wise mapping are in there.
But, i do encourage you to figure it out on yourself, always nice to see someone going for it.