Fetch map data from database