Yes a map is limited to 16 different tile types. This can be done by using JNGP, or using triggers. However, you can't pass this limit, even with triggers in game. You can have up to 16 cliff types. However, it will only show the normal cliff models of the base tileset you use. The extra cliff types will use a different texture though.