TiledMapSource Uri to resource

3 posts, 0 answers
  1. SHELEPOV
    SHELEPOV avatar
    4 posts
    Member since:
    Jul 2014

    Posted 16 Dec 2014 Link to this post

    Hi all!
    I'm using custom TiledMapSource, which takes tiles from the file system.
    But I want to hide tiles from enduser and place them inside the resource pack of the application.

    I tried to set tile files to build action "Resource" and giving URI like "pack://application:,,,/MyAssemble;component/tiles/z0/0/x0/0/y0.png"
    But tiles doesn't appear on the map.

    Is it possible to store and use tiles from application resources ?
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2928 posts

    Posted 19 Dec 2014 Link to this post

    Hello Anton,

    We managed to reproduce this issue and we are currently investigating whether this is a bug or technical limitation of RadMap. We will follow you up later today in this thread. Thank you in advance for your patience.

    Regards,
    Petar Mladenov
    Telerik
     

    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.

     
  3. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2928 posts

    Posted 19 Dec 2014 Link to this post

    Hello Anton,

    We investigated the case and it appears that this scenario is currently not supported in RadMap. You can submit a feature request in our feedback portal and we will later approve it and log it in our system. It will be available for voting and the more votes it gets the bigger its development priority will be.

    The RadMap internally uses WebClient.DownLoadDataAsync (Uri uri)  method and it appears that it cannot work with pack uris. We will follow you up next week if we manage to find a possible workaround.

    Regards,
    Petar Mladenov
    Telerik
     

    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