more dynamic template stuff.
I am pulling the map from the server, but I still need to work on the promise stuff as I don't think that I am guaranteed that it will be there when I need it.