Location and name of cache file

Topics: General
Feb 1, 2013 at 2:22 PM
Hello

I am discovering your assembly... looks great !

In my app, the PC will be mainly offline ....

What is the default location of the cache file ? what's the name ? xxxxx.gmdb ? sqlite file ?

Best regards
Feb 1, 2013 at 2:58 PM
Ok .... I have found the default location and name of the cache file : "data.gmdb"

It has two tables quite easy to understand :
  • Tiles : id/x/y/zoom/type/cachetime
  • TilesData : id/tile
My concern is about the "type" field ..... it is an unsigned integer field. I would like to know the conversion table between the map providers and "type" field -> where can I find that information ?

What I would to do is to create my own cache files, with my own tiles, and display them using gmaps.

I have detected that : "OpenStreetMaps" = 1497893838, but for example : ??? = 1492776782 (that was already in the cache .... )

Plus, how can I tell to gmaps to use specific cache files with names different frome "data.gmbd" ?
Feb 2, 2013 at 11:56 AM
GMapProviders.OpenStreetMap.DbId, you can use that to manually delete unwanted types in database

p.s. you can use many cache files, every other database will be in read-only mode