This question is locked. New answers and comments are not allowed.
Hi,
I'm looking into replacing InformationLayers in my application with VisualizationLayers, but I'm having trouble drawing lines.
Firstly, I'm looking for an alternative for the MapPolyLine I'm currently using to draw lines. According to what I've found, I should be using PolyLineData, but I can't get that to work at all, and I can't find any examples either.
Secondly, I'm currently using KML on a few layers as well.
This doesn't seem to work either, and I can't find any info or examples on this. The only info I can find always deals with InformationLayer...
Also, I need to be able to handle everything in code-behind (C#). Xaml is no use to me.
Any help would be much appreciated.
Kind regards,
Jeroen
I'm looking into replacing InformationLayers in my application with VisualizationLayers, but I'm having trouble drawing lines.
Firstly, I'm looking for an alternative for the MapPolyLine I'm currently using to draw lines. According to what I've found, I should be using PolyLineData, but I can't get that to work at all, and I can't find any examples either.
Secondly, I'm currently using KML on a few layers as well.
layer.ItemsSource = KmlReader.Read(routeModel.RouteSegmentXML1.KML);
This doesn't seem to work either, and I can't find any info or examples on this. The only info I can find always deals with InformationLayer...
Also, I need to be able to handle everything in code-behind (C#). Xaml is no use to me.
Any help would be much appreciated.
Kind regards,
Jeroen