Fix map on retina displays

map was being referred to before it was defined inside of the retina conditional