|
abgibbs
|
|
|
Can you please provide an example on how to load a KML file as a layer onto the VE web control, I'm having a hard time figuring it out. I checked the sample website and tried using the TileLayer.aspx example (providing my KML as the TileSource) but no luck. How can I do this?
Thanks,
Aaron
|
|
|
|
Chris Pietschmann
|
|
The method for importing KML files as a Shape Layer is similar to importing GeoRSS files. Try the following example to import your KML file:
var shapeSource = new ShapeSourceSpecification(DataType.ImportXML, "KML File URL"); Map1.ImportShapeLayerData(shapeSource, true);
|
|
|