examples/GeoJSONExporter.js
// Export the surface shapes on click and display them in a text box.
Export the surface shapes on click and display them in a text box.
Export the surface shapes on click and display them in a text box .
function onExportGeoJSON() {
            var exportedGeoJSON = WorldWind.GeoJSONExporter.exportRenderables(shapesLayer.renderables);
            document.getElementById("geoJSONTxtArea").value = exportedGeoJSON;
        }
function onExportGeoJSON ( ) { var exportedGeoJSON = WorldWind . GeoJSONExporter . exportRenderables ( shapesLayer . renderables ) ; document . getElementById ( "geoJSONTxtArea" ) . value = exportedGeoJSON ; }
Export the surface shapes on click and display them in a text box.
Export the surface shapes on click and display them in a text box .
// This is the actual export action.