How to detect daily tile quota exceeded?
There is a support service which has a function that can be called to get the current tile count and tile limit. The tile count may be a cached value, but is likely to be accurate to within a few minutes. This function is probably best called when the page is first loaded to check if there are any tiles left and then display some form of error message. The service calls a user-supplied callback function that takes two integer parameters. To call the service: • … • var supportService = new OpenSpace.SupportService(); • supportService.getTileCount(tileCountResults); • …