addSprite

fun addSprite(identifier: String, url: URL)

Registers a sprite resource that can be referenced from style layers.

Parameters

identifier

Unique identifier for the sprite.

url

Fully qualified URL to the sprite image.