Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

chore: Remove gl-matrix import #6

Merged
merged 2 commits into from
Oct 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .ocularrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ export default {
},

aliases: {
test: resolve('./test'),
'gl-matrix/*': resolve('./node_modules/gl-matrix/cjs/*.js')
test: resolve('./test')
},

entry: {
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/dggs-geohash/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Overview

<p class="badges">
<img src="https://img.shields.io/badge/From-v3.7-blue.svg?style=flat-square" alt="From-v3.7" />
<img src="https://img.shields.io/badge/From-v4.0-blue.svg?style=flat-square" alt="From-v4.0" />
</p>


Expand Down
2 changes: 1 addition & 1 deletion docs/modules/dggs-geohash/api-reference/geohash.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# GeoHash API

<p class="badges">
<img src="https://img.shields.io/badge/From-v3.7-blue.svg?style=flat-square" alt="From-v3.7" />
<img src="https://img.shields.io/badge/From-v4.0-blue.svg?style=flat-square" alt="From-v4.0" />
</p>

> The GeoHash functions in math.gl are currently focused on **decoding** S2 encoded data, not encoding it.
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/dggs-quadkey/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Overview

<p class="badges">
<img src="https://img.shields.io/badge/From-v3.7-blue.svg?style=flat-square" alt="From-v3.7" />
<img src="https://img.shields.io/badge/From-v4.0-blue.svg?style=flat-square" alt="From-v4.0" />
</p>

`@math.gl/dggs-quadkey` is a JavaScript library providing math for the Quadkey DGGS (Discrete Global Grid System).
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/dggs-quadkey/api-reference/quadkey.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# QuadKey API

<p class="badges">
<img src="https://img.shields.io/badge/From-v3.7-blue.svg?style=flat-square" alt="From-v3.7" />
<img src="https://img.shields.io/badge/From-v4.0-blue.svg?style=flat-square" alt="From-v4.0" />
</p>


Expand Down
2 changes: 1 addition & 1 deletion docs/modules/dggs-s2/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Overview

<p class="badges">
<img src="https://img.shields.io/badge/From-v3.7-blue.svg?style=flat-square" alt="From-v3.7" />
<img src="https://img.shields.io/badge/From-v4.0-blue.svg?style=flat-square" alt="From-v4.0" />
</p>

`@math.gl/dggs-s2` is a small JavaScript library for working with the S2 DGGS (Discrete Global Grid System).
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/dggs-s2/api-reference/s2.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# S2 API

<p class="badges">
<img src="https://img.shields.io/badge/From-v3.7-blue.svg?style=flat-square" alt="From-v3.7" />
<img src="https://img.shields.io/badge/From-v4.0-blue.svg?style=flat-square" alt="From-v4.0" />
</p>

## Overview
Expand Down
18 changes: 18 additions & 0 deletions docs/roadmap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Roadmap

Some of the high-level goals for future and past versions

## v.Next

- Geometry primitives (spheres, cubes etc)
- ...

## v4.0

- Support ES modules
- Fork gl-matrix (because they are moving to 32 bit precision which is too little for geospatial, and also gl-matrix is not merging the ES module exports we need for wide compatibility).

# v3.6

- Full typescript support

13 changes: 7 additions & 6 deletions docs/whats-new.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
<td>
<center>
<img style={{height: 200}} src="https://raw.github.com/uber-web/math.gl/master/docs/images/dggs/s2.png" />
<p><b>v3.7</b> <i><a target="_blank" href="https://math.gl/docs/modules/s2">S2 (DGGS)</a></i></p>
<p><b>v4.0</b> <i><a target="_blank" href="https://math.gl/docs/modules/s2">S2 (DGGS)</a></i></p>
</center>
</td>
<td>
<center>
<img style={{height: 200}} src="https://raw.github.com/uber-web/math.gl/master/docs/images/dggs/geohash.png" />
<p><b>v3.7</b> <i><a target="_blank" href="https://math.gl/docs/modules/geohash">GeoHash (DGGS)</a></i></p>
<p><b>v4.0</b> <i><a target="_blank" href="https://math.gl/docs/modules/geohash">GeoHash (DGGS)</a></i></p>
</center>
</td>
<td>
<center>
<img style={{height: 200}} src="https://raw.github.com/uber-web/math.gl/master/docs/images/dggs/quadkey.png" />
<p><b>v3.7</b> <i><a target="_blank" href="https://math.gl/docs/modules/quadkey">Quadkey (DGGS)</a></i></p>
<p><b>v4.0</b> <i><a target="_blank" href="https://math.gl/docs/modules/quadkey">Quadkey (DGGS)</a></i></p>
</center>
</td>
</tr>
Expand Down Expand Up @@ -49,9 +49,10 @@

Target Release Date: Q4, 2023

- Three new modules for working with DGGS (Discrete Global Grid System) math.
- Node.js v18 is now officially supported.
- Typescript v5 now used
- New modules for working with DGGS (Discrete Global Grid System) math.
- Node.js v18, v20 are now officially supported.
- Typescript v5
- Removed dependency on gl-matrix

**`@math.gl/dggs-geohash`** (NEW MODULE)

Expand Down
2 changes: 1 addition & 1 deletion modules-legacy/viewport-mercator-project/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"main": "index.js",
"module": "module.js",
"dependencies": {
"@math.gl/web-mercator": "^3.5.5"
"@math.gl/web-mercator": "4.0.0-alpha.4"
}
}
Loading
Loading