Comments (1)
I believe this issue setting the accessToken is in fact a duplicate of #373 and that is was resolved with PR #374
I am however seeing a very similar error when attempting to set the customMapboxApiUrl on the map component.
ngx-mapbox-gl.mjs:767 Uncaught TypeError: Cannot set property config of [object Module] which has only a getter
at MapService.assign (ngx-mapbox-gl.mjs:767:1)
at ngx-mapbox-gl.mjs:34:1
at Object.next (Subscriber.js:123:1)
at Subscriber._next (Subscriber.js:63:1)
at Subscriber.next (Subscriber.js:34:1)
at throwIfEmpty.js:10:1
at OperatorSubscriber._this._next (OperatorSubscriber.js:11:1)
at Subscriber.next (Subscriber.js:34:1)
at take.js:12:1
at OperatorSubscriber._this._next (OperatorSubscriber.js:11:1)
I see that the Mapbox config.API_URL property has been changed to be a getter, and they have a baseApiUrl
option that can be set. I will submit a PR.
from ngx-mapbox-gl.
Related Issues (20)
- Extend `MapImageOptions` for stretchable images
- Angular v15 HOT 2
- Zoom in/out moves marker
- Rxjs 7.5.6?
- So, this library will not going to upgrade to Angular v15, right? HOT 3
- Fit the map between two points with two world map connected
- Demo site is broken HOT 3
- Is the project upgraded to angular 16? HOT 5
- Imports are immutable in JavaScript - esbuild error HOT 3
- mapCreate doesn't fire HOT 5
- Using mapbox cdn or other means of excluding mapbox from main bundle
- RTL support HOT 2
- Cannot assign to import "baseApiUrl" HOT 2
- The cursorStyle is not having any effect on the page.
- Angular 17 Support? HOT 8
- mgl-markers-for-clusters not rendering properly on lazy loaded routing
- mapbox-gl conflicting peer dependency
- Module not found: Can't resolve 'mapbox-gl' https://nextjs.org/docs/messages/module-not-found
- how to re render mgl-markers-for-cluster
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 ngx-mapbox-gl.