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

CustomProvider

3 Answers 81 Views
Map
This is a migrated thread and some comments may be shown as answers.
Pavel Ruslanovich Kovyev
Top achievements
Rank 1
Pavel Ruslanovich Kovyev asked on 13 Jun 2010, 09:32 AM
Добрый день.
В примере с форума я понял как создавать свой провайдер. Но в нем, единственное что я могу сделать - подсунуть url тайла. А как мне создавать свои тайлы прямо в silverlight? То есть вместо url подсовывать сгенерированный тайл? Для этого я так понимаю, что нужно знать края тайла (в градусах) чтобы знать какие объекты карты в нем рисовать. Ну и вообще - как его подсунуть в CustomProvider?

Good afternoon.
In the example from the forum I figured out how to create your provider. But in it, the only thing I can do - shove url of tile. And how do I create their tiles directly in silverlight? That is, instead of url tuck generated tile? For this, I understand that you need to know the edge tile (in degrees) to know what objects to draw cards in it. Well, in general - as his slip in CustomProvider?

3 Answers, 1 is accepted

Sort by
0
Accepted
Andrey
Telerik team
answered on 15 Jun 2010, 10:30 AM
Hello Pavel Ruslanovich Kovyev,

 Unfortunately you can’t do it in the Silverlight. The MultiScaleImage class (we use it to show tiles) accepts URLs only when work with tiles.

Best wishes,
Andrey Murzov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Pavel Ruslanovich Kovyev
Top achievements
Rank 1
answered on 15 Jun 2010, 01:35 PM
А если использовать в url ссылку типа http://localhost:4444, и в silverlight-е поднять что-то типа веб-сервера?
0
Andrey
Telerik team
answered on 16 Jun 2010, 10:13 AM
Hello Pavel Ruslanovich Kovyev,

The Silverlight is unable to create webserver on localhost for using URLs like http://localhost:4444. So, you should use a server-side application to generate tiles.

Greetings,
Andrey Murzov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Map
Asked by
Pavel Ruslanovich Kovyev
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Pavel Ruslanovich Kovyev
Top achievements
Rank 1
Share this question
or