Topic: Mapbox API Usage Questions
Hello,
I'm using Online Maps with Mapbox as provider. I'm trying to make sense of the API usage. I'm seeing a lot of Vector Tiles API requests in the Mapbox Account statistics and I'm not completely sure where they are coming from. So a couple of questions where I hope you can help me clear it up for me.
I did set Mapbox with Type Map in the Online Maps prefab, however since I need the app to switch between different styles I actually also set the style from code doing something like this:
Using this url pattern:
https://api.mapbox.com/styles/v1/{userid}/{mapid}/tiles/256/{z}/{x}/{y}?events=true&access_token={accesstoken}
I create 3 OnlineMapsProvider.MapType objects that I add to OnlineMapsProvider and switch between them using OnlineMaps.instance.mapType = myStyle. Note also that I'm using the urlWithLabels setter for all 3 styles. Could you explain the difference between urlWithLabels and urlWithoutLabels?
Those 3 styles were created in the Mapbox designer. 1 of them is a satellite view, while the others are abstract looking. Can any of those be responsible for Vector API requests or are they all Raster API calls? I am, on the other hand, not seeing any Raster Tile API calls in the account statistics of the mapbox account.
Regards