OptionaldataOptionalmaxA missing tile at zoom Z falls back to Z-1 ... Z-maxOverzoomLevel. Default 6.
OptionalmaxOptionalmaxOptionalminOptionalopacityOptionalpreloadingAlso loads tiles adjacent to the visible ones; costs CPU and network traffic. Default false.
OptionalshaderOptionalsynchronizedShows all visible tiles together once all are loaded, rather than one by one (for animated tiles).
OptionaltileOptionaltileOptionalupdateOptionalvisibleOptionalvisibleOptionalzoomHigher bias uses more detailed tiles for a given view. Default 0.
The shader gets the normal map and the raw texel (
getRawColor()) and must definevec4 applyLighting(lowp vec4 color, mediump vec3 normal, mediump vec3 surfaceNormal, mediump float intensity)returning a premultiplied colour.