1. (location) where? what place? - an interrogative which functions like a locative or location word and is used after prepositions, i.e. kei hea? where?; ko hea? where is?; ki hea? where to?; i hea? where were? from where?; nō hea? where from?; o hea? of what place?; mā hea? via where? by what means?.
Mā hea mai koutou? / How did you come?/Which way did you come?
(Te Kākano Textbook (Ed. 2): 3, 12, 29, 47-48; Te Pihinga Textbook (Ed. 2): 64-65, 66;)
3. (location) and other places - when repeated after a particular particle following named places preceded by the same particle.
Ko te wa tēnei i putaputa ai ngā rangatira o ia iwi, o ia iwi ki ngā wāhi katoa haere ai, puta atu ki Ākarana, ki Pōneke, ki hea, ki hea (TWMNT 19/5/1874:142). / This was the time when the chiefs of the various tribes began to travel about visiting Auckland, Wellington, and other places.
4. (location) any place, everywhere.
Ko ēnei kupu katoa i runga ake nei, i te nama 39 tae ki te 48, mō ngā taonga, e tau ana ki ngā taonga katoa e tae ana ki ngā ringaringa o ngā āpiha o te rerewē i ngā whare takotoranga taonga, tari rānei, i ngā rerewē katoa i hea, i hea rānei (TWMNT 28/12/1875:322). / All these conditions above, from number 39 to 48, apply to all parcels and goods arriving into the hands of the officers of the railway at the warehouses and offices wherever situated.