set_sprite_sheet_data


Description:

public void set_sprite_sheet_data (Pixbuf sprites_pixbuf, string sprites_json) throws Error

Sets the sprite sheet used by the style JSON to render icons and textures.

See https://maplibre.org/maplibre-gl-js-docs/style-spec/sprite/ for details about the spritesheet format. Most stylesheets provide these files along with the main style JSON.

Parameters:

this

a [class@VectorRenderer]

sprites_pixbuf

a [[email protected]]

sprites_json

a JSON string




2022 vala-language.org