#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, 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(); } ); }