tile.wrap([wrap])
If wrap is specified, sets this tile layout’s wrapping option to the specified boolean value and returns this tile layout. If wrap is not specified, returns the current wrapping option, which defaults to true.
wrap(true)
If wrap is true, wrapping logic will be applied to tile address x values when the layout is evaluated. This will cause map tiles to be displayed in a periodic manner, going beyond longitude values between -180 and 180.
wrap(false)
If wrap is false, wrapping logic will be disabled, limiting tiles to be within longitude values between -180 and 180.
Please login to continue.