All code for prototype map location