Skip to content
drawing lerc tiles in leaflet
HTML JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

decode LERC tiles and display them in a Leaflet app.

live demo

So, what is LERC?

LERC is an open-source image format which supports rapid encoding and decoding for any pixel type. Users set the maximum compression error per pixel while encoding so the precision of the original input image is preserved (within user defined error bounds).

unrelatedly, Lurch is arguably a member of the Addams family



slider courtesy of refreshless


Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.


Copyright 2017 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's LICENSE file.

You can’t perform that action at this time.