---
layout: api
title: "v2.1.7 JavaScript Library: L.mapbox.marker.icon(properties)"
categories: api
version: v2.1.7
permalink: /api/v2.1.7/l-mapbox-marker-icon/
---
<h2 id="section-l-mapbox-marker-icon">L.mapbox.marker.icon(properties)</h2>
<p>A core icon generator used in <code><a href="/mapbox.js/api/v2.1.7/l-mapbox-marker-style">L.mapbox.marker.style</a></code></p>
<table>
<thead>
<tr>
<th>Options</th>
<th>Value</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>feature</td>
<td>object</td>
<td>A