razor pages and javascript code example
Example: razor pages and javascript
@foreach(var item in Model)
{
}
$('[data-marker]').each(function() {
var markerData = $(this).data('marker');
addMarker(markerData.Latitude, markerData.Longitude,
markerData.Description, markerData.Title);
});