Class MapboxStaticMap.Builder method styleId is not accepting custom style
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 438
- Forks
- 117
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
De javadoc for the method styleId in the class Class MapboxStaticMap.Builder states
either one of the styles defined inside StaticMapCriteria or a custom url pointing to a styled map made in Mapbox Studio
However I have not managed to make a working URL with a custom style url.
It seems it is not accepting custom styles at all.
In case I am doing something wrong: please provide an example. I am using the url 'mapbox://styles/wardromanus/ckupckn5620p317mrlk4edwdv' as parameter.
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 the Javadoc for MapboxStaticMap.Builder.styleId and the supplied Mapbox Studio URL. Check how custom style URLs are accepted or incorporated into the static-map request, then verify whether the URL works or the documentation needs to explain the valid format.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100