The Custom Rendering API allows developers to circumvent MapML's rendering and draw anything within HTML's domain onto the map.
tileloadstart event on a templated layer's
<link rel="tile"> element.
This event is fired when a tile is first being created, the event contains the following structure in its detail property:
In this example the
customTile is an HTML
<p>, but you can use any HTML Element. Simply append the
created element using the
(tileloadstart event).detail.appendTile() function, passing the custom tile as an argument of the function.
Needs to be implemented.