Skip to content

Commit

Permalink
Build/coverage badges
Browse files Browse the repository at this point in the history
  • Loading branch information
tsherif committed May 2, 2020
1 parent 9cab409 commit 75295f9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
@@ -1,7 +1,7 @@
MercatorGL
==========

[![GZIP size](https://badge-size.herokuapp.com/tsherif/mercator-gl/master/build/mercator-gl.min.js.svg?compression=gzip)](https://github.com/tsherif/mercator-gl/blob/master/build/mercator-gl.min.js) [![License](https://img.shields.io/github/license/tsherif/mercator-gl.svg)](https://github.com/tsherif/mercator-gl/blob/master/LICENSE) [![NPM](https://img.shields.io/npm/v/mercator-gl.svg)](https://www.npmjs.com/package/mercator-gl)
[![Build Status](https://img.shields.io/travis/tsherif/mercator-gl)](https://travis-ci.org/tsherif/mercator-gl) [![Coverage Status](https://img.shields.io/coveralls/github/tsherif/mercator-gl)](https://coveralls.io/github/tsherif/mercator-gl?branch=master) [![GZIP size](https://badge-size.herokuapp.com/tsherif/mercator-gl/master/build/mercator-gl.min.js.svg?compression=gzip)](https://github.com/tsherif/mercator-gl/blob/master/build/mercator-gl.min.js) [![License](https://img.shields.io/github/license/tsherif/mercator-gl.svg)](https://github.com/tsherif/mercator-gl/blob/master/LICENSE) [![NPM](https://img.shields.io/npm/v/mercator-gl.svg)](https://www.npmjs.com/package/mercator-gl)

MercatorGL is a minimal library for calculating web mercator projections on a GPU using WebGL. It provides utilities to inject GLSL code for projecting longitude/latitude coordinates into already exisiting vertex shader code and calculate the uniforms it requires. MercatorGL focuses on numerical stability by performing most calculations at 64-bit precision, and switching to an "offset mode" at higher zoom levels (using a technique borrowed from [deck.gl](https://medium.com/vis-gl/how-sometimes-assuming-the-earth-is-flat-helps-speed-up-rendering-in-deck-gl-c43b72fd6db4)).

Expand Down
2 changes: 1 addition & 1 deletion glcheck.config.json
Expand Up @@ -9,5 +9,5 @@
],
"referenceImageDir": "test/reference-images",
"coverageFiles": "src/*.js",
"renderTimeout": 10000
"renderTimeout": 20000
}
6 changes: 6 additions & 0 deletions index.html
Expand Up @@ -11,6 +11,12 @@
<a href="https://github.com/tsherif/mercator-gl"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"></a>
<h1>MercatorGL</h1>
<div class="description">
<a class="badge-link" href="https://travis-ci.org/tsherif/mercator-gl">
<img src="https://img.shields.io/travis/tsherif/mercator-gl">
</a>
<a href="https://coveralls.io/github/tsherif/mercator-gl?branch=master">
<img src="https://img.shields.io/coveralls/github/tsherif/mercator-gl" alt="Coverage Status" />
</a>
<a class="badge-link" href="https://github.com/tsherif/mercator-gl/blob/master/build/mercator-gl.min.js">
<img src="https://badge-size.herokuapp.com/tsherif/mercator-gl/master/build/mercator-gl.min.js.svg?compression=gzip">
</a>
Expand Down

0 comments on commit 75295f9

Please sign in to comment.