>Implementing Custom Layers</h3>

<p>The most important things know about when implementing custom layers are Map <a href="/mapbox.js/api/v2.2.4/l-map-class">viewreset</a> event and <a href="/mapbox.js/api/v2.2.4/l-map-class">latLngToLayerPoint</a> method. <code>viewreset</code> is fired when the map needs to reposition its layers (e.g. on zoom), and <code>latLngToLayerPoint</code> is used to get coordinates for the layer's new position.</p>

<p>Another event often used in layer implementations is <a hr