*

Jack

  • **
  • 14 posts
Limit Mapbox Static Tiles API requests
« on: March 18, 2023, 06:17:11 PM »
Does anyone know how to setup the cache to limit Mapbox Static Tiles API requests? Or create even just a simple non-interactive jpg map, if it costs less.. ;)
Over 200,000 API requests per month the service is very expensive..

Thank you

*

MB Themes

Re: Limit Mapbox Static Tiles API requests
« Reply #1 on: March 18, 2023, 08:38:27 PM »
You must have a lot of visitors.
Solution coukd be "click to load map" that would probably limit requests by 90-95%
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Jack

  • **
  • 14 posts
Re: Limit Mapbox Static Tiles API requests
« Reply #2 on: March 19, 2023, 07:07:05 PM »
Thanks for the advice. I have now restricted the map view to only the vehicle and property categories  ;)
I don't have that many visitors and probably crawlers are counted as well.

On the Mapbox site I seem to have understood that if the map has a custom style it is not possible to create a map cache.

*

MB Themes

Re: Limit Mapbox Static Tiles API requests
« Reply #3 on: March 31, 2023, 02:48:05 PM »
What is "custom style" ?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots