Checks if there are coordinates before creating the map
Checks for coordinates before rendering the map