mapbox / mapbox/mapbox-maps-flutter
how to add Raster source along with basic auth
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 380
- Forks
- 204
- PR merge metrics
- No merged PRs in 30d
Description
sometime rastersource WMS is behind some auth. basic auth is a common one.
I don't see any example to do this. not in docs, source code, test.
Closest
What is basic auth like
on js lib, we use transformRequest i don't know if we have api to do the same thing.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with example/integration_test/style/layer/raster_layer_test.dart, especially lines 19-24, and compare the requested behavior with the linked JavaScript transformRequest approach. Determine whether the Flutter API already exposes a way to add Basic Authentication to a WMS Raster source; done means the supported approach is documented or the missing capability is clearly scoped.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100