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

How to add a real-time map?

2 Answers 68 Views
Map
This is a migrated thread and some comments may be shown as answers.
Jason D
Top achievements
Rank 1
Veteran
Jason D asked on 28 Jun 2016, 05:00 PM

We are using a custom provider to display data. Tiles are created on the fly and it works well. We now want to add the ability to "play back" this data as it was captured from the device. This is basically the same concept as viewing real-time data, since the data will be trickling in, not all available at once.

I was thinking to use the UriImageProvider with an image the same size as the map window. I would update the image file as time goes on, when the zoom level changes, and when the user pans the map. Is this feasible or is there a better way? Will the map automatically update if the file changes?

2 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 01 Jul 2016, 09:08 AM
Hello Jason,

We miss many concrete implementation and requirement parts from your solution. If you are using Tiles - our TiledMapProviders have built-in tile caching mechanism. If you are using custom offline provider with images on the file system and you hesitate between TiledProvider and some sort of Image provider - I would say that there is no general best approach. We have no sample which edits the images runtime, so we would encourage you to test the different solutions in terms of memory, performance, code complexity etc.

I am not sure if editing an Image which is currently used by WPF element will be possible. But if is possible somehow, the same should be applicable in RadMap's UriImageProvider.

Regards,
Petar Mladenov
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Jason D
Top achievements
Rank 1
Veteran
answered on 05 Jul 2016, 04:07 PM
Ok. I'll experiment and report back. It may be some time.
Tags
Map
Asked by
Jason D
Top achievements
Rank 1
Veteran
Answers by
Petar Mladenov
Telerik team
Jason D
Top achievements
Rank 1
Veteran
Share this question
or