# Leaflet.EdgeBuffer **Repository Path**: opengis-leaflet/Leaflet.EdgeBuffer ## Basic Information - **Project Name**: Leaflet.EdgeBuffer - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-30 - **Last Updated**: 2021-06-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Leaflet.EdgeBuffer [![Bower version](https://badge.fury.io/bo/leaflet-edgebuffer.svg)](https://badge.fury.io/bo/leaflet-edgebuffer) [![npm version](https://badge.fury.io/js/leaflet-edgebuffer.svg)](https://badge.fury.io/js/leaflet-edgebuffer) Leaflet 1.0 plugin to support pre-loading tiles outside the current viewport on L.GridLayer-based layers. ## Usage Include `Leaflet.EdgeBuffer.js`. By default, a 1 tile buffer will be added beyond the viewport. To define a different buffer size use the options below. ### Options - **edgeBufferTiles**: (number) The number of tiles that should be loaded beyond the edge of the map viewport. This may be a fractional number. Defaults to 1. ## Demos This demo shows two maps, one without this plugin active and one with. - http://www.tolon.co.uk/Leaflet.EdgeBuffer/comparison.html ## Limitations This plugin does not currently work with the GoogleMutant plugin. See issues https://gitlab.com/IvanSanchez/Leaflet.GridLayer.GoogleMutant/issues/27 and https://github.com/TolonUK/Leaflet.EdgeBuffer/issues/10. ## License Leaflet.EdgeBuffer is free software and may be redistributed under the MIT License. [Leaflet]: https://github.com/Leaflet/Leaflet