#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(159, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(184, 52, true); WriteLiteral("\r\n\t<span class=\"sampleName\">Map / Heat Map</span>\r\n\t"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(257, 161, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This sample indicates to render the legend label from right to left in the Syncfusion ASP.NET Web Forms Maps control.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(450, 399, true); WriteLiteral(@" <div class=""Common""> <div id=""title"" style=""background-color: #FAFAF9;border-color: lightgray;border-width: 2px;opacity: 0.7;height: 60px;width:250px;"" > <span style=""color:Black;font-size:22px;margin:15px;margin-top:13px;margin-left:20px;margin-right:20px;height:25px;font-weight:Normal;"">USA Population 2013</span> </div> <div style=""min-height:435px;""> "); EndContext(); BeginContext(849, 1237, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-map", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "bd261c47c913457fbdb7bc964f3d38e2", async() => { BeginContext(866, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(880, 55, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-zoom-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0e5b897806a742c3a54768b58ca13363", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_ZoomSettings = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ZoomSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ZoomSettings); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\HeatMap.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ZoomSettings.EnableZoom = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-zoom", __Syncfusion_JavaScript_DataVisualization_Models_ZoomSettings.EnableZoom, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(935, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(949, 1118, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-layers", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cbc753b33f644d4da2e174cf76907e63", async() => { BeginContext(959, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(977, 1065, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-layer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "953f53082bd24131b9aef3b901b6670e", async() => { BeginContext(1274, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1296, 294, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-legend-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "92d375c5c1f046ca82c2d492b3d4f104", async() => { BeginContext(1548, 22, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_MapLegendSetting = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.MapLegendSetting>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_MapLegendSetting); #line 24 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\HeatMap.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_MapLegendSetting.ShowLegend = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-legend", __Syncfusion_JavaScript_DataVisualization_Models_MapLegendSetting.ShowLegend, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 24 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\HeatMap.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_MapLegendSetting.Height = 15; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("height", __Syncfusion_JavaScript_DataVisualization_Models_MapLegendSetting.Height, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 24 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\HeatMap.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_MapLegendSetting.Width = 150; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_DataVisualization_Models_MapLegendSetting.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 24 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\HeatMap.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_MapLegendSetting.Position = DockPosition.BottomLeft; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("position", __Syncfusion_JavaScript_DataVisualization_Models_MapLegendSetting.Position, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 24 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\HeatMap.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_MapLegendSetting.Type = LegendType.Layers; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_DataVisualization_Models_MapLegendSetting.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 25 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\HeatMap.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_MapLegendSetting.Mode = LegendMode.Interactive; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("mode", __Syncfusion_JavaScript_DataVisualization_Models_MapLegendSetting.Mode, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_MapLegendSetting.Title = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_DataVisualization_Models_MapLegendSetting.LeftLabel = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_DataVisualization_Models_MapLegendSetting.RightLabel = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1590, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1612, 402, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-shape-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9a31a87ec0bd4a599588953758173a93", async() => { BeginContext(1971, 24, true); WriteLiteral("\r\n\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ShapeSetting>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting); #line 27 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\HeatMap.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.AutoFill = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("auto-fill", __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.AutoFill, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 27 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\HeatMap.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.HighlightBorderWidth = 1; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("highlight-border-width", __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.HighlightBorderWidth, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 27 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\HeatMap.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.StrokeThickness = 0.3; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("stroke-thickness", __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.StrokeThickness, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.SelectionColor = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.Stroke = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.HighlightColor = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.HighlightStroke = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.SelectionStroke = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); #line 29 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\HeatMap.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.SelectionStrokeWidth = 2.5; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("selection-stroke-width", __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.SelectionStrokeWidth, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.ValuePath = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); #line 29 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\HeatMap.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.EnableGradient = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-gradient", __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.EnableGradient, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2014, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ShapeLayer>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\HeatMap.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.LayerType = LayerType.Geometry; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("layer-type", __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.LayerType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\HeatMap.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.EnableMouseHover = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-mouse-hover", __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.EnableMouseHover, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\HeatMap.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.EnableSelection = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-selection", __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.EnableSelection, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\HeatMap.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.ShowTooltip = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-tooltip", __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.ShowTooltip, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.TooltipTemplate = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.ShapeDataPath = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.ShapePropertyPath = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); #line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\HeatMap.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.ShowMapItems = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-map-items", __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.ShowMapItems, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\HeatMap.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.DataSource = ViewBag.datasource; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2042, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_MapCollectionTag = CreateTagHelper <global::Syncfusion.JavaScript.MapCollectionTag>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_MapCollectionTag); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2067, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_MapProperties = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.MapProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_MapProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2086, 760, true); WriteLiteral(@" </div> <script id=""template"" type=""application/jsrender""> <div style=""margin-left:17px;margin-top:-45px;""> <div class=""tip""> <p class=""small"" style=""margin-top:8px""> <span style=""color:white;font-size:14px;font-weight:normal;"">{{:name}}</span> </p> <p class=""big""> <span style=""color:white;font-size:11px;font-weight:normal;"">Population : {{:~parseDouble(population)}}</span> </p> </div> </div> </div> </script> "); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(2872, 9, true); WriteLiteral("\r\n<script"); EndContext(); BeginWriteAttribute("src", " src=\"", 2881, "\"", 2928, 1); #line 54 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\HeatMap.cshtml" WriteAttributeValue("", 2887, Url.Content("~/scripts/MapsData/USA.js"), 2887, 41, false); #line default #line hidden EndWriteAttribute(); BeginContext(2929, 1641, true); WriteLiteral(@"></script> <script> $(""document"").ready(function () { var mapObj = $(""#map"").data(""ejMap""); mapObj.model.layers[0].shapeData = usMap; mapObj.model.layers[0].shapeSettings.colorMappings = {rangeColorMapping: [{ from: 10000001, to: 40000000, gradientColors: [""#F1ECD8"", ""#DEE2B9""] }, { from: 5000001, to: 10000000, gradientColors: [""#DEE2B9"", ""#CBD89A""] }, { from: 1000001, to: 5000000, gradientColors: [""#CBD89A"", ""#B8CE7B""] }, { from: 500000, to: 1000000, gradientColors: [""#B8CE7B"", ""#9CBF4E""] }] }; $(""#map"").ejMap(""refresh""); if (!window.SVGSVGElement) { $(""#map"").css(""min-height"", ""470px""); $(""#map"").ejMap(""refresh""); } }); $.views.helpers({ parseDouble: function (amount) { var delimiter = "",""; var i = parseInt(amount); if (isNaN(i)) { return ''; } "); WriteLiteral(@" var origi = i; // store original to check sign i = Math.abs(i); var minus = ''; if (origi < 0) { minus = '-'; } // sign based on original var n = new String(i); var a = []; while (n.length > 3) { var nn = n.substr(n.length - 3); a.unshift(nn); n = n.substr(0, n.length - 3); } if (n.length > 0) { a.unshift(n); } n = a.join(delimiter); amount = minus + n; return amount; } }); </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(4597, 1603, true); WriteLiteral(@" <style type=""text/css""> .e-interactiveArrow { content: ""▲""; color: #444444; font-size: 12px; pointer-events: none; } p.small {line-height:50%;} p.big {line-height:110%;} .tip { border: 1px solid #4D4D4D; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); border-radius: 7px; margin-right: 25px; min-width: 100px; padding-top: 9px; padding-right: 10px; padding-left: 10px; width: auto; height: auto; background: #4D4D4D; } .tip:before { position: absolute; display: inline-block; border-top: 7px solid transparent; border-right: 7px solid #4D4D4D; "); WriteLiteral(@" border-bottom: 7px solid transparent; border-right-color: #4D4D4D; left: 11px; top: -14px; content: ''; } .tip:after { position: absolute; display: inline-block; border-top: 6px solid transparent; border-right: 6px solid #4D4D4D; border-bottom: 6px solid transparent; left: 13px; top: -13px; content: ''; } </style> "); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(159, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(184, 53, true); WriteLiteral("\r\n\t<span class=\"sampleName\">Map / Selection</span>\r\n\t"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(258, 208, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This sample depicts the results of United States presidential election, 2012 using selection and highlight feature in the Syncfusion ASP.NET Web Forms Maps control.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(498, 375, true); WriteLiteral(@" <div class=""Common""> <div style=""background-color: #FAFAF9;border-color: lightgray;border-width: 2px;opacity: 0.7;;height: 60px;width:240px"" > <span style=""color:Black;font-size:22px;margin:15px;margin-top:13px;margin-left:20px;margin-right:20px;height:25px;font-weight:Normal;"">USA Election 2012</span> </div> <div style=""min-height:435px;""> "); EndContext(); BeginContext(873, 841, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-map", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "eadbdd939d5841cb89e347b526d62a7b", async() => { BeginContext(941, 13, true); WriteLiteral("\r\n "); EndContext(); BeginContext(954, 742, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-layers", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "14452b63006e4539827a2908631e885b", async() => { BeginContext(964, 17, true); WriteLiteral("\r\n "); EndContext(); BeginContext(981, 691, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-layer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2296001f42144cfcbfae8c3a294bb4b7", async() => { BeginContext(1252, 21, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1273, 370, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-shape-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "be49848e0d9d4676919933a035b01637", async() => { BeginContext(1581, 43, true); WriteLiteral(" \r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ShapeSetting>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting); #line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Selection.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.StrokeThickness = 0.5; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("stroke-thickness", __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.StrokeThickness, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Selection.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.HighlightBorderWidth = 1; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("highlight-border-width", __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.HighlightBorderWidth, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Selection.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.AutoFill = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("auto-fill", __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.AutoFill, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.Stroke = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.HighlightStroke = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.ValuePath = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.ColorValuePath = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.SelectionColor = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); #line 24 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Selection.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.SelectionStrokeWidth = 2.5; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("selection-stroke-width", __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.SelectionStrokeWidth, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1643, 19, true); WriteLiteral("\r\n\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ShapeLayer>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer); #line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Selection.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.LayerType = LayerType.Geometry; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("layer-type", __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.LayerType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Selection.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.EnableMouseHover = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-mouse-hover", __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.EnableMouseHover, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Selection.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.EnableSelection = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-selection", __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.EnableSelection, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Selection.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.ShowTooltip = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-tooltip", __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.ShowTooltip, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.TooltipTemplate = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.ShapeDataPath = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.ShapePropertyPath = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Selection.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.ShowMapItems = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-map-items", __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.ShowMapItems, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Selection.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.DataSource = ViewBag.datasource; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1672, 13, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_MapCollectionTag = CreateTagHelper <global::Syncfusion.JavaScript.MapCollectionTag>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_MapCollectionTag); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1696, 9, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_MapProperties = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.MapProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_MapProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_DataVisualization_Models_MapProperties.ShapeSelected = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Selection.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_MapProperties.EnableAnimation = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-animation", __Syncfusion_JavaScript_DataVisualization_Models_MapProperties.EnableAnimation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1714, 2526, true); WriteLiteral(@" </div> <div class=""popup"" id=""closepopup"" style=""margin-top:-150px;margin-left:75%;""> <table style=""margin-top:-10px;width:auto""> <tr> <td align=""left"" style=""padding:0.3px""> <span id=""winner"" style=""color:green;font-size:18px;font-weight:bold;""></span> </td> </tr> <tr> <td align=""left"" style=""padding:0.3px""> <span style=""color:Black;font-size:12px;font-weight:normal;"">State</span> </td> <td align=""left"" style=""padding:0.3px""> <span style=""color:Black;font-size:12px;font-weight:normal;margin-left:8px"">:</span> </td> <td align=""left"" style=""padding:0.3px""> <s"); WriteLiteral(@"pan id=""state"" style=""color:Black;font-size:12px;font-weight:normal;margin-left:8px""></span> </td> </tr> <tr> <td align=""left"" style=""padding:0.3px""> <span style=""color:Black;font-size:12px;font-weight:normal;"">Electoral Votes </span> </td> <td align=""left"" style=""padding:0.3px""> <span style=""color:Black;font-size:12px;font-weight:normal;margin-left:8px"">:</span> </td> <td align=""left"" style=""padding:0.3px""> <span id=""votes"" style=""color:Black;font-size:12px;font-weight:normal;margin-left:8px""></span> </td> </tr> </table> <div class=""close-btn"" id=""closebutton"" style=""margin-left:191px;margin-top:-96px" ); WriteLiteral(@"""><a href=""#"">X</a></div> </div> </div> <script id=""template"" type=""application/jsrender""> <div class=""tip""> <p class=""small"" style=""margin-top:8px""> <span style=""color:white;font-size:12px;font-weight:normal;"">State : {{:State}}</span> </p> <p class=""big""> <span style=""color:white;font-size:12px;font-weight:normal;"">Winner : {{:Candidate}}</span> </p> </div> </script> "); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(4266, 9, true); WriteLiteral("\r\n<script"); EndContext(); BeginWriteAttribute("src", " src=\"", 4275, "\"", 4322, 1); #line 79 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Selection.cshtml" WriteAttributeValue("", 4281, Url.Content("~/scripts/MapsData/USA.js"), 4281, 41, false); #line default #line hidden EndWriteAttribute(); BeginContext(4323, 1960, true); WriteLiteral(@"></script> <script> $(""document"").ready(function () { var mapObj = $(""#maps"").data(""ejMap""); mapObj.model.layers[0].shapeData = usMap; mapObj.model.layers[0].shapeSettings.colorMappings = {equalColorMapping: [{ value: ""Romney"", color: ""#D84444"" }, { value: ""Obama"", color: ""#316DB5"" }] }; $(""#maps"").css(""height"", ""470px""); $(""#maps"").ejMap(""refresh""); }); function onSelect(event) { if (event.originalEvent.length>0) { var matched = jQuery.uaMatch(navigator.userAgent); var browser = matched.browser.toLowerCase(); var isIE11 = !!navigator.userAgent.match(/Trident\/7\./); if (isIE11) browser = ""msie""; var object = event.originalEvent[0].data; var popup = document.getElementById(""closepopup""); var closebutton = document.getElementById(""closebutton""); var winner = document.getElementBy"); WriteLiteral(@"Id(""winner""); var state = document.getElementById(""state""); var vote = document.getElementById(""votes""); $(popup).css(""display"", ""block""); $(closebutton).css({""display"":""block""}); $(closebutton).click(function () { var popup = document.getElementById(""closepopup""); var closebutton = document.getElementById(""closebutton""); $(popup).css(""display"", ""none""); $(closebutton).css(""display"", ""none""); }); if (browser != ""mozilla"") { state.innerText = object.State; vote.innerText = object.Electors; winner.innerText = object.Candidate; } else { state.textContent = object.State; vote.textContent = object.Electors; winner.textContent = object.Candidate; } } } </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(6310, 1892, true); WriteLiteral(@" <style type=""text/css""> p.small {line-height:50%;} p.big {line-height:110%;} .tip { border: 1px solid #4D4D4D; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); border-radius: 7px; margin-right: 25px; min-width: 110px; padding-top: 9px; padding-right: 10px; padding-left: 10px; width: auto; height: auto; background: #4D4D4D; } .popup { border: 1px solid #5B5B5B; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); left:768px; top:362px; margin-bottom: 2em; border-radius: 7px; opacity:0.8; display:none; margin-right"); WriteLiteral(@": 25px; width: 190px; padding: 1em; height: 70px; background: white; } .close-btn { border: 2px solid #5B5B5B; padding: 1px 4px; top: 351px; opacity:0.8; background-color: #605F61; left: 975px; border-radius: 50%/50%; width: 12px; height: 19px; display:none; z-index:1000; } .close-btn a { font-size: 12px; margin-left:2px; font-weight: bold; color: white; text-decoration: none; } </style> "); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(182, 50, true); WriteLiteral("\r\n\t<span class=\"sampleName\">Map / Labels</span>\r\n\t"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(253, 186, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This sample demonstrates data label and range color mapping features based on USA population in the Syncfusion ASP.NET Web Forms Maps control.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(467, 375, true); WriteLiteral(@" <div class=""Common""> <div style=""background-color: #FAFAF9;border-color: lightgray;border-width: 2px;opacity: 0.7;height: 60px;width:280px"" > <span style=""color:Black;font-size:22px;margin:15px;margin-top:18px;margin-left:20px;margin-right:20px;height:25px;font-weight:Normal;"">USA Population 2013</span> </div> <div style=""min-height:435px;""> "); EndContext(); BeginContext(842, 946, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-map", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6741ef8e663745a58eda7d978736f007", async() => { BeginContext(860, 13, true); WriteLiteral("\r\n "); EndContext(); BeginContext(873, 897, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-layers", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7204538e409c46c991dc442c80c8d919", async() => { BeginContext(883, 17, true); WriteLiteral("\r\n "); EndContext(); BeginContext(900, 846, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-layer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b5848c1abe5341449006c6db5b393bca", async() => { BeginContext(1195, 21, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1216, 106, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-label-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1183a2086dd34d14a5ff059d9e24bc89", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_MapLabelSetting = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.MapLabelSetting>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_MapLabelSetting); #line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Labels.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_MapLabelSetting.ShowLabels = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-labels", __Syncfusion_JavaScript_DataVisualization_Models_MapLabelSetting.ShowLabels, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_MapLabelSetting.LabelPath = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); #line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Labels.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_MapLabelSetting.EnableSmartLabel = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-smart-label", __Syncfusion_JavaScript_DataVisualization_Models_MapLabelSetting.EnableSmartLabel, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1322, 21, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1343, 376, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-shape-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "83eadbf06dd14c57bf5537a676c1850a", async() => { BeginContext(1677, 23, true); WriteLiteral("\r\n\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ShapeSetting>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Labels.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.AutoFill = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("auto-fill", __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.AutoFill, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Labels.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.HighlightBorderWidth = 1; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("highlight-border-width", __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.HighlightBorderWidth, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Labels.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.StrokeThickness = 0.3; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("stroke-thickness", __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.StrokeThickness, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.SelectionColor = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.Stroke = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.HighlightColor = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.HighlightStroke = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.SelectionStroke = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); #line 25 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Labels.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.SelectionStrokeWidth = 2.5; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("selection-stroke-width", __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.SelectionStrokeWidth, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.ValuePath = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1719, 17, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ShapeLayer>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Labels.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.LayerType = LayerType.Geometry; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("layer-type", __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.LayerType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Labels.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.EnableMouseHover = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-mouse-hover", __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.EnableMouseHover, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Labels.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.EnableSelection = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-selection", __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.EnableSelection, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Labels.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.ShowTooltip = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-tooltip", __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.ShowTooltip, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.TooltipTemplate = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.ShapeDataPath = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.ShapePropertyPath = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); #line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Labels.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.ShowMapItems = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-map-items", __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.ShowMapItems, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Labels.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.DataSource = ViewBag.datasource; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1746, 13, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_MapCollectionTag = CreateTagHelper <global::Syncfusion.JavaScript.MapCollectionTag>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_MapCollectionTag); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1770, 9, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_MapProperties = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.MapProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_MapProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1788, 505, true); WriteLiteral(@" </div> </div> <script id=""template"" type=""application/jsrender""> <div class=""tip""> <p class=""small""> <span style=""color:white;font-size:11px;font-weight:normal;"">State : {{:name}}</span> </p> <p class=""big""> <span style=""color:white;font-size:11px;font-weight:normal;"">Count : {{:~parseDouble(population)}}</span> </p> </div> </script> "); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(2319, 9, true); WriteLiteral("\r\n<script"); EndContext(); BeginWriteAttribute("src", " src=\"", 2328, "\"", 2375, 1); #line 47 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Labels.cshtml" WriteAttributeValue("", 2334, Url.Content("~/scripts/MapsData/USA.js"), 2334, 41, false); #line default #line hidden EndWriteAttribute(); BeginContext(2376, 1640, true); WriteLiteral(@"></script> <script> $(""document"").ready(function () { var mapObj = $(""#maps"").data(""ejMap""); mapObj.model.layers[0].shapeData = usMap; mapObj.model.layers[0].shapeSettings.colorMappings = {rangeColorMapping: [{from: 500000,to: 1000000,color: ""#9BC585""}, {from: 1000001,to: 5000000,color: ""#D2DB9A""}, {from: 5000001,to: 10000000,color: ""#A4D4BF""}, {from: 10000001,to: 40000000, color: ""#E0C68F""}] }; $(""#maps"").ejMap(""refresh""); if (!window.SVGSVGElement) { $(""#map"").css(""min-height"", ""470px""); $(""#map"").ejMap(""refresh""); } }); $.views.helpers({ parseDouble: function (amount) { var delimiter = "",""; var i = parseInt(amount); if (isNaN(i)) { return ''; } var origi = "); WriteLiteral(@"i; // store original to check sign i = Math.abs(i); var minus = ''; if (origi < 0) { minus = '-'; } // sign based on original var n = new String(i); var a = []; while (n.length > 3) { var nn = n.substr(n.length - 3); a.unshift(nn); n = n.substr(0, n.length - 3); } if (n.length > 0) { a.unshift(n); } n = a.join(delimiter); amount = minus + n; return amount; } }); </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(4043, 631, true); WriteLiteral(@" <style type=""text/css""> p.small {line-height:70%;} p.big {line-height:110%;} .tip { border: 1px solid #4D4D4D; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); border-radius: 7px; margin-right: 25px; min-width: 110px; padding-top: 9px; padding-right: 10px; padding-left: 10px; width: auto; height: auto; background: #4D4D4D; } </style> "); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(159, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(184, 56, true); WriteLiteral("\r\n\t<span class=\"sampleName\">Map / Data Markers</span>\r\n\t"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(262, 149, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This sample indicates the top five population countries in the Syncfusion ASP.NET Web Forms Maps control.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(439, 397, true); WriteLiteral(@" <div class=""Common""> <div style=""background-color: #FAFAF9;border-color: lightgray;border-width: 2px;opacity: 0.7;height: 50px;width:290px;"" > <span style=""color:Black;font-size:22px;margin:15px;margin-top:10px;margin-left:15px;margin-right:20px;height:25px;font-weight:Normal;"">Syncfusion Locations</span> </div> <div style=""min-height:435px;position:relative;""> "); EndContext(); BeginContext(836, 710, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-map", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7f38409d2073478ea4f7ec41994566d3", async() => { BeginContext(883, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(897, 171, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-navigation-control", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9f9903b8706a46a38f29946ec33adcc9", async() => { BeginContext(1015, 30, true); WriteLiteral(" \r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_NavigationControl = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.NavigationControl>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_NavigationControl); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Default.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_NavigationControl.EnableNavigation = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-navigation", __Syncfusion_JavaScript_DataVisualization_Models_NavigationControl.EnableNavigation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Default.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_NavigationControl.Orientation = Orientation.Vertical; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_DataVisualization_Models_NavigationControl.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Default.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_NavigationControl.DockPosition = DockPosition.None; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("dock-position", __Syncfusion_JavaScript_DataVisualization_Models_NavigationControl.DockPosition, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1068, 25, true); WriteLiteral(" \r\n "); EndContext(); BeginContext(1093, 54, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-zoom-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "db4aaa2d23da4f57a5a2dec33d5c4480", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_ZoomSettings = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ZoomSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ZoomSettings); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Default.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ZoomSettings.EnableZoom = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-zoom", __Syncfusion_JavaScript_DataVisualization_Models_ZoomSettings.EnableZoom, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1147, 13, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1160, 367, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-layers", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b132f0d17db3433499b46a3f249081d2", async() => { BeginContext(1170, 17, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1187, 316, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-layer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b9584a34e6e7497ba2e85485b0cdc0c3", async() => { BeginContext(1280, 21, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1301, 175, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-shape-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4a537cf4e6be4fb09082182a4c933ae6", async() => { BeginContext(1436, 21, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ShapeSetting>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.ValuePath = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.Fill = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.Stroke = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); #line 24 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Default.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.AutoFill = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("auto-fill", __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.AutoFill, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.HighlightStroke = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_DataVisualization_Models_ShapeSetting.HighlightColor = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1476, 17, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.ShapeLayer>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Default.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.LayerType = LayerType.Geometry; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("layer-type", __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.LayerType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.MarkerTemplate = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Default.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.EnableAnimation = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-animation", __Syncfusion_JavaScript_DataVisualization_Models_ShapeLayer.EnableAnimation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1503, 13, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_MapCollectionTag = CreateTagHelper <global::Syncfusion.JavaScript.MapCollectionTag>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_MapCollectionTag); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1527, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_MapProperties = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.MapProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_MapProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Default.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_MapProperties.EnableAnimation = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-animation", __Syncfusion_JavaScript_DataVisualization_Models_MapProperties.EnableAnimation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1546, 705, true); WriteLiteral(@" </div> <script id=""template"" type=""application/jsrender""> <div > <div style=""background-image:url(../images/map/pin.png);margin-top:-38px;margin-left:-11px;height:40px;width:26px;background-repeat:no-repeat;""> </div> <div style=""background-image:url(../images/map/mappath.png);margin-left:5px;height:25px;width:80px;margin-top:-15px;""> </div> <div style=""margin-left:10px;height:45px;width:80px;margin-top:-25px;""> <span style=""color:white;margin-left:15px;font-weight:normal"">{{:Name}}</span> <p/> </div> </div> </div> </script> "); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(2277, 9, true); WriteLiteral("\r\n<script"); EndContext(); BeginWriteAttribute("src", " src=\"", 2286, "\"", 2338, 1); #line 48 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Maps\Default.cshtml" WriteAttributeValue("", 2292, Url.Content("~/scripts/MapsData/WorldMap.js"), 2292, 46, false); #line default #line hidden EndWriteAttribute(); BeginContext(2339, 751, true); WriteLiteral(@"></script> <script> $(""document"").ready(function () { var mapObj = $(""#container"").data(""ejMap""); var synLocatn = [ { ""Name"": ""USA"", ""latitude"": 38.8833, ""longitude"": -77.0167 }, { ""Name"": ""Brazil"", ""latitude"": -15.7833, ""longitude"": -47.8667 }, { ""Name"": ""India"", ""latitude"": 21.0000, ""longitude"": 78.0000 }, { ""Name"": ""China"", ""latitude"": 35.0000, ""longitude"": 103.0000 }, { ""Name"": ""Indonesia"", ""latitude"": -6.1750, ""longitude"": 106.8283 } ] mapObj.model.layers[0].shapeData = world_map; mapObj.model.layers[0].markers = synLocatn; $(""#container"").css(""height"", ""470px""); $(""#container"").ejMap(""refresh""); }); </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(3117, 509, true); WriteLiteral(@" <style type=""text/css""> .panButton{ border-radius: 5px; } .e-map{ position:static; } .panButton,.incrementButton{ -moz-user-select : none; -khtml-user-select : none; -webkit-user-select : none; -o-user-select : none; user-select : none; width:18px; height:18px; border:1px solid white; background-color:gray; } .panButton:hover,.incrementButton:hover { cursor:pointer; background-color:#676868; } </style> "); EndContext(); } ); }