cesium-unity icon indicating copy to clipboard operation
cesium-unity copied to clipboard

Limit Maps Tiles API Request AR App

Open NathalieTomas opened this issue 1 year ago • 4 comments

Hello,

We are currently developing an application using the Geospatial Creator API and the Cesium package to visualize objects in augmented reality. I added the Cesium license 5 hours ago and have used the augmented reality application three times at two different locations. However, I have already reached 20,000 requests on the Map Tiles API, making the 5 minutes of usage extremely expensive. Do you know how I can reduce these calls, considering that I do not need to visualize in the Unity editor and the usage is exclusively on a smartphone in AR?

Thank you for your help.

NathalieTomas avatar Jun 13 '24 22:06 NathalieTomas

@NathalieTomas I'm a bit confused by your question. According to my understanding, Google Photorealistic 3D Tiles is billed by root tile requests. In other words, fresh loads of the tileset. The number of requests for individual map tiles shouldn't matter.

kring avatar Jun 13 '24 23:06 kring

In case it helps: if you don't want to show a Cesium3DTileset in the Editor, you can set its updateInEditor property to false.

kring avatar Jun 13 '24 23:06 kring

I think I am in the same situation.

When I refresh to load tiles, the number of API requests reaches over 300. I would like to know if this is normal behavior and if there is any way to reduce the number of API requests.

yumemi333 avatar Jul 04 '24 07:07 yumemi333

@yumemi333 requesting 300+ individual tiles is normal, and shouldn't affect your billing. If you're seeing 300 requests for root.json, something is definitely wrong.

kring avatar Jul 24 '24 15:07 kring

I'm closing this issue, since it seems more like a question rather than a confirmed bug or feature request. In the future, please post questions on our community forum. Thank you!

j9liu avatar Sep 13 '24 21:09 j9liu