Loading src/components/container/GeoStacApp.jsx +0 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,6 @@ let css = { * @component */ export default function GeoStacApp(props) { console.log(props); const [targetPlanet, setTargetPlanet] = React.useState("Mars"); const [footprintData, setFootprintData] = React.useState([]); Loading src/js/AstroMap.js +0 −2 Original line number Diff line number Diff line Loading @@ -10,7 +10,6 @@ import { getItemCollection, setCurrentPage, setFeatures, setNumberReturned } from "./ApiJsonCollection"; import { MY_JSON_MAPS } from "./layers"; /** Loading Loading @@ -227,7 +226,6 @@ export default L.Map.AstroMap = L.Map.extend({ this._radii["a"] = parseFloat(currentTarget["aaxisradius"] * 1000); this._radii["c"] = parseFloat(currentTarget["caxisradius"] * 1000); let jsonLayers = currentTarget.layers; console.log(jsonLayers['base']); for (let key of Object.keys(jsonLayers)){ layers[key] =jsonLayers[key].filter(function(currentLayer){ return currentLayer["projection"].toLowerCase() == projection.toLowerCase(); Loading Loading
src/components/container/GeoStacApp.jsx +0 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,6 @@ let css = { * @component */ export default function GeoStacApp(props) { console.log(props); const [targetPlanet, setTargetPlanet] = React.useState("Mars"); const [footprintData, setFootprintData] = React.useState([]); Loading
src/js/AstroMap.js +0 −2 Original line number Diff line number Diff line Loading @@ -10,7 +10,6 @@ import { getItemCollection, setCurrentPage, setFeatures, setNumberReturned } from "./ApiJsonCollection"; import { MY_JSON_MAPS } from "./layers"; /** Loading Loading @@ -227,7 +226,6 @@ export default L.Map.AstroMap = L.Map.extend({ this._radii["a"] = parseFloat(currentTarget["aaxisradius"] * 1000); this._radii["c"] = parseFloat(currentTarget["caxisradius"] * 1000); let jsonLayers = currentTarget.layers; console.log(jsonLayers['base']); for (let key of Object.keys(jsonLayers)){ layers[key] =jsonLayers[key].filter(function(currentLayer){ return currentLayer["projection"].toLowerCase() == projection.toLowerCase(); Loading