Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1525: Invalid expression term '{'

Source Error:


Line 21:             mapTypeId: google.maps.MapTypeId.ROADMAP };
Line 22:         map = new google.maps.Map(document.getElementById('gmap_canvas'), myOptions);
Line 23:         marker = new go@modeogle.maps.Marker({ map: map, position: new google.maps.LatLng(@Model.Consultant.MapLatitude, @Model.Consultant.MapLongitude) });
Line 24:         infowindow = new google.maps.InfoWindow({
Line 25:             content: '<strong>@Html.Raw(Model.Consultant.CompanyName)</strong><br>@Html.Raw(Model.Consultant.Address)<br>' });

Source File: d:\Inetpub\vhosts\campus.pk\migration.pk\Views\Consultants\ConsultantDetail.cshtml    Line: 23






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0