diff --git a/tweet-sentiment/WebApp/Models/HBaseReader.cs b/tweet-sentiment/WebApp/Models/HBaseReader.cs index ac5791d..2555b06 100644 --- a/tweet-sentiment/WebApp/Models/HBaseReader.cs +++ b/tweet-sentiment/WebApp/Models/HBaseReader.cs @@ -62,8 +62,8 @@ public async Task> QueryTweetsByKeywordAsync(string keyword) } list.Add(new Tweet { - Longtitude = Convert.ToDouble(lonlat[0]), - Latitude = Convert.ToDouble(lonlat[1]), + Longtitude = Convert.ToDouble(string.Format("{0},{1}", lonlat[0], lonlat[1])), + Latitude = Convert.ToDouble(string.Format("{0},{1}", lonlat[2], lonlat[3])), Sentiment = sentiment }); }