You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The canvas source type documentation should state that canvas sources are only to be used at runtime in JavaScript code, never in style JSON. This source type is inherently platform-specific: some platforms like iOS have no concept of a rendering surface associated with a unique identifier. A platform-specific source type has no place in a file format that’s intended to be portable across platforms.
Ideally, canvas would be omitted entirely from the style specification. However, GL JS uses the style specification to document its runtime styling API, so that isn’t an option right now.
The
canvas
source type documentation should state thatcanvas
sources are only to be used at runtime in JavaScript code, never in style JSON. This source type is inherently platform-specific: some platforms like iOS have no concept of a rendering surface associated with a unique identifier. A platform-specific source type has no place in a file format that’s intended to be portable across platforms.Ideally,
canvas
would be omitted entirely from the style specification. However, GL JS uses the style specification to document its runtime styling API, so that isn’t an option right now./cc @anandthakker
The text was updated successfully, but these errors were encountered: