Skip to content

Commit 5a343a4

Browse files
Adding projection control and map instance logic (#132)
* adding the projection control * wip * fixed the projection control animation * Map class now has a better projection management * Projection control is now using the Map methods * linting * Projection documentation * isGlobeprojection to isGlobeProjection * udpate readme with new FOV built-in function
1 parent c87bba5 commit 5a343a4

28 files changed

+318
-20
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
# MapTiler SDK Changelog
22

33
## NEXT
4+
### New Features
5+
- New `MaptilerProjectionControl` to toggle globe/Mercator projection
6+
47
### Bug Fixes
58
- Navigation now relies on `Map` methods instead of `Transform` methods for bearing due to globe projection being available
69

710

11+
812
## 2.4.0
913
### New Features
1014
- Shows a warning message in the map container if WebGL context is lost

biome.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
},
3030
"linter": {
3131
"rules": {
32+
"style": {
33+
"noInferrableTypes": "off"
34+
},
3235
"suspicious": {
3336
"noExplicitAny": {
3437
"level": "off"

images/screenshots/fov_1.jpeg

568 KB
Loading

images/screenshots/fov_10.jpeg

572 KB
Loading

images/screenshots/fov_20.jpeg

586 KB
Loading

images/screenshots/fov_30.jpeg

583 KB
Loading

images/screenshots/fov_37.jpeg

586 KB
Loading

images/screenshots/fov_40.jpeg

589 KB
Loading

images/screenshots/fov_50.jpeg

579 KB
Loading

images/screenshots/fov_60.jpeg

793 KB
Loading

0 commit comments

Comments
 (0)