Hi ThinkGeo Forum,
I have been attempting to create a KML file with a list of MapShapes following an example I saw in a sample creating a kml file from a shapefile. I can successfully create a blank KML file with “KmlLayer.CreateKmlFile(strTempPath + “test.kml”)” but receive the error “The Layer must be opened before you can perform this method.” (as shown in the image) when I attempt to include the list of MapShapes. Any suggestions on how to fix this since executing the function this way it is impossible to open the Layer?
Thanks,
Neil