Topic: API request savings

I will use Google API.
So I want to save API Request.
Which is mode more few Request?

When do Online Map request map data?
For example, Zoom up? Make cutom Marker? Map shift?

I will make sample for mobile.
And I want to have a navigation function in a certain area.
If I can have cache of the area,
I think I can save request and if I show route guidance on the map in Online,in offline User can use by GPS.
Can I have cache map data In advance?

You say in mobile case, recommend TileSet.
In my case, Which do you recommend?
And Why?What's so different between Texture and TileSet?

I have many question,but help me.

Re: API request savings

Hello.

Reading your questions, it seems to me that you have mixed requests for tiles and requests for the Google Webservices API.

Online Maps makes tile requests when needed for the current view.
By default, tiles are cached and the next request will use the cache tile.
The number of requests for tiles is the same for all modes, and depends only on the resolution of the map that you need.

You make all requests to the Webservices API yourself.
Online Maps provides you with only API for convenient use of these services.
The number of requests depends only on what services you will use and how you implement it.

Kind Regards,
Infinity Code Team.

Do not know the best way to thank the developer? Rate the asset in Asset Store!

Re: API request savings

I understand tiles request.....maybe.Sorry this system is difficult for me....

First time how do Online Map draw google map?
Which API do you use or not use?

When I zoom up, resolution change. At that moment Online Map request new resolution map data.
And I zoom down, Online Map have cache. So the next request will use the cache tile. OK?

If I have cache data in advance, if Online Map request google map API when launch , I think  I don't need to make a map request with the Google API when I launch the app again.
I can save map request.

Please point out if I am wrong.

Re: API request savings

Presets for all providers are provided for testing purposes and do not use any APIs.
A legal way to use Google Maps tiles is Tiles API.
https://developers.google.com/maps/documentation/tile/
This service is not for everyone, and access to it will most likely be very expensive.
So I recommend using any other tile provider.

Online Maps does not use any APIs automatically.
Requests to all webservices API you make yourself.
What I mean:
http://infinity-code.com/atlas/online-m … 20services

If the tile is in the cache, Online Maps will use it.
If the tile is not in the cache, Online Maps will make a request to download the tile.

Kind Regards,
Infinity Code Team.

Do not know the best way to thank the developer? Rate the asset in Asset Store!

Re: API request savings

I gradually understood.
If I don't call the API by myself, Online Map do not use API request!

I checked the others Topic.
Topic: Cache map tiles in script, to be used later when no internet access.
I think this case is similar to my case.
So how to get I cache data?

Re: API request savings

As written in that topic, I do not want to publish this script on the forum.
If you want to receive it, write me an email (support@infinity-code.com).

Kind Regards,
Infinity Code Team.

Do not know the best way to thank the developer? Rate the asset in Asset Store!

Re: API request savings

OK, I send E-mail.
Thank you so much!