964 Commits

Author SHA1 Message Date
Xiaoji Chen
0144ea5802
Fix mouse events regression (#2158) 2023-04-12 09:35:27 -07:00
Xiaoji Chen
c81683a791
Improve map reuse consistency (#2155) 2023-04-11 10:43:57 -07:00
Jungzl
1c94856298
fix: query only the layers that have been loaded (#2128) 2023-04-11 10:43:16 -07:00
Martin Petrov
86efdc0433
Inherit parent height inmapboxgl-children div (#2132) 2023-04-11 10:42:26 -07:00
Xiaoji Chen
074a4094b1
set global settings before checking support status (#2138)
Co-authored-by: Chris Gervang <chrisgervang@users.noreply.github.com>
2023-03-06 12:23:48 -08:00
Adam Krebs
2845d6033c
Change return type of useControl to return T instead of any (#2137)
When the useControl file is compiled to the d.ts file, its return value is lost
2023-03-06 12:12:18 -08:00
Francisco Pérez Sampayo
109c334bdf
Change fog and terrain types to match Mapbox types. (#2106) 2023-01-21 14:46:36 -08:00
Hieu Lam
9baded6e51
fix reuseMaps not removing map children (#2092) 2023-01-07 12:09:53 -08:00
dependabot[bot]
b95ad3fdf2
Bump express from 4.17.1 to 4.18.2 in /website (#2081)
Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.18.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.1...4.18.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-01 14:08:51 -08:00
dependabot[bot]
041b2e968e
Bump decode-uri-component from 0.2.0 to 0.2.2 in /website (#2066)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-01 14:08:44 -08:00
dependabot[bot]
017b343c44
Bump qs from 6.5.2 to 6.5.3 in /website (#2063)
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-01 14:08:35 -08:00
dependabot[bot]
57a0b18ce8
Bump moment from 2.29.2 to 2.29.4 in /website (#1951)
Bumps [moment](https://github.com/moment/moment) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.2...2.29.4)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-01 14:08:25 -08:00
dependabot[bot]
5a450e273c
Bump decode-uri-component from 0.2.0 to 0.2.2 (#2061)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-01 14:07:31 -08:00
dependabot[bot]
0462476b87
Bump qs from 6.5.2 to 6.5.3 (#2062)
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-01 14:07:19 -08:00
dependabot[bot]
7364532a1a
Bump express from 4.17.2 to 4.18.2 (#2083)
Bumps [express](https://github.com/expressjs/express) from 4.17.2 to 4.18.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.2...4.18.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-01 14:07:09 -08:00
dependabot[bot]
1d36ca5c03
Bump minimatch from 3.0.4 to 3.1.2 (#2049)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-01 14:06:58 -08:00
theRuslan
4c6606c948
fix broken link to contributing guide (#2054) 2022-11-28 09:51:34 -08:00
Marcel Tams
c8d0401bb7
Docs: fix error in code (#2012)
Co-authored-by: Xiaoji Chen <Pessimistress@users.noreply.github.com>
2022-11-28 09:50:56 -08:00
Benoît Simard
6213d5758a
Fix SymbolLayer crash on style update (#2047) 2022-11-14 14:00:35 -08:00
dependabot[bot]
8a15a1fc20
Bump loader-utils from 1.4.0 to 1.4.2 in /website (#2046)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 09:20:56 -08:00
dependabot[bot]
ac5a4c65a2
Bump socket.io-parser from 3.3.2 to 3.3.3 in /website (#2040)
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/3.3.2...3.3.3)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 09:20:45 -08:00
Joe Duncko
6e250f2877
Fix small typo in map.md (#2014) 2022-11-14 09:20:07 -08:00
Xiaoji Chen
a49b4e4fa0
Update event callback documentation (#1954) 2022-08-18 12:13:43 -07:00
Xiaoji Chen
80409dd4a7
Add callback to useControl hook (#1952) 2022-08-18 12:13:28 -07:00
dependabot[bot]
b1abd197da
Bump terser from 4.8.0 to 4.8.1 (#1927)
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-14 11:08:39 -07:00
dependabot[bot]
60020b4e64
Bump terser from 4.8.0 to 4.8.1 in /website (#1926)
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-14 11:08:31 -07:00
dependabot[bot]
260a901553
Bump parse-url from 6.0.0 to 6.0.2 (#1911)
Bumps [parse-url](https://github.com/IonicaBizau/parse-url) from 6.0.0 to 6.0.2.
- [Release notes](https://github.com/IonicaBizau/parse-url/releases)
- [Commits](https://github.com/IonicaBizau/parse-url/commits)

---
updated-dependencies:
- dependency-name: parse-url
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Xiaoji Chen <Pessimistress@users.noreply.github.com>
2022-08-14 11:08:21 -07:00
Xiaoji Chen
ba9396cfe0
Handle initialViewState.bounds when reusing map (#1923) 2022-07-20 17:52:39 -07:00
vivek
c46a26cb34
[doc] fix syntax error in example provided (#1912) 2022-07-20 12:54:00 -07:00
Xiaoji Chen
fceb5f7fcb
Fix queryTerrainElevation (#1922) 2022-07-20 12:53:33 -07:00
dependabot[bot]
7d89eb30fa
Bump jsdom from 15.2.1 to 16.5.0 (#1899)
Bumps [jsdom](https://github.com/jsdom/jsdom) from 15.2.1 to 16.5.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/15.2.1...16.5.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 20:35:55 -07:00
dependabot[bot]
b20ab2ad4f
Bump jpeg-js from 0.4.3 to 0.4.4 in /website (#1896)
Bumps [jpeg-js](https://github.com/eugeneware/jpeg-js) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/eugeneware/jpeg-js/releases)
- [Commits](https://github.com/eugeneware/jpeg-js/compare/v0.4.3...v0.4.4)

---
updated-dependencies:
- dependency-name: jpeg-js
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 20:35:46 -07:00
dependabot[bot]
0d5e46623e
Bump devcert from 1.1.3 to 1.2.2 in /website (#1891)
Bumps [devcert](https://github.com/davewasmer/devcert) from 1.1.3 to 1.2.2.
- [Release notes](https://github.com/davewasmer/devcert/releases)
- [Changelog](https://github.com/davewasmer/devcert/blob/master/CHANGELOG.md)
- [Commits](https://github.com/davewasmer/devcert/compare/v1.1.3...v1.2.2)

---
updated-dependencies:
- dependency-name: devcert
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 20:35:36 -07:00
dependabot[bot]
ffa287332b
Bump eventsource from 1.1.0 to 1.1.2 (#1890)
Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.1.0 to 1.1.2.
- [Release notes](https://github.com/EventSource/eventsource/releases)
- [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md)
- [Commits](https://github.com/EventSource/eventsource/compare/v1.1.0...v1.1.2)

---
updated-dependencies:
- dependency-name: eventsource
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 20:35:26 -07:00
Xiaoji Chen
f527028638
[fix] id in LayerProps should be optional (#1910) 2022-07-04 20:25:16 -07:00
Xiaoji Chen
8db441cb36
Fix terrain panning (#1894) 2022-06-17 10:14:55 -07:00
Xiaoji Chen
9dbe4f0f6c
Fire pointer events even if no interactive features are involved (#1895) 2022-06-17 10:14:43 -07:00
Xiaoji Chen
268b59849e
Update deckgl-overlay example (#1887) 2022-06-13 18:52:15 -07:00
Scott Rees
bedea6b547
Fix create react app builds with es2018 target (#1872) 2022-05-24 10:51:09 -07:00
Xiaoji Chen
d84d111dd1
Properly remove source on component unmount (#1866) 2022-05-23 11:02:20 -07:00
Xiaoji Chen
8c9886f750
Upgrade dev dependency to React 18 (#1865) 2022-05-19 22:10:15 -07:00
Daniel Sherman
ecb27c8d02
Fix MapProvider prop types (#1843) 2022-05-19 21:16:45 -07:00
Aidan H
7c71ed9b12
Changing npm test to yarn test in CONTRIBUTING.md for consistency (#1846) 2022-05-16 11:03:07 -07:00
Xiaoji Chen
bb9f1f45d8
Fix mismatched terrain between transforms (#1855) 2022-05-12 18:12:58 -07:00
Xiaoji Chen
b2bdb9148a
Use published types in geocoder and draw examples (#1838) 2022-04-21 11:58:54 -07:00
Xiaoji Chen
2e49a545c8
More robust add/remove condition checks (#1840) 2022-04-21 11:58:22 -07:00
Xiaoji Chen
1c391281a1
Fix Popup and GeolocateControl under React StrictMode (#1836) 2022-04-21 11:57:42 -07:00
Xiaoji Chen
048cb2099d
Fix rendering bug using terrain (#1841) 2022-04-21 11:49:13 -07:00
Jennifer Kirsch
8d44ea719a
Add info for checking if point is in viewport (#1804) 2022-04-20 15:14:56 -07:00
Aidan H
fe29cab13d
Fix small typo (#1829) 2022-04-20 15:14:31 -07:00