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

Draw A Line To Map

3 Answers 109 Views
Map
This is a migrated thread and some comments may be shown as answers.
volkan
Top achievements
Rank 1
volkan asked on 29 Nov 2010, 11:24 AM
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 ?

3 Answers, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 01 Dec 2010, 04:49 PM
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
0
volkan
Top achievements
Rank 1
answered on 06 Dec 2010, 10:31 AM
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 
        {
        }
 
0
Accepted
Andrey
Telerik team
answered on 09 Dec 2010, 08:19 AM
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
Tags
Map
Asked by
volkan
Top achievements
Rank 1
Answers by
Andrey
Telerik team
volkan
Top achievements
Rank 1
Share this question
or