Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to display a route line with multiple pushpins on a map using a KML file

$
0
0

This example demonstrates how to load a route line with multiple pushpins from a KML file and display these data on a map control.

To do this, create a KMLFileLoader object and assign it to the VectorLayer.ShapeLoader property. Then, specify the path to a KML file using the KmlFileLoader.FileUri property.

Note that if you run this sample as is, you will get a warning message saying that the specified Bing Maps key is invalid. To learn more about Bing Map keys, please refer to the How to: Get a Bing Maps Key tutorial.




Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>