Build and register a protocol directly from icons
MapLibre GL JS instance
Protocol name
Registry key
Array of SVG icons
Pixel ratios (default: [1, 2])
Protocol options
Promise resolving to unregister function
Build and register a protocol directly from icons