@foreach (var i in Model) { @:var stops_data = [[{"Geometry": {"Latitude": @i.tlat.ToString(), "Longitude": @i.tlng.ToString() } }, @: { "Geometry": { "Latitude": @i.flat.ToString(), "Longitude": @i.flng.ToString() } }]; }
I am tired to use asp.net foreach to in javascript code. thanks for advance
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)