Comments (2)
Hello @ThatIsAPseudo , Thanks for your feeback. Originaly, the idea of MaptilerNavigationControl
was to provide something simple with no confusing options and that just does the minimum, and you're right, the documentation is not aligned with this and shows the options of the parent class MaptilerNavigation
instead.
The best would probably be that it accepts the same options though so I'll make a ticket for this.
from maptiler-sdk-js.
After some testing it needs some more tweaking this part :
maptiler-sdk-js/src/MaptilerNavigationControl.ts
Lines 15 to 35 in 3588c8e
with this :
if (this._compass) {
// original code
}
Then it seems to work as expected
from maptiler-sdk-js.
Related Issues (15)
- MaptilerNavigationControl not available in the maptiler-sdk.d.ts HOT 3
- Compact attribution control not working HOT 7
- An error occurred while adding the weather layer HOT 1
- Unable to build the SDK with angular 16 HOT 3
- type declaration for typescript not working properly. HOT 5
- toBounds is not a function HOT 2
- `fullscreenstart` and `fullscreenend` event missing HOT 3
- Text field of GeoJSON symbol layer not visible HOT 4
- support maplibre-gl-js v4 HOT 2
- Memory leak HOT 4
- Broken imports from maplibre-gl HOT 7
- Update @maptiler/weather HOT 4
- 404 for doc links in readme HOT 1
- Make maker PopUp clickable HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maptiler-sdk-js.