osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.68k stars 1.02k forks source link

Expire doesn't seem to work for own online map #17776

Closed Wikunia closed 1 year ago

Wikunia commented 1 year ago

Description

I've added my own tile server to OsmAnd+ with an expire time of one minute. Though changing the tiles on the tileserver will not get reflected on the app even after five minutes. I found this issue which should be solved but apparently doesn't seem to have fixed it for me: https://github.com/osmandapp/OsmAnd-iOS/issues/1838

How to reproduce

Add a new tile server with tileserver-gl and add an expire time of one minute and store as sqlite db, load the tiles, change the images on the tile server and open OsmAnd again.

Actual result

The tiles of the old version are shown until one clears the cache manually.

Expected result

The new tiles should be shown after a maximum of one minute

Environment OsmAnd Version: 4.5.8 Android/iOS version: Android 13 Device model: Pixel 6

Sonwon1 commented 1 year ago

Add me to the list, Rainviewer is not updating the radar maps.

DmitryAlexei commented 1 year ago

OsmAnd~ 4.6.0#871m, released: 2023-10-13

I tested using online map Google traffic. You can see on the video (look at the creation time), that SQLite files:

vshcherb commented 1 year ago

This is expected behavior