Gets data on map. Fixed issue #6.