-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize the download of the tiles #9
Comments
That's not quite so. Map is smart enough to download only a fragment (current viewport + some border around it). You can check it with demo and a zoom level >=4. But yes, all queued tiles remain even if you change zoom further.
I'm not sure I understand you. Map is completely responsible even if it has no tile image. Do you mean prioritizing tiles to those which fall into current viewport?
Yep, that's possible and seems not hard to implement |
…les when a tile with another zoom level is requested (as suggested in #9) to make map viewable ASAP when a user zooms in/out quickly through multiple levels. + TNetworkRequestQueue.DumbQueueOrder to return old behavior
The simplest is done, two are in TODO
|
If component download tiles it is difficult to move the map. |
Если Вы хотите, чтобы быстрее загружалась видимая часть карты, то измените в файле "osm.mapcontrol.pas" константы на: CacheImageDefTilesH=1; |
This is weird. Download is almost completely untied with map drawing. It should scroll smoothly regardless of the available tiles displaying stubs instead. What OS you're on? What happens if you disable network (or set non-existing proxy address)? For now you can shrink the cache as Alex said, this will reduce the number of tiles downloaded for each single view. Later this trick will become less actual (when tile prioritizing is done) |
@array81 I just checked fast panning with Demo. All glitches come from line |
Prioritizing done in 9f6e2dd |
Now if I click on zoom (+) many tiles the library download all tiles for all zoom number. Besides I have to wait for it to finish doing something else, for example pan.
Is possible change the library to:
The text was updated successfully, but these errors were encountered: