mapbox / mapbox/mapbox-maps-flutter
Mapbox cannot render without VPN
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 380
- Forks
- 204
- PR merge metrics
- No merged PRs in 30d
Description
our region, Mapbox is not rendering without vpn. It seems like this happens only in our region(Myanmar). So how can I work around on this issue. I have tried using custom styleUrl, default map style and setStyleJSON method.
```
Future setStyleJson() async {
String styleJson = await rootBundle.loadString("assets/style.json");
await mapBoxController!.style.setStyleJSON(styleJson);
superPrint("done");
}
```
my network calls to mapStyle got blocked.

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 by reproducing the map rendering failure in the Myanmar network environment and inspect the blocked mapStyle requests described in the issue. Compare the behavior of the custom style URL, default style, and setStyleJSON approaches; the work is done when a supported workaround or a confirmed external network limitation is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100