Draw A Line To Map

4 posts, 1 answers
  1. volkan
    volkan avatar
    5 posts
    Member since:
    May 2008

    Posted 29 Nov 2010 Link to this post

    1-) I want to make a vehicles last locations similation. I am adding their past locations as a pin point and I want to combine them with lines.
    How can i do it ?
    2-) I wrote google sattalite provider and layer provider but i cant merge it.
     public override System.Collections.Generic.IEnumerable<MapMode> SupportedModes<br>        {<br>            get { return new Collection<MapMode>(); }<br>        }

    I thouth that i must use Supported modes but i dont know how can i do it ?
  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 01 Dec 2010 Link to this post

    Hi volkan,

    You can simply create a collection of the locations (LocationCollection), add points there and then use MapPolyline to show this collection as a polyline.

    Unfortunately we cannot support officially even custom implementations of the Google map providers, because it would brake Google map API license polices.

    Best regards,
    Andrey Murzov
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  3. DevCraft banner
  4. volkan
    volkan avatar
    5 posts
    Member since:
    May 2008

    Posted 06 Dec 2010 Link to this post

    I have a same problem our Map, Open street and Yahoo Map Porviders.
    Can you explain me  how to use following method ?

    public override System.Collections.Generic.IEnumerable<MapMode> SupportedModes 
            {
            }
     
  5. Answer
    Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 09 Dec 2010 Link to this post

    Hello volkan,

    The SupportedModes method should return available modes for the custom provider. Also the implementation of multimode custom provider should be able to create separate tile source instance for each available mode.
    Please see the overridden CustomOpenStreetMapProvider.GetSource method in attached custom open street multimode provider sample.

    Greetings,
    Andrey Murzov
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
Back to Top