This is a migrated thread and some comments may be shown as answers.

TiledMapSource Uri to resource

2 Answers 80 Views
Map
This is a migrated thread and some comments may be shown as answers.
SHELEPOV
Top achievements
Rank 1
SHELEPOV asked on 16 Dec 2014, 11:57 AM
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 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 19 Dec 2014, 10:48 AM
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.

 
0
Petar Mladenov
Telerik team
answered on 19 Dec 2014, 04:48 PM
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.

 
Tags
Map
Asked by
SHELEPOV
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or