Background Pattern
Name of image in sprite to use for drawing an image background. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.
Parameters
value
the property wrapped in Value to be used with native renderer.
style Image
the optional style image that will be added to the style if available.
Constructors
Link copied to clipboard
Construct the BackgroundPattern with StyleImage.
Link copied to clipboard
Construct the BackgroundPattern with String.
Link copied to clipboard
Construct the BackgroundPattern with Mapbox Expression.
Link copied to clipboard