# C1.Web.Mvc.MapLayerBase-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_MapLayerBase_1" data-uid="C1.Web.Mvc.MapLayerBase`1" class="text-break">MapLayerBase&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>Represents a map layer in the map.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">MapLayerBase&lt;T&gt;</span></div>
      <div class="level2"><a class="xref" href="C1.Web.Mvc.ExtraMapLayer-1.html">ExtraMapLayer&lt;T&gt;</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.html">C1.Web.Mvc</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_MapLayerBase_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class MapLayerBase&lt;T&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class MapLayerBase(Of T)</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_MapLayerBase_1__ctor_C1_Web_Mvc_FlexMap__0__" data-uid="C1.Web.Mvc.MapLayerBase`1.#ctor(C1.Web.Mvc.FlexMap{`0})">
          <a class="xref" href="C1.Web.Mvc.MapLayerBase-1.-ctor.html#C1_Web_Mvc_MapLayerBase_1__ctor_C1_Web_Mvc_FlexMap__0__">MapLayerBase(FlexMap&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.MapLayerBase-1.html">MapLayerBase&lt;T&gt;</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MapLayerBase_1__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_" data-uid="C1.Web.Mvc.MapLayerBase`1.#ctor(Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper)">
          <a class="xref" href="C1.Web.Mvc.MapLayerBase-1.-ctor.html#C1_Web_Mvc_MapLayerBase_1__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_">MapLayerBase(IHtmlHelper)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.MapLayerBase-1.html">MapLayerBase&lt;T&gt;</a> instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_MapLayerBase_1_ColorScale" data-uid="C1.Web.Mvc.MapLayerBase`1.ColorScale">
          <a class="xref" href="C1.Web.Mvc.MapLayerBase-1.ColorScale.html#C1_Web_Mvc_MapLayerBase_1_ColorScale">ColorScale</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets color scale used for fill layer's items.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MapLayerBase_1_ItemsSource" data-uid="C1.Web.Mvc.MapLayerBase`1.ItemsSource">
          <a class="xref" href="C1.Web.Mvc.MapLayerBase-1.ItemsSource.html#C1_Web_Mvc_MapLayerBase_1_ItemsSource">ItemsSource</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a data source for the layer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MapLayerBase_1_OnClientItemsSourceChanged" data-uid="C1.Web.Mvc.MapLayerBase`1.OnClientItemsSourceChanged">
          <a class="xref" href="C1.Web.Mvc.MapLayerBase-1.OnClientItemsSourceChanged.html#C1_Web_Mvc_MapLayerBase_1_OnClientItemsSourceChanged">OnClientItemsSourceChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs after the layer has been bound to a new items source.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MapLayerBase_1_Style" data-uid="C1.Web.Mvc.MapLayerBase`1.Style">
          <a class="xref" href="C1.Web.Mvc.MapLayerBase-1.Style.html#C1_Web_Mvc_MapLayerBase_1_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the layer's style.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MapLayerBase_1_Url" data-uid="C1.Web.Mvc.MapLayerBase`1.Url">
          <a class="xref" href="C1.Web.Mvc.MapLayerBase-1.Url.html#C1_Web_Mvc_MapLayerBase_1_Url">Url</a>
        </td>
        <td class="markdown level1 summary"><p>Get or sets the data source url.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
