Closed tatianass closed 7 years ago
I found the answer:
name: 'MapBox Night',
active: false,
source: {
type: 'XYZ',
url: 'https://api.mapbox.com/styles/v1/tatianass/cj28xs19900002rpatmcj4i7g/tiles/256/{z}/{x}/{y}?access_token=<your key>'
}
}
I made my own map at mapbox studio and download it. But when I follow example 40, there's an error saying wrong formation. When I opened mapbox.geography-class.json, I could check that the file is very different from the json that I downloaded from mapbox website. So, how can I convert my json for the one that is working or there's another way to make it work?