# GrapeCity.ActiveReports.PageReportModel.MapVectorLayer

## Content

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



  <h1 id="GrapeCity_ActiveReports_PageReportModel_MapVectorLayer" data-uid="GrapeCity.ActiveReports.PageReportModel.MapVectorLayer" class="text-break">MapVectorLayer Class
</h1>
  <div class="markdown level0 summary"><p>Defines a vector-based layer of map elements 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"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLayer.html">MapLayer</a></div>
    <div class="level2"><span class="xref">MapVectorLayer</span></div>
      <div class="level3"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapLineLayer.html">MapLineLayer</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapPointLayer.html">MapPointLayer</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapPolygonLayer.html">MapPolygonLayer</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_MapVectorLayer_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class MapVectorLayer : 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_MapVectorLayer__ctor" data-uid="GrapeCity.ActiveReports.PageReportModel.MapVectorLayer.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapVectorLayer.-ctor.html#GrapeCity_ActiveReports_PageReportModel_MapVectorLayer__ctor">MapVectorLayer()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapVectorLayer.html">MapVectorLayer</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</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_MapVectorLayer_DefaultDataElementOutput" data-uid="GrapeCity.ActiveReports.PageReportModel.MapVectorLayer.DefaultDataElementOutput">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapVectorLayer.DefaultDataElementOutput.html">DefaultDataElementOutput</a>
        </td>
        <td class="markdown level1 summary"><p>The default value of the DataElementOutput property.</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_MapVectorLayer_DataElementName" data-uid="GrapeCity.ActiveReports.PageReportModel.MapVectorLayer.DataElementName">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapVectorLayer.DataElementName.html#GrapeCity_ActiveReports_PageReportModel_MapVectorLayer_DataElementName">DataElementName</a>
        </td>
        <td class="markdown level1 summary"><p>The name to use for the data element/attribute for this value. Must be a CLS-compliant identifier.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapVectorLayer_DataElementOutput" data-uid="GrapeCity.ActiveReports.PageReportModel.MapVectorLayer.DataElementOutput">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapVectorLayer.DataElementOutput.html#GrapeCity_ActiveReports_PageReportModel_MapVectorLayer_DataElementOutput">DataElementOutput</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the item should appear in a data rendering.
That evaluates to one of <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.DataElementOutput.html">DataElementOutput</a>.
The default value is <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.DataElementOutput.html#GrapeCity_ActiveReports_PageReportModel_DataElementOutput_Output">Output</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapVectorLayer_Elements" data-uid="GrapeCity.ActiveReports.PageReportModel.MapVectorLayer.Elements">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapVectorLayer.Elements.html#GrapeCity_ActiveReports_PageReportModel_MapVectorLayer_Elements">Elements</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the elements.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapVectorLayer_MapBindingFieldPairs" data-uid="GrapeCity.ActiveReports.PageReportModel.MapVectorLayer.MapBindingFieldPairs">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapVectorLayer.MapBindingFieldPairs.html#GrapeCity_ActiveReports_PageReportModel_MapVectorLayer_MapBindingFieldPairs">MapBindingFieldPairs</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the set of field/expression pairs for binding the map elements within a layer to the data region.
Mandatory if <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapVectorLayer.MapDataRegionName.html#GrapeCity_ActiveReports_PageReportModel_MapVectorLayer_MapDataRegionName">MapDataRegionName</a> is defined and <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapVectorLayer.MapSpatialData.html#GrapeCity_ActiveReports_PageReportModel_MapVectorLayer_MapSpatialData">MapSpatialData</a> is not <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapSpatialDataRegion.html">MapSpatialDataRegion</a>; ignored otherwise.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapVectorLayer_MapDataRegionName" data-uid="GrapeCity.ActiveReports.PageReportModel.MapVectorLayer.MapDataRegionName">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapVectorLayer.MapDataRegionName.html#GrapeCity_ActiveReports_PageReportModel_MapVectorLayer_MapDataRegionName">MapDataRegionName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets which data region to use as the source. Mandatory if <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapVectorLayer.MapSpatialData.html#GrapeCity_ActiveReports_PageReportModel_MapVectorLayer_MapSpatialData">MapSpatialData</a> is <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapSpatialDataRegion.html">MapSpatialDataRegion</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapVectorLayer_MapFieldDefinitions" data-uid="GrapeCity.ActiveReports.PageReportModel.MapVectorLayer.MapFieldDefinitions">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapVectorLayer.MapFieldDefinitions.html#GrapeCity_ActiveReports_PageReportModel_MapVectorLayer_MapFieldDefinitions">MapFieldDefinitions</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the set of field definitions for the embedded map elements (for example, MapPolygons, MapLines, MapPoints).
Ignored if the embedded map elements are not defined.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_MapVectorLayer_MapSpatialData" data-uid="GrapeCity.ActiveReports.PageReportModel.MapVectorLayer.MapSpatialData">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MapVectorLayer.MapSpatialData.html#GrapeCity_ActiveReports_PageReportModel_MapVectorLayer_MapSpatialData">MapSpatialData</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the spatial data source for the layer. Ignored if the embedded map elements are defined.</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>
