Load offline map from tile package (tpk) file

2 posts, 0 answers
  1. Hafsa
    Hafsa avatar
    8 posts
    Member since:
    Mar 2013

    Posted 10 Feb 2015 Link to this post


    I have a local tile package file that has my basemap I can use in an offline application. A description of tile packages is given below:


    Is it possible to have a custom map provider to be able to read this file and load it into the RadMap control? I did not find any existing examples doing this. Any help would be appreciated, thanks!
  2. Martin Ivanov
    Martin Ivanov avatar
    1442 posts

    Posted 13 Feb 2015 Link to this post

    Hello Hafsa,

    The RadMap control does not provide a reader for .tpk files. You can see the supported formats in the Reading Map Shapes help article. Also, the map's provider works with requests to a service which should return the tile as an image. If you want to use the file locally you can host a service on the localhost and give the file to the custom provider through this service. However, you should convert the .tpk file to images, otherwise the map won't read anything.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top