@foreach (var QuestionAnswers in Model)
{
var markers = [{
coords: { lat: @QuestionAnswers.latitude, lng: @QuestionAnswers.longitude},
},];
}
How can I add value within foreach loop?
var markers = [{
coords: { lat: @QuestionAnswers.latitude, lng: @QuestionAnswers.longitude},
},];
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Shoaib AhmedPosted Jan 9, 2019, 4:25 AM
Sreekanth ReddyPosted Jan 9, 2019, 4:11 AM