# GrapeCity.ActiveReports.PageReportModel.MapLayer

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_PageReportModel_MapLayer" data-uid="GrapeCity.ActiveReports.PageReportModel.MapLayer" class="text-break">MapLayer Class
</h1>
  <div class="markdown level0 summary"><p>Defines a layer to be drawn within a 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">MapLayer</span></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapTileLayer.html">MapTileLayer</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapVectorLayer.html">MapVectorLayer</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.html">GrapeCity.ActiveReports.PageReportModel</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Rdl.dll</h6>
  <h5 id="GrapeCity_ActiveReports_PageReportModel_MapLayer_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class MapLayer</code></pre>
  </div>
  <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="GrapeCity_ActiveReports_PageReportModel_MapLayer__ctor" data-uid="GrapeCity.ActiveReports.PageReportModel.MapLayer.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLayer.-ctor.html#GrapeCity_ActiveReports_PageReportModel_MapLayer__ctor">MapLayer()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLayer.html">MapLayer</a> with default values.</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="GrapeCity_ActiveReports_PageReportModel_MapLayer_MaximumZoom" data-uid="GrapeCity.ActiveReports.PageReportModel.MapLayer.MaximumZoom">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLayer.MaximumZoom.html#GrapeCity_ActiveReports_PageReportModel_MapLayer_MaximumZoom">MaximumZoom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum zoom level at which the layer is visible. Ignored if <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLayer.VisibilityMode.html#GrapeCity_ActiveReports_PageReportModel_MapLayer_VisibilityMode">VisibilityMode</a> != <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapVisibilityMode.html#GrapeCity_ActiveReports_PageReportModel_MapVisibilityMode_ZoomBased">ZoomBased</a>.
An expression should evaluate to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>.
The default value is 200.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapLayer_MinimumZoom" data-uid="GrapeCity.ActiveReports.PageReportModel.MapLayer.MinimumZoom">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLayer.MinimumZoom.html#GrapeCity_ActiveReports_PageReportModel_MapLayer_MinimumZoom">MinimumZoom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the minimum zoom level at which the layer is visible. Ignored if <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLayer.VisibilityMode.html#GrapeCity_ActiveReports_PageReportModel_MapLayer_VisibilityMode">VisibilityMode</a> != <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapVisibilityMode.html#GrapeCity_ActiveReports_PageReportModel_MapVisibilityMode_ZoomBased">ZoomBased</a>.
An expression should evaluate to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>.
The default value is 50.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapLayer_Name" data-uid="GrapeCity.ActiveReports.PageReportModel.MapLayer.Name">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLayer.Name.html#GrapeCity_ActiveReports_PageReportModel_MapLayer_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Name of the layer.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapLayer_Transparency" data-uid="GrapeCity.ActiveReports.PageReportModel.MapLayer.Transparency">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLayer.Transparency.html#GrapeCity_ActiveReports_PageReportModel_MapLayer_Transparency">Transparency</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the transparency for all map elements contained in this layer. Measured in percents.
An expression should evaluate to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>.
The default value is 0.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapLayer_VisibilityMode" data-uid="GrapeCity.ActiveReports.PageReportModel.MapLayer.VisibilityMode">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLayer.VisibilityMode.html#GrapeCity_ActiveReports_PageReportModel_MapLayer_VisibilityMode">VisibilityMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the layer visibility mode.
That evaluates to one of <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapVisibilityMode.html">MapVisibilityMode</a>.
The default value is <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapVisibilityMode.html#GrapeCity_ActiveReports_PageReportModel_MapVisibilityMode_Visible">Visible</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rdl.Tools.CollectionExtensions.AddRange.html#GrapeCity_ActiveReports_Rdl_Tools_CollectionExtensions_AddRange__2___0_System_Collections_Generic_IEnumerable___1__">CollectionExtensions.AddRange&lt;TCollection, TItem&gt;(TCollection, IEnumerable&lt;TItem&gt;)</a>
  </div>

</div>
