CustomProvider

4 posts, 1 answers
  1. Pavel Ruslanovich Kovyev
    Pavel Ruslanovich Kovyev avatar
    14 posts
    Member since:
    May 2010

    Posted 13 Jun 2010 Link to this post

    Добрый день.
    В примере с форума я понял как создавать свой провайдер. Но в нем, единственное что я могу сделать - подсунуть 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?

  2. Answer
    Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 15 Jun 2010 Link to this post

    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.
  3. DevCraft banner
  4. Pavel Ruslanovich Kovyev
    Pavel Ruslanovich Kovyev avatar
    14 posts
    Member since:
    May 2010

    Posted 15 Jun 2010 Link to this post

    А если использовать в url ссылку типа http://localhost:4444, и в silverlight-е поднять что-то типа веб-сервера?
  5. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 16 Jun 2010 Link to this post

    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.
Back to Top